r2788 - in zope.interface/trunk/debian (5 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Fri Jun 20 19:35:48 UTC 2014
Date: Friday, June 20, 2014 @ 19:35:48
Author: barry
Revision: 2788
* Team upload.
* New upstream release. Closes: #740555
* d/control:
- Bumped Standards-Version to 3.9.5 with no other changes necessary.
- Updated Build-Depends.
- Added myself to Uploaders.
- Tweaked long descriptions.
- wrap-and-sort
* d/rules:
- Switch to --buildsystem=pybuild and simplify.
* d/compat: Bump to version 9.
* d/copyright: Added Files-Excluded header to prune pre-built Sphinx
artifacts in docs/_build from the original tarball.
Modified:
zope.interface/trunk/debian/changelog
zope.interface/trunk/debian/compat
zope.interface/trunk/debian/control
zope.interface/trunk/debian/copyright
zope.interface/trunk/debian/rules
Modified: zope.interface/trunk/debian/changelog
===================================================================
--- zope.interface/trunk/debian/changelog 2014-06-20 15:32:55 UTC (rev 2787)
+++ zope.interface/trunk/debian/changelog 2014-06-20 19:35:48 UTC (rev 2788)
@@ -1,3 +1,21 @@
+zope.interface (4.1.1-1) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * New upstream release. Closes: #740555
+ * d/control:
+ - Bumped Standards-Version to 3.9.5 with no other changes necessary.
+ - Updated Build-Depends.
+ - Added myself to Uploaders.
+ - Tweaked long descriptions.
+ - wrap-and-sort
+ * d/rules:
+ - Switch to --buildsystem=pybuild and simplify.
+ * d/compat: Bump to version 9.
+ * d/copyright: Added Files-Excluded header to prune pre-built Sphinx
+ artifacts in docs/_build from the original tarball.
+
+ -- Barry Warsaw <barry at debian.org> Fri, 20 Jun 2014 13:25:43 -0400
+
zope.interface (4.0.5-1) unstable; urgency=low
* Team upload.
Modified: zope.interface/trunk/debian/compat
===================================================================
--- zope.interface/trunk/debian/compat 2014-06-20 15:32:55 UTC (rev 2787)
+++ zope.interface/trunk/debian/compat 2014-06-20 19:35:48 UTC (rev 2788)
@@ -1 +1 @@
-7
+9
Modified: zope.interface/trunk/debian/control
===================================================================
--- zope.interface/trunk/debian/control 2014-06-20 15:32:55 UTC (rev 2787)
+++ zope.interface/trunk/debian/control 2014-06-20 19:35:48 UTC (rev 2788)
@@ -3,16 +3,19 @@
Priority: optional
Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
Uploaders: Brian Sutherland <brian at vanguardistas.net>,
- Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
- dpkg-dev (>= 1.16.1~),
+ Fabio Tranchitella <kobold at debian.org>,
+ Barry Warsaw <barry at debian.org>
+Build-Depends: debhelper (>= 9),
+ dh-python,
python-all-dev (>= 2.6.6-3~),
python-all-dbg,
python-setuptools,
+ python-zope.event,
python3-all-dev,
python3-all-dbg,
- python3-setuptools
-Standards-Version: 3.9.4
+ python3-setuptools,
+ python3-zope.event,
+Standards-Version: 3.9.5
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2
XS-Testsuite: autopkgtest
@@ -31,6 +34,8 @@
Interfaces are a mechanism for labeling objects as conforming to a given API
or contract. So, this package can be considered as implementation of the
Design By Contract methodology support in Python.
+ .
+ This is the Python 3 version.
Package: python-zope.interface-dbg
Priority: extra
@@ -60,6 +65,8 @@
Interfaces are a mechanism for labeling objects as conforming to a given API
or contract. So, this package can be considered as implementation of the
Design By Contract methodology support in Python.
+ .
+ This is the Python 3 version.
Package: python3-zope.interface-dbg
Priority: extra
Modified: zope.interface/trunk/debian/copyright
===================================================================
--- zope.interface/trunk/debian/copyright 2014-06-20 15:32:55 UTC (rev 2787)
+++ zope.interface/trunk/debian/copyright 2014-06-20 19:35:48 UTC (rev 2788)
@@ -2,6 +2,7 @@
Upstream-Name: zope.interface
Upstream-Contact: Zope Foundation and Contributors <zope-dev at zope.org>
Source: http://pypi.python.org/pypi/zope.interface
+Files-Excluded: docs/_build/*
Files: *
Copyright: (c) 2001-2010 Zope Foundation and Contributors.
Modified: zope.interface/trunk/debian/rules
===================================================================
--- zope.interface/trunk/debian/rules 2014-06-20 15:32:55 UTC (rev 2787)
+++ zope.interface/trunk/debian/rules 2014-06-20 19:35:48 UTC (rev 2788)
@@ -1,90 +1,18 @@
#!/usr/bin/make -f
+export PYBUILD_NAME=zope.interface
+
%:
- dh $@ --with python2 --with python3
+ dh $@ --with python2,python3 --buildsystem=pybuild
package=python-zope.interface
package3=python3-zope.interface
-include /usr/share/dpkg/architecture.mk
-ifneq ($(DEB_BUILD_MULTIARCH),$(DEB_HOST_MULTIARCH))
- SET_CROSS_ENV = PYTHONPATH=/usr/lib/python$$pv/plat-$(DEB_HOST_MULTIARCH)
-
- # FIXME: is this sufficient?
- SET_CROSS_ENV += _PYTHON_HOST_PLATFORM=$(DEB_HOST_GNU_CPU)
-endif
-
-override_dh_auto_clean:
- rm -rf build
- find -name __pycache__ | xargs -r rm -rf
- find -name '*.py[co]' | xargs -r rm -f
-
-override_dh_auto_build:
- set -xe; for pv in $(shell pyversions -vr); do \
- $(SET_CROSS_ENV) python$$pv setup.py build; \
- done
- set -xe; for pv in $(shell py3versions -sv); do \
- $(SET_CROSS_ENV) python$$pv setup.py build; \
- done
-
override_dh_auto_install:
- set -xe; \
- for pv in $(shell pyversions -vr); do \
- $(SET_CROSS_ENV) python$$pv setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/$(package); \
- done
- set -xe; \
- for pv in $(shell py3versions -vs); do \
- $(SET_CROSS_ENV) python$$pv setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/$(package3); \
- done
-
-override_dh_install:
- # remove C source
+ # Remove C sources.
find debian/$(package) -name '*.c' | xargs -r rm -f
- # remove debug symbols
- #rm debian/$(package)/usr/lib/python*/*-packages/zope/interface/_zope_interface_coptimizations_d.so
- # zope.interface provides the zope namespace __init__.py
- for pv in $(shell pyversions -vr debian/control); do \
- cp src/zope/__init__.py debian/$(package)/usr/lib/python$$pv/*-packages/zope/; \
- done
- # python-zope.interface-dbg package
- for pv in $(shell pyversions -vr debian/control); do \
- $(SET_CROSS_ENV) python$$pv-dbg setup.py install \
- --no-compile --single-version-externally-managed \
- $(py_setup_install_args) --root=debian/$(package)-dbg \
- --install-layout=deb; \
- done
- find debian/$(package)-dbg
- find debian/$(package)-dbg ! -type d ! -name '*.so' | xargs rm -f
- find debian/$(package)-dbg -depth -empty -exec rmdir {} \;
-
-
- # remove C source
find debian/$(package3) -name '*.c' | xargs -r rm -f
- # remove debug symbols
- #-rm debian/$(package3)/usr/lib/python3/dist-packages/zope/interface/_zope_interface_coptimizations_d.so
- # zope.interface provides the zope namespace __init__.py
- for py in $(shell py3versions -vs); do \
- cp src/zope/__init__.py debian/$(package3)/usr/lib/python3/dist-packages/zope/; \
- done
- # python3-zope.interface-dbg package
- for pv in $(shell py3versions -vs); do \
- $(SET_CROSS_ENV) python$$pv-dbg setup.py install \
- --no-compile --single-version-externally-managed \
- $(py_setup_install_args) --root=debian/$(package3)-dbg \
- --install-layout=deb; \
- done
- find debian/$(package3)-dbg
- find debian/$(package3)-dbg ! -type d ! -name '*.so' | xargs rm -f
- find debian/$(package3)-dbg -depth -empty -exec rmdir {} \;
-override_dh_gencontrol:
- dh_gencontrol
-
- # Workaround for dh_python3 not removing python-setuptools from requires.txt
- find debian/$(package3) -name requires.txt -exec sed -i '/^setuptools$$/d' {} \;
-
override_dh_installdocs:
dh_installdocs -p$(package) README.rst
dh_installdocs -p$(package)-dbg --link-doc=$(package)
@@ -93,9 +21,6 @@
dh_installdocs -p$(package3)-dbg --link-doc=$(package3)
override_dh_installchangelogs:
+ dh_installchangelogs
dh_installchangelogs -p$(package) CHANGES.rst
dh_installchangelogs -p$(package3) CHANGES.rst
-
-override_dh_strip:
- dh_strip -p$(package) --dbg-package=$(package)-dbg
- dh_strip -p$(package3) --dbg-package=$(package3)-dbg
More information about the pkg-zope-developers
mailing list