tags 616936 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for photon (versioned as 0.4.6-3.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru photon-0.4.6/debian/changelog photon-0.4.6/debian/changelog
--- photon-0.4.6/debian/changelog	2010-12-04 15:15:28.000000000 +0100
+++ photon-0.4.6/debian/changelog	2013-06-01 14:35:16.000000000 +0200
@@ -1,3 +1,10 @@
+photon (0.4.6-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Convert to dh_python2 (Closes: #616936).
+
+ -- Luca Falavigna <[email protected]>  Sat, 01 Jun 2013 14:34:59 +0200
+
 photon (0.4.6-3) unstable; urgency=low
 
   *  Patch that enables use of fully capitalized filenames. Thanks to Markku
diff -Nru photon-0.4.6/debian/control photon-0.4.6/debian/control
--- photon-0.4.6/debian/control	2010-11-25 13:31:31.000000000 +0100
+++ photon-0.4.6/debian/control	2013-06-01 14:34:29.000000000 +0200
@@ -2,8 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Kevin Coyner <[email protected]>
-Build-Depends: debhelper (>= 8), python-all, python-central (>= 0.5.6), quilt (>= 0.48)
-XS-Python-Version: current
+Build-Depends: debhelper (>= 8), python-all (>= 2.6.6-3~), quilt (>= 0.48)
 Standards-Version: 3.9.1
 Homepage: http://www.saillard.org/programs_and_patches/photon/
 
@@ -11,7 +10,6 @@
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-imaging
 Recommends: gimp, dcraw
-XB-Python-Version: ${python:Versions}
 Description: a static HTML gallery generator
  A Python based photo album generator with a clean design that is run from the
  command line. HTML output can be configured via templates.
diff -Nru photon-0.4.6/debian/pycompat photon-0.4.6/debian/pycompat
--- photon-0.4.6/debian/pycompat	2010-11-25 12:11:23.000000000 +0100
+++ photon-0.4.6/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2
diff -Nru photon-0.4.6/debian/rules photon-0.4.6/debian/rules
--- photon-0.4.6/debian/rules	2010-11-25 13:34:46.000000000 +0100
+++ photon-0.4.6/debian/rules	2013-06-01 14:34:55.000000000 +0200
@@ -24,7 +24,7 @@
 	dh_prep
 	dh_installdirs
 	-find ./Photon/ -name "*.py" | xargs sed -i -e '1 s/^#\!.*python.*//'
-	python setup.py install --no-compile --prefix=$(CURDIR)/debian/photon/usr
+	python setup.py install --no-compile --prefix=$(CURDIR)/debian/photon/usr --install-layout=deb
 	install -m 644 debian/photon.override.lintian $(CURDIR)/debian/photon/usr/share/lintian/overrides/photon
 
 # Build architecture-independent files here.
@@ -37,7 +37,7 @@
 	dh_link
 	dh_compress
 	dh_fixperms
-	dh_pycentral
+	dh_python2
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums

Reply via email to