tags 616936 + patch
thanks

Hi,

Attached is a patch that implements the switch to dh_python2.

Btw, have you considered putting photon in the Python Applications
Packaging Team (PAPT) repository?

Thanks,

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --
diff -Nauwir photon-0.4.6.orig/debian/control photon-0.4.6/debian/control
--- photon-0.4.6.orig/debian/control	2010-11-25 13:31:31.000000000 +0100
+++ photon-0.4.6/debian/control	2012-03-02 21:19:02.430534209 +0100
@@ -2,8 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: Kevin Coyner <kcoy...@debian.org>
-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 -Nauwir photon-0.4.6.orig/debian/pycompat photon-0.4.6/debian/pycompat
--- photon-0.4.6.orig/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 -Nauwir photon-0.4.6.orig/debian/rules photon-0.4.6/debian/rules
--- photon-0.4.6.orig/debian/rules	2010-11-25 13:34:46.000000000 +0100
+++ photon-0.4.6/debian/rules	2012-03-02 21:24:59.606525953 +0100
@@ -4,9 +4,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ --with quilt
-
-PYDEF   := $(shell pyversions -d)
+	dh $@ --with quilt,python2
 
 build:
 	touch build-stamp
@@ -37,7 +35,7 @@
 	dh_link
 	dh_compress
 	dh_fixperms
-	dh_pycentral
+	dh_python2
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to