r2746 - in zope.exceptions/trunk/debian (changelog rules)

menesis-guest at users.alioth.debian.org menesis-guest at users.alioth.debian.org
Tue Jul 16 09:00:31 UTC 2013


    Date: Tuesday, July 16, 2013 @ 09:00:31
  Author: menesis-guest
Revision: 2746

debian/rules: remove setuptools from requires.txt of python3 egg.

Modified:
  zope.exceptions/trunk/debian/changelog
  zope.exceptions/trunk/debian/rules

Modified: zope.exceptions/trunk/debian/changelog
===================================================================
--- zope.exceptions/trunk/debian/changelog	2013-07-16 08:58:49 UTC (rev 2745)
+++ zope.exceptions/trunk/debian/changelog	2013-07-16 09:00:31 UTC (rev 2746)
@@ -1,3 +1,9 @@
+zope.exceptions (4.0.6-2) UNRELEASED; urgency=low
+
+  * debian/rules: remove setuptools from requires.txt of python3 egg.
+
+ -- Gediminas Paulauskas <menesis at pov.lt>  Tue, 16 Jul 2013 00:12:45 +0300
+
 zope.exceptions (4.0.6-1) unstable; urgency=low
 
   * Team upload.

Modified: zope.exceptions/trunk/debian/rules
===================================================================
--- zope.exceptions/trunk/debian/rules	2013-07-16 08:58:49 UTC (rev 2745)
+++ zope.exceptions/trunk/debian/rules	2013-07-16 09:00:31 UTC (rev 2746)
@@ -2,7 +2,7 @@
 
 
 %:
-	dh --with python2 --with python3 $@
+	dh $@ --with python2,python3
 
 package=python-zope.exceptions
 package3=python3-zope.exceptions
@@ -27,6 +27,12 @@
 			--root $(CURDIR)/debian/$(package3); \
 	done
 
+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_installchangelogs:
 	dh_installchangelogs -p$(package) CHANGES.rst
 	dh_installchangelogs -p$(package3) CHANGES.rst




More information about the pkg-zope-developers mailing list