Hello again, I'm attaching a patch showing the differences between the debian/ directories only as well.
Cheers. -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer | quadris...@ubuntu.com 0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A
changelog | 9 +++++++++ control | 28 +++++++++++++++++----------- python-portalocker.install | 1 + python-portalocker.install.off | 1 - rules | 21 ++++++++++++++++++++- rules.python3 | 36 ------------------------------------ 6 files changed, 47 insertions(+), 49 deletions(-) diff -Nru portalocker-0.4~ds0/debian/changelog portalocker-0.5~ds0.orig/debian/changelog --- portalocker-0.4~ds0/debian/changelog 2014-01-05 22:37:03.000000000 +0000 +++ portalocker-0.5~ds0.orig/debian/changelog 2014-04-30 11:41:45.863815966 +0100 @@ -1,3 +1,12 @@ +portalocker (0.5~ds0-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream release: + - Python3 support. + * Add Python3 package. + + -- Alessio Treglia <ales...@debian.org> Wed, 30 Apr 2014 11:31:17 +0100 + portalocker (0.4~ds0-2) unstable; urgency=low * New Maintainer (Closes: #726634). diff -Nru portalocker-0.4~ds0/debian/control portalocker-0.5~ds0.orig/debian/control --- portalocker-0.4~ds0/debian/control 2014-01-05 22:34:57.000000000 +0000 +++ portalocker-0.5~ds0.orig/debian/control 2014-04-30 11:34:04.447028708 +0100 @@ -4,9 +4,15 @@ Maintainer: Josue Ortega <josueort...@debian.org.gt> Build-Depends: debhelper (>= 9~), + dh-python, python-all, - python-setuptools + python-pytest, + python-setuptools, + python3-all, + python3-pytest, + python3-setuptools X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 Standards-Version: 3.9.5 Homepage: https://github.com/WoLpH/portalocker @@ -21,13 +27,13 @@ . This is the Python 2 version of the package. -#Package: python3-portalocker -#Architecture: all -#Depends: -# ${misc:Depends}, -# ${python3:Depends} -#Description: easy API to file locking (Python 3) -# Portalocker is a cross-platform library to provide -# an easy API to file locking. -# . -# This is the Python 3 version of the package. +Package: python3-portalocker +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends} +Description: easy API to file locking (Python 3) + Portalocker is a cross-platform library to provide + an easy API to file locking. + . + This is the Python 3 version of the package. diff -Nru portalocker-0.4~ds0/debian/python-portalocker.install portalocker-0.5~ds0.orig/debian/python-portalocker.install --- portalocker-0.4~ds0/debian/python-portalocker.install 1970-01-01 01:00:00.000000000 +0100 +++ portalocker-0.5~ds0.orig/debian/python-portalocker.install 2013-03-24 17:57:42.000000000 +0000 @@ -0,0 +1 @@ +usr/lib/python2* diff -Nru portalocker-0.4~ds0/debian/python-portalocker.install.off portalocker-0.5~ds0.orig/debian/python-portalocker.install.off --- portalocker-0.4~ds0/debian/python-portalocker.install.off 2013-03-24 17:57:42.000000000 +0000 +++ portalocker-0.5~ds0.orig/debian/python-portalocker.install.off 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -usr/lib/python2* diff -Nru portalocker-0.4~ds0/debian/rules portalocker-0.5~ds0.orig/debian/rules --- portalocker-0.4~ds0/debian/rules 2014-04-12 10:25:04.000000000 +0100 +++ portalocker-0.5~ds0.orig/debian/rules 2014-04-30 11:39:05.272759344 +0100 @@ -2,13 +2,32 @@ export REPACK_SH=$(CURDIR)/debian/repack.sh +PYTHON2=$(shell pyversions -vr) +PYTHON3=$(shell py3versions -vr) + %: - dh $@ --with python2 + dh $@ --with python2,python3 + + +# Skipping tests as upstream doesn't provide them along with the tarball +override_dh_auto_test: override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info +build-python%: + python$* setup.py build + +override_dh_auto_build: $(PYTHON3:%=build-python%) + dh_auto_build + +install-python%: + python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb + +override_dh_auto_install: $(PYTHON3:%=install-python%) + dh_auto_install + get-orig-source: uscan --force-download diff -Nru portalocker-0.4~ds0/debian/rules.python3 portalocker-0.5~ds0.orig/debian/rules.python3 --- portalocker-0.4~ds0/debian/rules.python3 2013-03-24 18:34:39.000000000 +0000 +++ portalocker-0.5~ds0.orig/debian/rules.python3 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ -#!/usr/bin/make -f - -export REPACK_SH=$(CURDIR)/debian/repack.sh - -PYTHON2=$(shell pyversions -vr) -PYTHON3=$(shell py3versions -vr) - -%: - dh $@ --with python2,python3 - -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) -test-python%: - python$* setup.py test -vv - -override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%) -endif - -build-python%: - python$* setup.py build - -override_dh_auto_build: $(PYTHON3:%=build-python%) - dh_auto_build - -install-python%: - python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb - -override_dh_auto_install: $(PYTHON3:%=install-python%) - dh_auto_install - -override_dh_auto_clean: - dh_auto_clean - rm -rf build - rm -rf *.egg-info - -get-orig-source: - uscan --force-download