From 2bbf62e306aed4845d9a00728bedd8682ddcc0d8 Mon Sep 17 00:00:00 2001 Message-Id: <2bbf62e306aed4845d9a00728bedd8682ddcc0d8.1714161410.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 21 Nov 2006 18:00:36 +0000 Subject: [PATCH] debian: Just build for the default version. Organization: Straylight/Edgeware From: Mark Wooding Debian's Pyrex doesn't work for 2.5 so we can't build for the others anyway. --- debian/control | 18 +----------------- debian/rules | 26 ++++---------------------- 2 files changed, 5 insertions(+), 39 deletions(-) diff --git a/debian/control b/debian/control index 6489aac..9928972 100644 --- a/debian/control +++ b/debian/control @@ -1,28 +1,12 @@ Source: python-getdate Section: python Priority: extra -Build-Depends: python, python2.3, python2.4 +Build-Depends: python Maintainer: Mark Wooding Standards-Version: 3.1.1 Package: python-getdate -Architecture: all -Depends: ${python:Depends} -Description: Python binding for date parser - This is a dummy package for making sure you have the right package for the - default Debian Python installation. - -Package: python2.3-getdate -Architecture: any -Depends: ${shlibs:Depends}, ${python:Depends} -Description: Python binding for date parser - This is a dummy package for making sure you have the right package for the - default Debian Python installation. - -Package: python2.4-getdate Architecture: any Depends: ${shlibs:Depends}, ${python:Depends} Description: Python binding for date parser - This is a dummy package for making sure you have the right package for the - default Debian Python installation. diff --git a/debian/rules b/debian/rules index c03e3e6..05e0fc0 100755 --- a/debian/rules +++ b/debian/rules @@ -2,13 +2,10 @@ export DH_COMPAT = 4 -DEFVERSION = 2.3 -VERSIONS = $(DEFVERSION) 2.4 - build: build-stamp build-stamp: - for v in $(VERSIONS); do python$$v setup.py build; done + python setup.py build touch build-stamp clean: @@ -17,23 +14,8 @@ clean: install: build dh_clean - for v in $(VERSIONS); do \ - python$$v setup.py build; \ - python$$v setup.py install --root=debian/python$$v-getdate; \ - done - mkdir -p debian/python-getdate - -binary-indep: install - dh_testdir -i - dh_testroot -i - dh_compress -i - dh_installdocs -i - dh_python -i - dh_gencontrol -i - dh_fixperms -i - dh_installdeb -i - dh_md5sums -i - dh_builddeb -i + python setup.py build + python setup.py install --root=debian/python-getdate binary-arch: install dh_testdir -a @@ -49,7 +31,7 @@ binary-arch: install dh_md5sums -a dh_builddeb -a -binary: binary-indep binary-arch +binary: binary-arch source: rm -rf dist/*.tar.gz dist/=deb= -- [mdw]