From 80a8f4439107c448c09773288cb77245bff55ea9 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Wed, 16 May 2012 20:18:53 +0200 Subject: [PATCH] Switch to dh_python2 --- debian/control | 4 ++-- debian/pyversions | 1 - debian/rules | 7 +++++-- 3 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 debian/pyversions diff --git a/debian/control b/debian/control index 6b72c8d..43f003a 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,8 @@ Section: python Priority: optional Maintainer: Iustin Pop Build-Depends: debhelper (>= 7), - python-all (>= 2.6.2), python-all-dev (>= 2.6.2), python-all-dbg, - python-support (>= 0.6), libattr1-dev, python-setuptools, + python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-all-dbg, + libattr1-dev, python-setuptools, python-sphinx (>= 1.0.7+dfsg) | python3-sphinx Standards-Version: 3.9.3 Homepage: http://pyxattr.sourceforge.net/ diff --git a/debian/pyversions b/debian/pyversions deleted file mode 100644 index 8b253bc..0000000 --- a/debian/pyversions +++ /dev/null @@ -1 +0,0 @@ -2.4- diff --git a/debian/rules b/debian/rules index e6cfd0d..762b3e5 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,10 @@ export DH_OPTIONS PYVERS := $(shell pyversions -vr) -build: $(PYVERS:%=build-python%) build-indep +build: build-arch build-indep + touch $@ + +build-arch: $(PYVERS:%=build-python%) touch $@ build-python%: @@ -54,7 +57,7 @@ binary-arch: build install ln -s python-pyxattr debian/python-pyxattr-dbg/usr/share/doc/python-pyxattr-dbg dh_compress -X.js dh_fixperms - dh_pysupport + dh_python2 dh_installdeb dh_shlibdeps dh_gencontrol -- 2.39.2