Control: tags 786019 + patch
Control: tags 786019 + pending

Dear maintainer,

I've prepared an NMU for python-flickrapi (versioned as 1.2-3.2) and
my sponsor will upload it to DELAYED/2. Please feel free to tell us if
we should delay it longer.

Regards.

Ross
diff -u python-flickrapi-1.2/debian/changelog python-flickrapi-1.2/debian/changelog
--- python-flickrapi-1.2/debian/changelog
+++ python-flickrapi-1.2/debian/changelog
@@ -1,3 +1,11 @@
+python-flickrapi (1.2-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Port from python-support to dh-python (Closes: #786019)
+  * Replace XS-Python-Version with X-Python-Version
+
+ -- Ross Gammon <[email protected]>  Mon, 19 Oct 2015 18:16:46 +0200
+
 python-flickrapi (1.2-3.1) unstable; urgency=low
 
   * Non-maintainer upload to get module working again.
diff -u python-flickrapi-1.2/debian/control python-flickrapi-1.2/debian/control
--- python-flickrapi-1.2/debian/control
+++ python-flickrapi-1.2/debian/control
@@ -2,9 +2,9 @@
 Section: python
 Priority: optional
 Maintainer: Thomas Schmidt <[email protected]>
-XS-Python-Version: all
-Build-Depends: debhelper (>= 5), python (>= 2.3.5-11), python-all-dev
-Build-Depends-Indep: python-setuptools, python-support (>= 0.6.4)
+X-Python-Version: >= 2.3.5-11
+Build-Depends: debhelper (>= 5), python, python-all-dev
+Build-Depends-Indep: python-setuptools, dh-python
 Standards-Version: 3.8.1
 Vcs-Git: git://git.geekbu.de/python-flickrapi/
 Vcs-Browser: http://git.geekbu.de/?p=python-flickrapi.git
diff -u python-flickrapi-1.2/debian/rules python-flickrapi-1.2/debian/rules
--- python-flickrapi-1.2/debian/rules
+++ python-flickrapi-1.2/debian/rules
@@ -1,14 +1,11 @@
 #!/usr/bin/make -f
-PYVERS=$(shell pyversions -r)
 d=debian/python-flickrapi
 
 build: 
 
 clean:
 	dh_testdir
-	for python in $(PYVERS); do  \
-	    $$python setup.py clean; \
-	done
+	python setup.py clean
 	rm -f `find $(CURDIR) -name '*.pyc'`
 	rm -rf build-stamp build
 	rm -rf $(d)
@@ -20,9 +17,7 @@
 	dh_testroot
 	dh_installdirs
 	set -e; \
-	for python in $(PYVERS); do \
-	    $$python setup.py install --root=$(d) --prefix=/usr ;\
-	done
+	python setup.py install --root=$(d) --prefix=/usr
 
 binary-indep: build install
 	dh_testdir
@@ -31,7 +26,7 @@
 	dh_installchangelogs
 	dh_compress -X.py
 	dh_fixperms
-	dh_pysupport
+	dh_python2
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums

Reply via email to