[Python-modules-commits] [simpletal] 03/06: modernize packaging: short dh format, dh compat 9, dh-python. Closes: #786044

Mattia Rizzolo mattia at mapreri.org
Tue Dec 15 00:31:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository simpletal.

commit 93a92e8ee7ae138475bdc79aae1a410c0ebad1c6
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Dec 15 00:28:03 2015 +0000

    modernize packaging: short dh format, dh compat 9, dh-python.  Closes: #786044
---
 debian/compat     |  2 +-
 debian/control    |  4 ++--
 debian/docs       |  5 +++++
 debian/pyversions |  1 -
 debian/rules      | 14 ++++----------
 5 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index e6955d3..a8ffbdd 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,14 @@
 Source: simpletal
 Section: python
 Priority: optional
-Build-Depends: python, cdbs (>= 0.4.42), debhelper (>= 5.0.37.2)
-Build-Depends-Indep: python-support (>= 0.3)
+Build-Depends: python, debhelper (>= 9), dh-python
 Maintainer: Igor Stroh <jenner at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Standards-Version: 3.7.2
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/simpletal.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/simpletal.git
 Homepage: http://www.owlfish.com/software/simpleTAL/
+X-Python-Version: >= 2.2
 
 Package: python-simpletal
 Architecture: all
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..026d0ea
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,5 @@
+README.txt
+documentation/html/
+documentation/style/
+documentation/templates/
+examples/
diff --git a/debian/pyversions b/debian/pyversions
deleted file mode 100644
index 9091367..0000000
--- a/debian/pyversions
+++ /dev/null
@@ -1 +0,0 @@
-2.2-
diff --git a/debian/rules b/debian/rules
index dc878fc..b631fe1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,7 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM=pysupport
+%:
+	dh $@ --with python2
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-DEB_INSTALL_CHANGELOGS_ALL  = Changes.txt
-DEB_INSTALL_DOCS_ALL += README.txt
-DEB_INSTALL_DOCS_python-simpletal += documentation/html documentation/style documentation/templates examples/
-clean::
-	-python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
-	find lib/ -type f -name "*.pyc" | xargs rm -f
+override_dh_installchangelogs:
+	dh_installchangelogs Changes.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/simpletal.git



More information about the Python-modules-commits mailing list