[packages/python-pyramid] new, version 1.4

glen glen at pld-linux.org
Sun Jan 27 20:04:12 CET 2013


commit ecdb4c29ccc77ae50d62236bb07d2130bcbeae2f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jan 27 21:02:33 2013 +0200

    new, version 1.4
    
    based on python template .spec

 python-pyramid.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
---
diff --git a/python-pyramid.spec b/python-pyramid.spec
new file mode 100644
index 0000000..e5459ec
--- /dev/null
+++ b/python-pyramid.spec
@@ -0,0 +1,85 @@
+#
+# Conditional build:
+%bcond_with	tests	# do not perform "make test"
+
+%define 	module	pyramid
+Summary:	The Pyramid web application development framework, a Pylons project
+Name:		python-%{module}
+Version:	1.4
+Release:	1
+License:	BSD-derived (http://www.repoze.org/LICENSE.txt)
+Group:		Libraries/Python
+Source0:	http://pypi.python.org/packages/source/p/pyramid/%{module}-%{version}.tar.gz
+# Source0-md5:	d72b664cf3852570faa44a81eb0e448b
+URL:		http://www.pylonsproject.org/
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%if %{with tests}
+BuildRequires:	python-PasteDeploy >= 1.5.0
+%endif
+Requires:	Zope-Deprecation >= 3.5.0
+Requires:	Zope-Interface >= 3.8.0
+Requires:	python-Mako >= 0.3.6
+Requires:	python-PasteDeploy >= 1.5.0
+Requires:	python-WebOb >= 1.2
+Requires:	python-chameleon >= 1.2.3
+Requires:	python-distribute
+Requires:	python-modules
+Requires:	python-repoze.lru >= 0.4
+Requires:	python-translationstring >= 0.4
+Requires:	python-venusian >= 1.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# solve this: http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2013-January/023404.html
+%define		_noautoreq	'pythonegg\\(webob\\)'
+
+%description
+Pyramid is a small, fast, down-to-earth, open source Python web
+application development framework. It makes real-world web application
+development and deployment more fun, more predictable, and more
+productive.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%{?with_tests:%{__python} setup.py test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc BFG_HISTORY.txt CHANGES.txt HACKING.txt HISTORY.txt LICENSE.txt README.rst TODO.txt
+%attr(755,root,root) %{_bindir}/bfg2pyramid
+%attr(755,root,root) %{_bindir}/pcreate
+%attr(755,root,root) %{_bindir}/prequest
+%attr(755,root,root) %{_bindir}/proutes
+%attr(755,root,root) %{_bindir}/pserve
+%attr(755,root,root) %{_bindir}/pshell
+%attr(755,root,root) %{_bindir}/ptweens
+%attr(755,root,root) %{_bindir}/pviews
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/config
+%{py_sitescriptdir}/%{module}/fixers
+%{py_sitescriptdir}/%{module}/scaffolds
+%{py_sitescriptdir}/%{module}/scripts
+%{py_sitescriptdir}/%{module}/*.py[co]
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyramid.git/commitdiff/ecdb4c29ccc77ae50d62236bb07d2130bcbeae2f



More information about the pld-cvs-commit mailing list