[packages/python-pyramid_beaker] new, version 0.7
glen
glen at pld-linux.org
Sun Jan 27 22:24:39 CET 2013
commit 4f781c528702cd5e1d30767f32e0bba44a893bb5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jan 27 23:23:55 2013 +0200
new, version 0.7
based on python-pyramid.spec
python-pyramid_beaker.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
---
diff --git a/python-pyramid_beaker.spec b/python-pyramid_beaker.spec
new file mode 100644
index 0000000..1f96cf7
--- /dev/null
+++ b/python-pyramid_beaker.spec
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+%bcond_with tests # do not perform "make test"
+
+%define module pyramid_beaker
+Summary: Beaker session factory backend for Pyramid
+Name: python-%{module}
+Version: 0.7
+Release: 1
+License: BSD-derived (http://www.repoze.org/LICENSE.txt)
+Group: Libraries/Python
+Source0: http://pypi.python.org/packages/source/p/pyramid_beaker/%{module}-%{version}.tar.gz
+# Source0-md5: d72b664cf3852570faa44a81eb0e448b
+URL: http://docs.pylonsproject.org/projects/pyramid_beaker/
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-Beaker
+Requires: python-pyramid
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides a session factory for the Pyramid web framework backed by the
+Beaker sessioning system.
+
+%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} $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests.py*
+
+%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 CHANGES.txt LICENSE.txt
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+%{py_sitescriptdir}/%{module}-%{version}*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyramid_beaker.git/commitdiff/4f781c528702cd5e1d30767f32e0bba44a893bb5
More information about the pld-cvs-commit
mailing list