From 5328baf40968fac2cc2b676ca93b08a20849ba52 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Wed, 12 Aug 2009 21:52:40 +0200 Subject: [PATCH] Add quilt support to the package --- debian/control | 2 +- debian/patches/series | 0 debian/rules | 8 +++++--- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 debian/patches/series diff --git a/debian/control b/debian/control index 3546736..e91e224 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: python Priority: optional Maintainer: Iustin Pop Build-Depends: debhelper (>= 7), python (>= 2.3.5-11), python-all-dev (>= 2.3.5-11), - python-support (>= 0.6), libattr1-dev, python-setuptools, python-epydoc + python-support (>= 0.6), libattr1-dev, python-setuptools, python-epydoc, quilt Standards-Version: 3.8.0 Homepage: http://pyxattr.sourceforge.net/ Vcs-Browser: http://git.k1024.org/debian-pyxattr.git diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules index 9a74caa..023661f 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make + # This has to be exported to make some magic below work. export DH_OPTIONS @@ -16,7 +18,7 @@ PYVERS := $(shell pyversions -vr) build: $(PYVERS:%=build-python%) build-indep touch $@ -build-python%: +build-python%: $(QUILT_STAMPFN) python$* setup.py build touch $@ @@ -24,14 +26,14 @@ build-indep: ./setup.py build_ext -i && epydoc --config epydoc.conf touch $@ -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-arch-stamp build-indep #CONFIGURE-STAMP# rm -rf build html rm -f xattr.so rm -f $(PYVERS:%=build-python%) - dh_clean + dh_clean install: build $(PYVERS:%=install-python%) -- 2.39.5