[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-782-gd639116

Holger Levsen holger at layer-acht.org
Mon Jun 18 21:14:28 UTC 2012


The following commit has been merged in the piatti branch:
commit 1b22f2f85272f74b8d04791846c0771a2d279398
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jun 18 16:52:29 2012 +0000

    Switch to debhelper8 packaging.
    
    Fixing lintian warnings the elegant way :-)

diff --git a/debian/changelog b/debian/changelog
index bcb6d95..b1f33b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ piuparts (0.45) UNRELEASED; urgency=low
     piuparts-common binary packages (Closes: #585861) and cleanup
     dependencies.
   * Update piuparts.NEWS about master+slave packages.
+  * Switch to debhelper8 packaging.
 
   [ David Steele ]
   * Remove debian/postinst as it was only dealing with lenny time area
diff --git a/debian/compat b/debian/compat
index 7f8f011..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+8
diff --git a/debian/control b/debian/control
index aef9d91..3d31b14 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,9 @@ Section: devel
 Priority: extra
 Standards-Version: 3.9.3
 Build-Depends:
- debhelper (>=7),
- python (>=2.6.6-3~)
+ debhelper (>=8),
+ python (>=2.6.6-3~),
+ python-support
 Build-Depends-Indep:
  asciidoc,
  git,
diff --git a/debian/rules b/debian/rules
index aeb3de2..ca9f505 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,39 +3,16 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build-arch:
-build-indep:
-build:
+%:
+	dh $@ --with python-support
 
-clean:
-	dh_testdir
-	dh_testroot
-	$(MAKE) clean
-	dh_clean
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr etcdir=$(CURDIR)/debian/tmp/etc all
-	dh_install
-	dh_installman --sourcedir=debian/piuparts
-	dh_link
+override_dh_auto_build:
+	# do nothing
+
+override_dh_auto_test:
+	echo "unittests are disabled as they haven't been run at build time since years and thus are broken..."
 
-binary-arch:
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_python2
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+override_dh_auto_install:
+	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr etcdir=$(CURDIR)/debian/tmp/etc all
 
-binary: binary-arch binary-indep
-.PHONY: build clean binary-arch binary-indep binary install

-- 
piuparts git repository



More information about the Piuparts-commits mailing list