[Python-apps-commits] r11968 - in packages/webcheck/trunk/debian (8 files)

adejong at users.alioth.debian.org adejong at users.alioth.debian.org
Fri May 22 15:19:37 UTC 2015


    Date: Friday, May 22, 2015 @ 15:19:36
  Author: adejong
Revision: 11968

switch to dh for debian/rules and bump debhelper compatibility to 9

Added:
  packages/webcheck/trunk/debian/webcheck.docs
  packages/webcheck/trunk/debian/webcheck.install
  packages/webcheck/trunk/debian/webcheck.links
  packages/webcheck/trunk/debian/webcheck.manpages
Modified:
  packages/webcheck/trunk/debian/changelog
  packages/webcheck/trunk/debian/compat
  packages/webcheck/trunk/debian/control
  packages/webcheck/trunk/debian/rules

Modified: packages/webcheck/trunk/debian/changelog
===================================================================
--- packages/webcheck/trunk/debian/changelog	2015-05-22 15:16:18 UTC (rev 11967)
+++ packages/webcheck/trunk/debian/changelog	2015-05-22 15:19:36 UTC (rev 11968)
@@ -3,8 +3,9 @@
   * switch to non-native packaging
   * switch to dh_python2 (closes: #786270)
   * add <python-apps-team at lists.alioth.debian.org> to Uploaders
+  * switch to dh for debian/rules and bump debhelper compatibility to 9
 
- -- Arthur de Jong <adejong at debian.org>  Fri, 22 May 2015 17:16:00 +0200
+ -- Arthur de Jong <adejong at debian.org>  Fri, 22 May 2015 17:19:14 +0200
 
 webcheck (1.10.4) unstable; urgency=low
 

Modified: packages/webcheck/trunk/debian/compat
===================================================================
--- packages/webcheck/trunk/debian/compat	2015-05-22 15:16:18 UTC (rev 11967)
+++ packages/webcheck/trunk/debian/compat	2015-05-22 15:19:36 UTC (rev 11968)
@@ -1 +1 @@
-7
+9

Modified: packages/webcheck/trunk/debian/control
===================================================================
--- packages/webcheck/trunk/debian/control	2015-05-22 15:16:18 UTC (rev 11967)
+++ packages/webcheck/trunk/debian/control	2015-05-22 15:19:36 UTC (rev 11968)
@@ -4,7 +4,7 @@
 Maintainer: Arthur de Jong <adejong at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Standards-Version: 3.9.1
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: python (>= 2.6.6-3)
 X-Python-Version: >= 2.3
 Homepage: http://arthurdejong.org/webcheck/

Modified: packages/webcheck/trunk/debian/rules
===================================================================
--- packages/webcheck/trunk/debian/rules	2015-05-22 15:16:18 UTC (rev 11967)
+++ packages/webcheck/trunk/debian/rules	2015-05-22 15:19:36 UTC (rev 11968)
@@ -1,46 +1,7 @@
 #!/usr/bin/make -f
 
-export DH_VERBOSE=1
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
 
-PYBASE := usr/share/webcheck
-
-build:
-
-clean:
-	dh_testdir
-	dh_testroot
-	find . -name '*.py[co]' | xargs rm -f
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs $(PYBASE) $(PYBASE)/fancytooltips
-	find -name \*.py \
-	  | xargs cp --parents --target-directory debian/webcheck/$(PYBASE)
-	cp webcheck.css debian/webcheck/$(PYBASE)/webcheck.css
-	cp fancytooltips/fancytooltips.js debian/webcheck/$(PYBASE)/fancytooltips/fancytooltips.js
-	cp favicon.ico debian/webcheck/$(PYBASE)/favicon.ico
-	chmod 755 debian/webcheck/$(PYBASE)/webcheck.py
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_python2
-	dh_installdocs README TODO AUTHORS NEWS HACKING
-	dh_installman webcheck.1
-	dh_installchangelogs
-	dh_link $(PYBASE)/webcheck.py usr/bin/webcheck
-	dh_compress
-	dh_fixperms --exclude webcheck.py
-	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
+%:
+	dh $@ --with python2

Added: packages/webcheck/trunk/debian/webcheck.docs
===================================================================
--- packages/webcheck/trunk/debian/webcheck.docs	                        (rev 0)
+++ packages/webcheck/trunk/debian/webcheck.docs	2015-05-22 15:19:36 UTC (rev 11968)
@@ -0,0 +1,5 @@
+AUTHORS
+HACKING
+NEWS
+README
+TODO

Added: packages/webcheck/trunk/debian/webcheck.install
===================================================================
--- packages/webcheck/trunk/debian/webcheck.install	                        (rev 0)
+++ packages/webcheck/trunk/debian/webcheck.install	2015-05-22 15:19:36 UTC (rev 11968)
@@ -0,0 +1,8 @@
+*.py                /usr/share/webcheck
+favicon.ico         /usr/share/webcheck
+webcheck.css        /usr/share/webcheck
+fancytooltips/*.js  /usr/share/webcheck/fancytooltips
+parsers/*.py        /usr/share/webcheck/parsers
+parsers/html/*.py   /usr/share/webcheck/parsers/html
+plugins/*.py        /usr/share/webcheck/plugins
+schemes/*.py        /usr/share/webcheck/schemes

Added: packages/webcheck/trunk/debian/webcheck.links
===================================================================
--- packages/webcheck/trunk/debian/webcheck.links	                        (rev 0)
+++ packages/webcheck/trunk/debian/webcheck.links	2015-05-22 15:19:36 UTC (rev 11968)
@@ -0,0 +1 @@
+/usr/share/webcheck/webcheck.py /usr/bin/webcheck

Added: packages/webcheck/trunk/debian/webcheck.manpages
===================================================================
--- packages/webcheck/trunk/debian/webcheck.manpages	                        (rev 0)
+++ packages/webcheck/trunk/debian/webcheck.manpages	2015-05-22 15:19:36 UTC (rev 11968)
@@ -0,0 +1 @@
+webcheck.1




More information about the Python-apps-commits mailing list