[Python-apps-commits] r2930 - in packages/bleachbit/trunk/debian (4 files)

dktrkranz-guest at users.alioth.debian.org dktrkranz-guest at users.alioth.debian.org
Mon May 11 23:27:03 UTC 2009


    Date: Monday, May 11, 2009 @ 23:27:03
  Author: dktrkranz-guest
Revision: 2930

Switch to debhelper 7

Modified:
  packages/bleachbit/trunk/debian/changelog
  packages/bleachbit/trunk/debian/compat
  packages/bleachbit/trunk/debian/control
  packages/bleachbit/trunk/debian/rules

Modified: packages/bleachbit/trunk/debian/changelog
===================================================================
--- packages/bleachbit/trunk/debian/changelog	2009-05-11 22:36:09 UTC (rev 2929)
+++ packages/bleachbit/trunk/debian/changelog	2009-05-11 23:27:03 UTC (rev 2930)
@@ -1,10 +1,11 @@
 bleachbit (0.4.2-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Switch to debhelper 7.
   * Refresh patches for new upstream release:
     - debian/patches/launcher
 
- -- Luca Falavigna <dktrkranz at ubuntu.com>  Mon, 11 May 2009 09:36:41 +0000
+ -- Luca Falavigna <dktrkranz at ubuntu.com>  Tue, 12 May 2009 01:02:09 +0200
 
 bleachbit (0.4.1-1) unstable; urgency=low
 

Modified: packages/bleachbit/trunk/debian/compat
===================================================================
--- packages/bleachbit/trunk/debian/compat	2009-05-11 22:36:09 UTC (rev 2929)
+++ packages/bleachbit/trunk/debian/compat	2009-05-11 23:27:03 UTC (rev 2930)
@@ -1 +1 @@
-6
+7

Modified: packages/bleachbit/trunk/debian/control
===================================================================
--- packages/bleachbit/trunk/debian/control	2009-05-11 22:36:09 UTC (rev 2929)
+++ packages/bleachbit/trunk/debian/control	2009-05-11 23:27:03 UTC (rev 2930)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Luca Falavigna <dktrkranz at ubuntu.com>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 6), quilt
+Build-Depends: debhelper (>= 7), quilt (>= 0.46-7)
 Build-Depends-Indep: python-support (>= 0.5.3), python (>= 2.4), gettext
 Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/bleachbit/trunk/

Modified: packages/bleachbit/trunk/debian/rules
===================================================================
--- packages/bleachbit/trunk/debian/rules	2009-05-11 22:36:09 UTC (rev 2929)
+++ packages/bleachbit/trunk/debian/rules	2009-05-11 23:27:03 UTC (rev 2930)
@@ -1,49 +1,17 @@
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
+%:
+	dh --with quilt $@
 
-build: patch build-stamp
-build-stamp:
-	dh_testdir
-	python $(CURDIR)/setup.py build --build-base=$(CURDIR)/debian/bleachbit/build
-	touch $@
+clean:
+	dh_quilt_unpatch
+	rm -fr build bleachbit-root.desktop
+	dh $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -fr build
-	dh_clean build-stamp bleachbit-root.desktop po/*.mo
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	python setup.py install --root=$(CURDIR)/debian/bleachbit
+override_dh_auto_install:
+	python setup.py install --root=$(CURDIR)/debian/bleachbit --install-lib=/usr/share/bleachbit
 	make -C po install DESTDIR=$(CURDIR)/debian/bleachbit
 	sed -e 's/Name=BleachBit/Name=BleachBit \(as root\)/' bleachbit.desktop > bleachbit-root.desktop && \
 	sed -i 's/TryExec=bleachbit/TryExec=su-to-root/' bleachbit-root.desktop && \
 	sed -i 's/Exec=bleachbit/Exec=su-to-root -X -c bleachbit/' bleachbit-root.desktop
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-	dh_installman debian/bleachbit.1
-	dh_installmenu
-	dh_install
-	dh_pysupport
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
-




More information about the Python-apps-commits mailing list