[Python-modules-commits] r7914 - in packages/pyexiv2/trunk/debian (4 files)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Wed Mar 18 14:47:04 UTC 2009
Date: Wednesday, March 18, 2009 @ 14:47:03
Author: nijel
Revision: 7914
Migrate to dh to simplify debian/rules.
Modified:
packages/pyexiv2/trunk/debian/changelog
packages/pyexiv2/trunk/debian/compat
packages/pyexiv2/trunk/debian/control
packages/pyexiv2/trunk/debian/rules
Modified: packages/pyexiv2/trunk/debian/changelog
===================================================================
--- packages/pyexiv2/trunk/debian/changelog 2009-03-18 14:41:07 UTC (rev 7913)
+++ packages/pyexiv2/trunk/debian/changelog 2009-03-18 14:47:03 UTC (rev 7914)
@@ -16,8 +16,9 @@
* Upload to experimental because this requires new exiv2.
* Update debian/copyright (years, link to GPL-2).
* Switch from dpatch to quilt.
+ * Migrate to dh to simplify debian/rules.
- -- Michal ÄihaÅ <nijel at debian.org> Wed, 18 Mar 2009 15:40:59 +0100
+ -- Michal ÄihaÅ <nijel at debian.org> Wed, 18 Mar 2009 15:46:05 +0100
pyexiv2 (0.1.2-4) unstable; urgency=low
Modified: packages/pyexiv2/trunk/debian/compat
===================================================================
--- packages/pyexiv2/trunk/debian/compat 2009-03-18 14:41:07 UTC (rev 7913)
+++ packages/pyexiv2/trunk/debian/compat 2009-03-18 14:47:03 UTC (rev 7914)
@@ -1 +1 @@
-5
+7
Modified: packages/pyexiv2/trunk/debian/control
===================================================================
--- packages/pyexiv2/trunk/debian/control 2009-03-18 14:41:07 UTC (rev 7913)
+++ packages/pyexiv2/trunk/debian/control 2009-03-18 14:47:03 UTC (rev 7914)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Michal ÄihaÅ <nijel at debian.org>
Uploaders: Python Modules Packaging Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38),
+Build-Depends: debhelper (>= 7.0.50),
python-support (>= 0.5.3),
python-all-dev (>= 2.3.5-11),
python-all-dbg,
Modified: packages/pyexiv2/trunk/debian/rules
===================================================================
--- packages/pyexiv2/trunk/debian/rules 2009-03-18 14:41:07 UTC (rev 7913)
+++ packages/pyexiv2/trunk/debian/rules 2009-03-18 14:47:03 UTC (rev 7914)
@@ -7,37 +7,22 @@
PYVERSIONS=$(shell pyversions -v -r)
-build: build-stamp
+override_dh_auto_configure:
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
-
- # Build modules
+override_dh_auto_build:
set -e; \
for v in $(PYVERSIONS) ; do \
PYTHON=python$$v ; \
$$PYTHON /usr/bin/scons BOOSTLIB=boost_python-mt-py`echo $$v | tr -d .`; \
mv build build-$$v ; \
done
- touch $@
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
+override_dh_auto_clean:
scons -c
rm -rf build-*
rm -f .sconsign.dblite
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
+override_dh_auto_install:
set -e; \
for v in $(PYVERSIONS) ; do \
PYTHON=python$$v ; \
@@ -45,27 +30,26 @@
dh_install src/pyexiv2.py /usr/lib/$$PYTHON/site-packages/ ; \
done
+build: build-stamp
+
+build-stamp: $(QUILT_STAMPFN)
+ dh build
+ touch $@
+
+clean: unpatch
+ dh clean
+
+install: build
+ dh install
+
+
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installexamples
- dh_pysupport
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh binary-arch
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
More information about the Python-modules-commits
mailing list