[Python-modules-commits] r20943 - in packages/flufl.lock/trunk/debian (changelog control rules)

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Tue Mar 27 15:49:55 UTC 2012


    Date: Tuesday, March 27, 2012 @ 15:49:54
  Author: warsaw-guest
Revision: 20943

* 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.lock-docs to the more usual flufl.lock-doc without
    adding transitional packages since it has never been in a stable
    release.
  - Add DM-Upload-Allowed.
  - Bump standards-version to 3.9.3 without further changes.

Modified:
  packages/flufl.lock/trunk/debian/changelog
  packages/flufl.lock/trunk/debian/control
  packages/flufl.lock/trunk/debian/rules

Modified: packages/flufl.lock/trunk/debian/changelog
===================================================================
--- packages/flufl.lock/trunk/debian/changelog	2012-03-27 15:07:31 UTC (rev 20942)
+++ packages/flufl.lock/trunk/debian/changelog	2012-03-27 15:49:54 UTC (rev 20943)
@@ -1,3 +1,21 @@
+flufl.lock (2.2-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.lock-docs to the more usual flufl.lock-doc without
+      adding transitional packages since it has never been in a stable
+      release.
+    - Add DM-Upload-Allowed.
+    - Bump standards-version to 3.9.3 without further changes.
+
+ -- Barry Warsaw <barry at python.org>  Tue, 27 Mar 2012 11:43:26 -0400
+
 flufl.lock (2.2-1) unstable; urgency=low
 
   * New upstream release.

Modified: packages/flufl.lock/trunk/debian/control
===================================================================
--- packages/flufl.lock/trunk/debian/control	2012-03-27 15:07:31 UTC (rev 20942)
+++ packages/flufl.lock/trunk/debian/control	2012-03-27 15:49:54 UTC (rev 20943)
@@ -14,13 +14,16 @@
                python3-all,
                python3-setuptools,
                python3-pkg-resources
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/flufl.lock/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/flufl.lock/trunk/
+DM-Upload-Allowed: yes
 
-Package: python-flufl.lock-docs
+Package: python-flufl.lock-doc
 Architecture: all
 Section: doc
+Breaks: python-flufl.lock-docs
+Replaces: python-flufl.lock-docs
 Depends: ${sphinxdoc:Depends}, ${misc:Depends}
 Description: NFS-safe file-based lock with timeouts (common documentation)
  This package provides an NFS-safe file-based locking algorithm influenced 
@@ -31,7 +34,7 @@
 Package: python-flufl.lock
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
-Suggests: python-flufl.lock-docs
+Suggests: python-flufl.lock-doc
 Description: NFS-safe file-based lock with timeouts (Python 2)
  This package provides an NFS-safe file-based locking algorithm influenced 
  by the GNU/Linux open(2) manpage, under the  description of the O_EXCL option.
@@ -39,7 +42,7 @@
 Package: python3-flufl.lock
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
-Suggests: python-flufl.lock-docs
+Suggests: python-flufl.lock-doc
 Description: NFS-safe file-based lock with timeouts (Python 3)
  This package provides an NFS-safe file-based locking algorithm influenced 
  by the GNU/Linux open(2) manpage, under the  description of the O_EXCL option.

Modified: packages/flufl.lock/trunk/debian/rules
===================================================================
--- packages/flufl.lock/trunk/debian/rules	2012-03-27 15:07:31 UTC (rev 20942)
+++ packages/flufl.lock/trunk/debian/rules	2012-03-27 15:49:54 UTC (rev 20943)
@@ -14,23 +14,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.lock.egg-info
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k flufl/lock/NEWS.rst
@@ -41,5 +37,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