r1701 - in zope.interface/trunk/debian (changelog rules)
Matthias Klose
doko at alioth.debian.org
Wed Aug 26 08:17:15 UTC 2009
Date: Wednesday, August 26, 2009 @ 08:17:14
Author: doko
Revision: 1701
zope.interface (3.5.1-5) unstable; urgency=low
* Don't include sources files in the binary package.
* Depend on python-pkg-resources instead of python-setuptools.
-- Matthias Klose <doko at debian.org> Wed, 26 Aug 2009 09:56:37 +0200
Modified:
zope.interface/trunk/debian/changelog
zope.interface/trunk/debian/rules
Modified: zope.interface/trunk/debian/changelog
===================================================================
--- zope.interface/trunk/debian/changelog 2009-08-25 18:06:24 UTC (rev 1700)
+++ zope.interface/trunk/debian/changelog 2009-08-26 08:17:14 UTC (rev 1701)
@@ -1,3 +1,10 @@
+zope.interface (3.5.1-5) unstable; urgency=low
+
+ * Don't include sources files in the binary package.
+ * Depend on python-pkg-resources instead of python-setuptools.
+
+ -- Matthias Klose <doko at debian.org> Wed, 26 Aug 2009 09:56:37 +0200
+
zope.interface (3.5.1-4) unstable; urgency=low
* Build a python-zope.interface.dbg package.
Modified: zope.interface/trunk/debian/rules
===================================================================
--- zope.interface/trunk/debian/rules 2009-08-25 18:06:24 UTC (rev 1700)
+++ zope.interface/trunk/debian/rules 2009-08-26 08:17:14 UTC (rev 1701)
@@ -21,6 +21,7 @@
find -iname '*.pyc' -exec rm -f {} \;
dh_clean
+# target overwritten
install: build
dh_testdir
dh_testroot
@@ -28,12 +29,14 @@
dh_installdirs
$(MAKE) -f debian/rules $(PYVERS:%=install-python%) $(PYVERS:%=install-dbg-python%)
+# target overwritten
install-dbg-python%:
python$*-dbg setup.py install --no-compile --single-version-externally-managed $(py_setup_install_args) --root=debian/$(package)-dbg --install-data=usr/lib/$(package)
find debian/$(package)-dbg
find debian/$(package)-dbg ! -type d ! -name '*.so' | xargs rm -f
find debian/$(package)-dbg -depth -empty -exec rmdir {} \;
+# target overwritten
binary-common:
dh_testdir
dh_testroot
@@ -63,3 +66,5 @@
debian/$(package)/$(call py_libdir,$*)/zope/__init__.py
(echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra docs) >> debian/$(package).substvars
(echo -n 'setuptools:Suggests=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --extra docs) >> debian/$(package).substvars
+ sed -i 's/python-setuptools/python-pkg-resources/g' debian/$(package).substvars
+ find debian/$(package) -name '*.c' | xargs -r rm -f
More information about the pkg-zope-commits
mailing list