[Python-modules-commits] [forgetsql] 02/06: modernize packaging: dh compat 9 instead of cdbs, dh-python instead of python-support. Closes: #786111

Mattia Rizzolo mattia at mapreri.org
Sun Dec 13 14:56:34 UTC 2015


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

mattia pushed a commit to branch master
in repository forgetsql.

commit 80d297172164de36a6b188baa4be755fe64cd1d9
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Dec 13 14:32:32 2015 +0000

    modernize packaging: dh compat 9 instead of cdbs, dh-python instead of python-support.  Closes: #786111
---
 debian/compat   |  2 +-
 debian/control  |  3 +--
 debian/docs     |  3 +++
 debian/pycompat |  1 -
 debian/rules    | 12 ++----------
 5 files changed, 7 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 a45373d..609cca9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Morten Werner Forsbring <werner at debian.org>
-Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python (>= 2.3.5-10), python-support (>= 0.3)
+Build-Depends: debhelper (>= 9), python, dh-python
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/forgetsql.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/forgetsql.git
 Standards-Version: 3.8.4
@@ -13,7 +13,6 @@ Package: python-forgetsql
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
 Suggests: python-egenix-mxdatetime
-Provides: ${python:Provides}
 Description: Python module for easy SQL-database access
  forgetSQL is a Python module for accessing SQL databases by creating
  classes that maps SQL tables to objects, normally one class pr. SQL
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..d5aaf52
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+BUGS
+README
+TODO
diff --git a/debian/pycompat b/debian/pycompat
deleted file mode 100644
index 0cfbf08..0000000
--- a/debian/pycompat
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/debian/rules b/debian/rules
index bf9e17d..4647c9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,4 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM=pysupport
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-#include /usr/share/cdbs/1/rules/simple-patchsys.mk
-
-clean::
-	-find . -name \*pyc -exec rm -f {} \;
-#	-rm -rf locales
-
+%:
+	dh $@ --with python2

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



More information about the Python-modules-commits mailing list