From b58b5fb953f47b57609c3e273ae6bf3d7b8a6596 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 28 Jun 2008 23:19:01 +0200 Subject: [PATCH] Update the debian patch - debhelper compat 7 - policy 3.8.0 - newer pysupport --- debian/changelog | 9 +++++++++ debian/compat | 2 +- debian/control | 8 ++++---- debian/docs | 7 ++++--- debian/pyversions | 1 + debian/rules | 43 ++++++++++++++----------------------------- 6 files changed, 33 insertions(+), 37 deletions(-) create mode 100644 debian/pyversions diff --git a/debian/changelog b/debian/changelog index 11bd3ed..896d442 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +python-pylibacl (0.4.0-1) unstable; urgency=low + + * New Upstream Version + * Update to Policy 3.8.0 + * Update the rules file for newer pysupport version + * Update debhelper compat level to 7 + + -- Iustin Pop Sun, 29 Jun 2008 00:18:26 +0200 + python-pylibacl (0.3.0-1) unstable; urgency=low * New Upstream Version (more functionality implemented from libacl) diff --git a/debian/compat b/debian/compat index b8626c4..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +7 diff --git a/debian/control b/debian/control index 6e9cc25..65946d3 100644 --- a/debian/control +++ b/debian/control @@ -2,9 +2,10 @@ Source: python-pylibacl Section: python Priority: optional Maintainer: Iustin Pop -Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), - python-support (>= 0.3), libacl1-dev -Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 7), python (>= 2.3.5-11), python-all-dev (>= 2.3.5-11), + python-support (>= 0.6), libacl1-dev +Standards-Version: 3.8.0 +Homepage: http://pylibacl.sourceforge.net/ Package: python-pylibacl Architecture: any @@ -12,7 +13,6 @@ Depends: ${python:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Replaces: python2.3-pylibacl (<< 0.2.1-3.1), python2.4-pylibacl (<< 0.2.1-3.1) Conflicts: python2.3-pylibacl (<< 0.2.1-3.1), python2.4-pylibacl (<< 0.2.1-3.1) -XB-Python-Version: ${python:Versions} Description: module for manipulating POSIX.1e ACLs pylibacl is a Python interface to the libacl library. It allows manipulation of the POSIX.1e-compliant filesystem ACLs present diff --git a/debian/docs b/debian/docs index 4aeb0ab..7de3ddc 100644 --- a/debian/docs +++ b/debian/docs @@ -1,4 +1,5 @@ -README +IMPLEMENTATION NEWS -posix1e.txt -posix1e.html +PLATFORMS +README +html diff --git a/debian/pyversions b/debian/pyversions new file mode 100644 index 0000000..8b253bc --- /dev/null +++ b/debian/pyversions @@ -0,0 +1 @@ +2.4- diff --git a/debian/rules b/debian/rules index 555cdf8..7242af6 100755 --- a/debian/rules +++ b/debian/rules @@ -11,45 +11,30 @@ # This has to be exported to make some magic below work. export DH_OPTIONS -PYVERS := $(shell pyversions -r) +PYVERS := $(shell pyversions -vr) -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - - -#Architecture -build: build-arch build-indep +build: $(PYVERS:%=build-python%) build-indep + touch $@ -build-arch: build-arch-stamp -build-arch-stamp: configure-stamp - set -e; for py in $(PYVERS); do \ - $$py setup.py build; done +build-python%: + python$* setup.py build + touch $@ - touch build-arch-stamp - -build-indep: build-indep-stamp -build-indep-stamp: configure-stamp - touch build-indep-stamp +build-indep: + make doc + touch $@ clean: dh_testdir dh_testroot - rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP# + rm -f build-arch-stamp build-indep #CONFIGURE-STAMP# rm -rf build dh_clean -install: build - dh_testdir - dh_testroot - dh_clean -k -s - dh_installdirs -s +install: build $(PYVERS:%=install-python%) - set -e; for py in $(PYVERS); do \ - $$py setup.py install --root=$(CURDIR)/debian/python-pylibacl; \ - done - rm -rf $(CURDIR)/debian/python-pylibacl/usr/share/doc/pylibacl-0.2.2 +install-python%: + python$* setup.py install --root $(CURDIR)/debian/python-pylibacl # Build architecture-dependent files here. binary-arch: build install @@ -58,7 +43,7 @@ binary-arch: build install dh_installchangelogs dh_installdocs dh_strip - dh_compress + dh_compress -X.js dh_fixperms dh_pysupport dh_installdeb -- 2.39.2