[packages/Zope-Exceptions] new package
jajcus
jajcus at pld-linux.org
Tue Dec 27 13:09:10 CET 2016
commit 8e88bdb9a0d3d9b1dec8ea83c22f7bfbeb82a687
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Tue Dec 27 13:08:36 2016 +0100
new package
Needed by Zope-Testing. We don't want Zope-Testing to pull Zope.
Zope-Exceptions.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/Zope-Exceptions.spec b/Zope-Exceptions.spec
new file mode 100644
index 0000000..3888379
--- /dev/null
+++ b/Zope-Exceptions.spec
@@ -0,0 +1,44 @@
+Summary: Zope Exceptions
+Name: Zope-Exceptions
+Version: 4.0.8
+Release: 1
+License: ZPL 2.1
+Group: Libraries/Python
+Source0: https://pypi.python.org/packages/8f/b7/eba9eca6841fa47d9a30f71a602be7615bff4f8e11f85c2840b88a77c68a/zope.exceptions-4.0.8.tar.gz
+# Source0-md5: c6f9b3905a48ba0487f82d95fba71c0c
+URL: http://www.zope.org/
+BuildRequires: python >= 1:2.5
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.710
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains exception exceptions and implementations which are so
+general purpose that they don’t belong in Zope application-specific packages.
+
+%prep
+%setup -q -n zope.exceptions-%{version}
+
+%build
+%py_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py_install \
+ --install-purelib=%{py_sitedir} \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/zope/exceptions
+%{py_sitedir}/zope.exceptions-*.egg-info
+%{py_sitedir}/zope.exceptions-*-nspkg.pth
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Zope-Exceptions.git/commitdiff/8e88bdb9a0d3d9b1dec8ea83c22f7bfbeb82a687
More information about the pld-cvs-commit
mailing list