[Python-apps-commits] r9564 - in packages/pychecker/trunk/debian (6 files)
pronovic at users.alioth.debian.org
pronovic at users.alioth.debian.org
Wed Apr 24 20:20:15 UTC 2013
Date: Wednesday, April 24, 2013 @ 20:20:13
Author: pronovic
Revision: 9564
Convert to debhelper7
Modified:
packages/pychecker/trunk/debian/README.Debian
packages/pychecker/trunk/debian/changelog
packages/pychecker/trunk/debian/copyright
packages/pychecker/trunk/debian/pychecker.dirs
packages/pychecker/trunk/debian/pychecker.install
packages/pychecker/trunk/debian/rules
Modified: packages/pychecker/trunk/debian/README.Debian
===================================================================
--- packages/pychecker/trunk/debian/README.Debian 2013-04-24 16:13:09 UTC (rev 9563)
+++ packages/pychecker/trunk/debian/README.Debian 2013-04-24 20:20:13 UTC (rev 9564)
@@ -1,8 +1,8 @@
The pychecker Python package is installed as a public package by the
-python-support infrastructure. This means that you can import pychecker
+dh_python2 infrastructure. This means that you can import pychecker
modules directly from any "current" version of Python. (The "current" version
-of Python is defined by the Debian Python policy and the python-support
-infrastructure. As of this writing, Python 2.5, 2.6 and 2.7 are current.)
+of Python is defined by the Debian Python policy and the dh_python2
+infrastructure. As of this writing, Python 2.6 and 2.7 are current.)
This package does still support use of $PYTHONVER on the command-line. You can
use this functionality to specify which version of Python the pychecker code
@@ -21,4 +21,4 @@
as everyone is aware that pychecker2 is not under active development.
Kenneth J. Pronovici <pronovic at debian.org>
-23 Jan 2011
+24 Apr 2013
Modified: packages/pychecker/trunk/debian/changelog
===================================================================
--- packages/pychecker/trunk/debian/changelog 2013-04-24 16:13:09 UTC (rev 9563)
+++ packages/pychecker/trunk/debian/changelog 2013-04-24 20:20:13 UTC (rev 9564)
@@ -1,3 +1,13 @@
+pychecker (0.8.19-7) unstable; urgency=low
+
+ * Convert debian/rules to debhelper7, overriding just a few standard targets.
+ * Update debian/README.debian to use dh_python2 rather than python-support.
+ * Modify debian/pychecker.dirs to properly use usr/share/pyshared.
+ * Modify debian/pychecker.install to install debian/wrapper as usr/bin/pychecker.
+ * Update debian/copyright to list 2013 as the copyright date on my changes.
+
+ -- Kenneth J. Pronovici <pronovic at debian.org> Wed, 24 Apr 2013 16:38:40 +0000
+
pychecker (0.8.19-6) unstable; urgency=low
* Bump standards version to 3.9.4.0; no packaging changes.
Modified: packages/pychecker/trunk/debian/copyright
===================================================================
--- packages/pychecker/trunk/debian/copyright 2013-04-24 16:13:09 UTC (rev 9563)
+++ packages/pychecker/trunk/debian/copyright 2013-04-24 20:20:13 UTC (rev 9564)
@@ -37,8 +37,8 @@
Files: debian/*
Copyright: 2001-2003 Arto Jantunen <viiru at debian.org>
- 2003-2012 Kenneth J. Pronovici <pronovic at debian.org>
- 2011-2012 Sandro Tosi <morph at debian.org>
+ 2003-2013 Kenneth J. Pronovici <pronovic at debian.org>
+ 2011-2013 Sandro Tosi <morph at debian.org>
License:
Copying and distribution of these files, with or without modification, is
permitted in any medium without royalty provided the copyright notice and
Modified: packages/pychecker/trunk/debian/pychecker.dirs
===================================================================
--- packages/pychecker/trunk/debian/pychecker.dirs 2013-04-24 16:13:09 UTC (rev 9563)
+++ packages/pychecker/trunk/debian/pychecker.dirs 2013-04-24 20:20:13 UTC (rev 9564)
@@ -1,2 +1,2 @@
usr/bin
-usr/share/python-support
+usr/share/pyshared
Modified: packages/pychecker/trunk/debian/pychecker.install
===================================================================
--- packages/pychecker/trunk/debian/pychecker.install 2013-04-24 16:13:09 UTC (rev 9563)
+++ packages/pychecker/trunk/debian/pychecker.install 2013-04-24 20:20:13 UTC (rev 9564)
@@ -1,2 +1,2 @@
-lib/pychecker/* usr/share/pyshared
-bin/pychecker usr/bin
+lib/pychecker/* usr/share/pyshared
+bin/pychecker usr/bin
Modified: packages/pychecker/trunk/debian/rules
===================================================================
--- packages/pychecker/trunk/debian/rules 2013-04-24 16:13:09 UTC (rev 9563)
+++ packages/pychecker/trunk/debian/rules 2013-04-24 20:20:13 UTC (rev 9564)
@@ -1,57 +1,23 @@
#!/usr/bin/make -f
-build_dir = build
-install_dir = debian/tmp
-results_files = test_expected/*.results
-setup = /usr/bin/python ./setup.py --quiet
+# Set to enable verbose output from debhelper
+#export DH_VERBOSE=1
-binary: binary-arch binary-indep
+install_dir = debian/tmp
-binary-arch:
+%:
+ dh $@ --with python2
-binary-indep: install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installman
- dh_installexamples
- dh_install --list-missing --sourcedir $(install_dir)
- dh_fixperms
+override_dh_compress:
dh_compress -X.py
- dh_python2
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-install: build
- dh_testdir
- dh_testroot
- dh_installdirs
- mkdir $(install_dir)/bin
- cp -f debian/wrapper $(install_dir)/bin/pychecker
+override_dh_auto_install:
+ mkdir -p $(install_dir)/bin
+ cp debian/wrapper $(install_dir)/bin/pychecker
+ dh_auto_install -- --root $(install_dir) --install-purelib lib/pychecker
-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
+override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
sh debian/regression.sh
endif
- touch build-stamp
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- $(setup) clean
- find . -name "*.pyc" | xargs rm -f
- find . -name "*.pyo" | xargs rm -f
- rm -f $(results_files) # no need to keep around past regression test failures
- rm -rf $(build_dir) $(install_dir)
- dh_clean
-
-.PHONY: binary binary-arch binary-indep install build build-arch build-indep clean
More information about the Python-apps-commits
mailing list