[Python-modules-commits] r20059 - in packages/flufl.bounce/trunk/debian (6 files)

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Fri Jan 20 01:52:15 UTC 2012


    Date: Friday, January 20, 2012 @ 01:52:13
  Author: warsaw-guest
Revision: 20059

* New upstream release.
* Also build for Python 3.
* compat level 8

Added:
  packages/flufl.bounce/trunk/debian/python-flufl.bounce.install
  packages/flufl.bounce/trunk/debian/python3-flufl.bounce.install
Modified:
  packages/flufl.bounce/trunk/debian/changelog
  packages/flufl.bounce/trunk/debian/compat
  packages/flufl.bounce/trunk/debian/control
  packages/flufl.bounce/trunk/debian/rules

Modified: packages/flufl.bounce/trunk/debian/changelog
===================================================================
--- packages/flufl.bounce/trunk/debian/changelog	2012-01-20 00:23:24 UTC (rev 20058)
+++ packages/flufl.bounce/trunk/debian/changelog	2012-01-20 01:52:13 UTC (rev 20059)
@@ -1,3 +1,11 @@
+flufl.bounce (2.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Also build for Python 3.
+  * compat level 8
+
+ -- Barry Warsaw <barry at python.org>  Thu, 19 Jan 2012 20:15:23 -0500
+
 flufl.bounce (1.0.2-1) unstable; urgency=low
 
   [ Jakub Wilk ]

Modified: packages/flufl.bounce/trunk/debian/compat
===================================================================
--- packages/flufl.bounce/trunk/debian/compat	2012-01-20 00:23:24 UTC (rev 20058)
+++ packages/flufl.bounce/trunk/debian/compat	2012-01-20 01:52:13 UTC (rev 20059)
@@ -1 +1 @@
-7
+8

Modified: packages/flufl.bounce/trunk/debian/control
===================================================================
--- packages/flufl.bounce/trunk/debian/control	2012-01-20 00:23:24 UTC (rev 20058)
+++ packages/flufl.bounce/trunk/debian/control	2012-01-20 01:52:13 UTC (rev 20059)
@@ -4,24 +4,53 @@
 Homepage: http://launchpad.net/flufl.bounce
 Section: python
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Priority: optional
 Build-Depends: python-all (>= 2.6.6-3~),
                python-setuptools,
                python-sphinx (>= 1.0.7+dfsg-1~),
                python-flufl.enum,
                python-zope.interface,
-               debhelper (>= 7.0.50)
+               debhelper (>= 8),
+               python3-all,
+               python3-setuptools,
+               python3-flufl.enum,
+               python3-zope.interface
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/flufl.bounce/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/flufl.bounce/trunk/
 
+Package: python-flufl.bounce-docs
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: email bounce detectors
+ This library provides a set of heuristics and an API for detecting the
+ original bouncing email addresses from a bounce message.  Many formats found
+ in the wild are supported, as are VERP and RFC 3464 (DSN).
+ .
+ This is the common documentation package.
+
 Package: python-flufl.bounce
 Architecture: all
 Depends: ${python:Depends},
-         ${sphinxdoc:Depends},
          ${misc:Depends},
+         python-flufl.bounce-docs,
          python-pkg-resources
 Description: email bounce detectors
  This library provides a set of heuristics and an API for detecting the
  original bouncing email addresses from a bounce message.  Many formats found
  in the wild are supported, as are VERP and RFC 3464 (DSN).
+
+Package: python3-flufl.bounce
+Architecture: all
+Depends: ${python3:Depends},
+         ${misc:Depends},
+         python-flufl.bounce-docs,
+         python3-pkg-resources
+Description: email bounce detectors
+ This library provides a set of heuristics and an API for detecting the
+ original bouncing email addresses from a bounce message.  Many formats found
+ in the wild are supported, as are VERP and RFC 3464 (DSN).
+ .
+ This is the Python 3 version of the package.

Added: packages/flufl.bounce/trunk/debian/python-flufl.bounce.install
===================================================================
--- packages/flufl.bounce/trunk/debian/python-flufl.bounce.install	                        (rev 0)
+++ packages/flufl.bounce/trunk/debian/python-flufl.bounce.install	2012-01-20 01:52:13 UTC (rev 20059)
@@ -0,0 +1 @@
+usr/lib/python2*

Added: packages/flufl.bounce/trunk/debian/python3-flufl.bounce.install
===================================================================
--- packages/flufl.bounce/trunk/debian/python3-flufl.bounce.install	                        (rev 0)
+++ packages/flufl.bounce/trunk/debian/python3-flufl.bounce.install	2012-01-20 01:52:13 UTC (rev 20059)
@@ -0,0 +1 @@
+usr/lib/python3

Modified: packages/flufl.bounce/trunk/debian/rules
===================================================================
--- packages/flufl.bounce/trunk/debian/rules	2012-01-20 00:23:24 UTC (rev 20058)
+++ packages/flufl.bounce/trunk/debian/rules	2012-01-20 01:52:13 UTC (rev 20059)
@@ -1,20 +1,31 @@
 #!/usr/bin/make -f
 
 PYTHON2=$(shell pyversions -vr)
+PYTHON3=$(shell py3versions -vr)
 
 %:
-	dh $@ --with python2,sphinxdoc
+	dh $@ --with python2,python3,sphinxdoc
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 test-python%:
-	-
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	python$* setup.py test -vv
+
+override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
+else
+	@echo "nocheck set, skipping tests"
 endif
 
-override_dh_auto_test: $(PYTHON2:%=test-python%)
+override_dh_auto_build:
+	dh_auto_build
+	set -ex; for py in $(PYTHON3) ; do \
+		python$$py setup.py build; \
+	done;
 
 override_dh_auto_install:
 	dh_auto_install
+	set -ex; for py in $(PYTHON3) ; do \
+		python$$py setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+	done;
 	# Debian bug #618367
 	rm -rf debian/*/usr/lib/python*/*-packages/flufl.bounce.egg-info
 




More information about the Python-modules-commits mailing list