[Python-modules-commits] r20060 - in packages/flufl.lock/trunk/debian (7 files)

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Fri Jan 20 14:56:37 UTC 2012


    Date: Friday, January 20, 2012 @ 14:56:36
  Author: warsaw-guest
Revision: 20060

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

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

Modified: packages/flufl.lock/trunk/debian/changelog
===================================================================
--- packages/flufl.lock/trunk/debian/changelog	2012-01-20 01:52:13 UTC (rev 20059)
+++ packages/flufl.lock/trunk/debian/changelog	2012-01-20 14:56:36 UTC (rev 20060)
@@ -1,3 +1,11 @@
+flufl.lock (2.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Also build for Python 3.
+  * compat level 8
+
+ -- Barry Warsaw <barry at python.org>  Fri, 20 Jan 2012 09:20:10 -0500
+
 flufl.lock (2.1.1-1) unstable; urgency=low
 
   * Initial release (closes: #638859)

Modified: packages/flufl.lock/trunk/debian/compat
===================================================================
--- packages/flufl.lock/trunk/debian/compat	2012-01-20 01:52:13 UTC (rev 20059)
+++ packages/flufl.lock/trunk/debian/compat	2012-01-20 14:56:36 UTC (rev 20060)
@@ -1 +1 @@
-7
+8

Modified: packages/flufl.lock/trunk/debian/control
===================================================================
--- packages/flufl.lock/trunk/debian/control	2012-01-20 01:52:13 UTC (rev 20059)
+++ packages/flufl.lock/trunk/debian/control	2012-01-20 14:56:36 UTC (rev 20060)
@@ -4,18 +4,40 @@
 Homepage: http://launchpad.net/flufl.lock
 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~),
-               debhelper (>= 7.0.50)
+               debhelper (>= 8),
+               python3-all,
+               python3-setuptools
 Standards-Version: 3.9.2
 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/
 
+Package: python-flufl.lock-docs
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: yet another Python enumeration package
+ 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.
+ .
+ This is the common documentation package.
+
 Package: python-flufl.lock
 Architecture: all
-Depends: ${python:Depends}, ${sphinxdoc:Depends}, ${misc:Depends}
+Depends: ${python:Depends}, ${misc:Depends}, python-flufl.lock-docs
 Description: NFS-safe file-based lock with timeouts
  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.
+
+Package: python3-flufl.lock
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-flufl.lock-docs
+Description: NFS-safe file-based lock with timeouts
+ 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.
+ .
+ This is the Python 3 version of the package.

Added: packages/flufl.lock/trunk/debian/python-flufl.lock.install
===================================================================
--- packages/flufl.lock/trunk/debian/python-flufl.lock.install	                        (rev 0)
+++ packages/flufl.lock/trunk/debian/python-flufl.lock.install	2012-01-20 14:56:36 UTC (rev 20060)
@@ -0,0 +1 @@
+usr/lib/python2*

Modified: packages/flufl.lock/trunk/debian/python-flufl.lock.pyremove
===================================================================
--- packages/flufl.lock/trunk/debian/python-flufl.lock.pyremove	2012-01-20 01:52:13 UTC (rev 20059)
+++ packages/flufl.lock/trunk/debian/python-flufl.lock.pyremove	2012-01-20 14:56:36 UTC (rev 20060)
@@ -1,4 +1,4 @@
 flufl/lock/conf.py
-flufl/lock/README.txt
-flufl/lock/NEWS.txt
+flufl/lock/README.rst
+flufl/lock/NEWS.rst
 flufl.lock*.egg-info/SOURCES.txt

Added: packages/flufl.lock/trunk/debian/python3-flufl.lock.install
===================================================================
--- packages/flufl.lock/trunk/debian/python3-flufl.lock.install	                        (rev 0)
+++ packages/flufl.lock/trunk/debian/python3-flufl.lock.install	2012-01-20 14:56:36 UTC (rev 20060)
@@ -0,0 +1 @@
+usr/lib/python3

Modified: packages/flufl.lock/trunk/debian/rules
===================================================================
--- packages/flufl.lock/trunk/debian/rules	2012-01-20 01:52:13 UTC (rev 20059)
+++ packages/flufl.lock/trunk/debian/rules	2012-01-20 14:56:36 UTC (rev 20060)
@@ -1,22 +1,36 @@
 #!/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%:
 	python$* setup.py test -vv
 
-override_dh_auto_test: $(PYTHON2:%=test-python%)
+override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
+else
+	@echo "nocheck set, skipping tests"
+endif
 
+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.lock.egg-info
 
 override_dh_installchangelogs:
-	dh_installchangelogs -k flufl/lock/NEWS.txt
+	dh_installchangelogs -k flufl/lock/NEWS.rst
 
 override_dh_installdocs:
 	python setup.py build_sphinx




More information about the Python-modules-commits mailing list