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

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Tue Mar 27 19:37:20 UTC 2012


    Date: Tuesday, March 27, 2012 @ 19:37:15
  Author: warsaw-guest
Revision: 20951

* debian/rules:
  - Build and install Python 3 versions via % expansion targets instead
    of for loops in override targets.
  - Remove test target debugging output when DEB_BUILD_OPTIONS=nocheck.
  - Remove questionable workaround for bug 618367.
  - Better override_dh_auto_clean rule so that the package can be built
    twice in a row.
* debian/control:
  - Rename flufl.i18n-docs to the more usual flufl.i18n-doc without
    adding transitional packages since it has never been in a stable
    release.
  - Bump standards-version to 3.9.3 without further changes.

Modified:
  packages/flufl.bounce/trunk/debian/changelog
  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-03-27 19:26:22 UTC (rev 20950)
+++ packages/flufl.bounce/trunk/debian/changelog	2012-03-27 19:37:15 UTC (rev 20951)
@@ -1,3 +1,20 @@
+flufl.bounce (2.1-2) UNRELEASED; urgency=low
+
+  * debian/rules:
+    - Build and install Python 3 versions via % expansion targets instead
+      of for loops in override targets.
+    - Remove test target debugging output when DEB_BUILD_OPTIONS=nocheck.
+    - Remove questionable workaround for bug 618367.
+    - Better override_dh_auto_clean rule so that the package can be built
+      twice in a row.
+  * debian/control:
+    - Rename flufl.i18n-docs to the more usual flufl.i18n-doc without
+      adding transitional packages since it has never been in a stable
+      release.
+    - Bump standards-version to 3.9.3 without further changes.
+
+ -- Barry Warsaw <barry at python.org>  Tue, 27 Mar 2012 15:28:09 -0400
+
 flufl.bounce (2.1-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/flufl.bounce/trunk/debian/control
===================================================================
--- packages/flufl.bounce/trunk/debian/control	2012-03-27 19:26:22 UTC (rev 20950)
+++ packages/flufl.bounce/trunk/debian/control	2012-03-27 19:37:15 UTC (rev 20951)
@@ -18,13 +18,15 @@
                python3-pkg-resources,
                python3-flufl.enum,
                python3-zope.interface
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 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
+Package: python-flufl.bounce-doc
 Architecture: all
 Section: doc
+Breaks: python-flufl.bounce-docs
+Replaces: python-flufl.bounce-docs
 Depends: ${sphinxdoc:Depends}, ${misc:Depends}
 Description: email bounce detectors (common documentation)
  This library provides a set of heuristics and an API for detecting the
@@ -38,7 +40,7 @@
 Depends: ${python:Depends},
          ${misc:Depends},
          python-pkg-resources
-Suggests: python-flufl.bounce-docs
+Suggests: python-flufl.bounce-doc
 Description: email bounce detectors (Python 2)
  This library provides a set of heuristics and an API for detecting the
  original bouncing email addresses from a bounce message.  Many formats found
@@ -49,7 +51,7 @@
 Depends: ${python3:Depends},
          ${misc:Depends},
          python3-pkg-resources
-Suggests: python-flufl.bounce-docs
+Suggests: python-flufl.bounce-doc
 Description: email bounce detectors (Python 3)
  This library provides a set of heuristics and an API for detecting the
  original bouncing email addresses from a bounce message.  Many formats found

Modified: packages/flufl.bounce/trunk/debian/rules
===================================================================
--- packages/flufl.bounce/trunk/debian/rules	2012-03-27 19:26:22 UTC (rev 20950)
+++ packages/flufl.bounce/trunk/debian/rules	2012-03-27 19:37:15 UTC (rev 20951)
@@ -11,23 +11,19 @@
 	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_build:
+build-python%:
+	python$* setup.py build
+
+override_dh_auto_build: $(PYTHON3:%=build-python%)
 	dh_auto_build
-	set -ex; for py in $(PYTHON3) ; do \
-		python$$py setup.py build; \
-	done;
 
-override_dh_auto_install:
+install-python%:
+	python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+
+override_dh_auto_install: $(PYTHON3:%=install-python%)
 	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
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k flufl/bounce/NEWS.rst
@@ -38,5 +34,5 @@
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -rf build/sphinx
+	rm -rf build
 	rm -rf *.egg-info




More information about the Python-modules-commits mailing list