[Python-apps-commits] r7410 - in packages/pychecker/trunk/debian (6 files)

pronovic at users.alioth.debian.org pronovic at users.alioth.debian.org
Fri Aug 5 21:14:51 UTC 2011


    Date: Friday, August 5, 2011 @ 21:14:50
  Author: pronovic
Revision: 7410

Convert to dh_python2

Modified:
  packages/pychecker/trunk/debian/changelog
  packages/pychecker/trunk/debian/control
  packages/pychecker/trunk/debian/pychecker.install
  packages/pychecker/trunk/debian/rules
  packages/pychecker/trunk/debian/wrapper
Deleted:
  packages/pychecker/trunk/debian/pyversions

Modified: packages/pychecker/trunk/debian/changelog
===================================================================
--- packages/pychecker/trunk/debian/changelog	2011-08-05 18:37:28 UTC (rev 7409)
+++ packages/pychecker/trunk/debian/changelog	2011-08-05 21:14:50 UTC (rev 7410)
@@ -1,3 +1,17 @@
+pychecker (0.8.19-3) unstable; urgency=low
+
+  * Bump standards version to 3.9.2.0; no packaging changes.
+  * Fix Lintian warning: debian-rules-missing-recommended-target
+    - Restructure build, build-arch, build-indep targets in debian/rules
+  * Transition to dh_python2, since python-support is deprecated for Wheezy.
+    - Replace Build-Depends: python-support with python-all in debian/control
+    - Replace debian/pyversion with X-Python-Version: >= 2.1 in debian/control
+    - Replace call to 'dh_pysupport -d' with 'dh_python2' in debian/rules
+    - Replace python-support with pyshared in debian/pychecker.install
+    - Tweak comments in debian/wrapper to reflect dh_python2 paths
+
+ -- Kenneth J. Pronovici <pronovic at debian.org>  Fri, 05 Aug 2011 15:19:34 -0500
+
 pychecker (0.8.19-2) unstable; urgency=low
 
   * Transfer maintainership to Python Applications Packaging Team on alioth.

Modified: packages/pychecker/trunk/debian/control
===================================================================
--- packages/pychecker/trunk/debian/control	2011-08-05 18:37:28 UTC (rev 7409)
+++ packages/pychecker/trunk/debian/control	2011-08-05 21:14:50 UTC (rev 7410)
@@ -6,8 +6,9 @@
 Homepage: http://pychecker.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pychecker/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/pychecker/trunk
-Build-Depends: python-support (>= 0.3), debhelper(>= 7.0.1)
-Standards-Version: 3.9.1.0
+Build-Depends: debhelper (>= 7.0.1), python-all (>= 2.6.6-3~)
+Standards-Version: 3.9.2.0
+X-Python-Version: >= 2.1
 
 Package: pychecker
 Architecture: all

Modified: packages/pychecker/trunk/debian/pychecker.install
===================================================================
--- packages/pychecker/trunk/debian/pychecker.install	2011-08-05 18:37:28 UTC (rev 7409)
+++ packages/pychecker/trunk/debian/pychecker.install	2011-08-05 21:14:50 UTC (rev 7410)
@@ -1,2 +1,2 @@
-lib/pychecker     usr/share/python-support
+lib/pychecker/*   usr/share/pyshared
 bin/pychecker     usr/bin

Deleted: packages/pychecker/trunk/debian/pyversions
===================================================================
--- packages/pychecker/trunk/debian/pyversions	2011-08-05 18:37:28 UTC (rev 7409)
+++ packages/pychecker/trunk/debian/pyversions	2011-08-05 21:14:50 UTC (rev 7410)
@@ -1 +0,0 @@
-2.1-

Modified: packages/pychecker/trunk/debian/rules
===================================================================
--- packages/pychecker/trunk/debian/rules	2011-08-05 18:37:28 UTC (rev 7409)
+++ packages/pychecker/trunk/debian/rules	2011-08-05 21:14:50 UTC (rev 7410)
@@ -19,7 +19,7 @@
 	dh_install --list-missing --sourcedir $(install_dir)
 	dh_fixperms
 	dh_compress -X.py
-	dh_pysupport -d
+	dh_python2
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums
@@ -32,7 +32,9 @@
 	mkdir $(install_dir)/bin
 	cp -f debian/wrapper $(install_dir)/bin/pychecker
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp: 
 	dh_testdir
 	$(setup) build --build-base $(build_dir) install --no-compile --install-purelib $(install_dir)/lib/pychecker

Modified: packages/pychecker/trunk/debian/wrapper
===================================================================
--- packages/pychecker/trunk/debian/wrapper	2011-08-05 18:37:28 UTC (rev 7409)
+++ packages/pychecker/trunk/debian/wrapper	2011-08-05 21:14:50 UTC (rev 7410)
@@ -7,13 +7,13 @@
 #
 # Expect CHECKER_PATH to be something like:
 #
-#    /var/lib/python-support/pythonX.Y/pychecker/checker.py
+#    /usr/share/pyshared/pychecker/checker.py
 #
-# Its actual location will depend on how update-python-modules is implemented.
+# Its actual location will depend on how dh_python2 is implemented.
 #
 # This script also supports the use of $PYTHONVER as a way to select which
 # version of Python will be used to execute pychecker. This will only work for
-# versions of Python supported by python-support, but it's better than nothing.
+# versions of Python supported by dh_python2, but it's better than nothing.
 
 PYTHON="/usr/bin/python${PYTHONVER}"
 CHECKER_PATH=`${PYTHON} -c "from imp import find_module; print find_module('pychecker/checker')[1]"`




More information about the Python-apps-commits mailing list