[Python-modules-commits] [python-pgspecial] 03/08: Add Python2 package python-pgspecial

ChangZhuo Chen czchen at moszumanska.debian.org
Wed Nov 25 11:01:19 UTC 2015


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

czchen pushed a commit to branch master
in repository python-pgspecial.

commit 47bc5ee4bdbe851ac20a626ec327b86b03081ee2
Author: ChangZhuo Chen (陳昌倬) <czchen at debian.org>
Date:   Wed Nov 25 18:26:38 2015 +0800

    Add Python2 package python-pgspecial
---
 debian/control | 13 ++++++++++++-
 debian/rules   |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index cda1c57..8b73b81 100644
--- a/debian/control
+++ b/debian/control
@@ -6,17 +6,28 @@ Build-Depends: debhelper (>= 9),
                dh-python,
                python3-all,
                python3-click,
+               python-all,
+               python-click,
 Standards-Version: 3.9.6
 Section: python
 Homepage: https://github.com/dbcli/pgspecial
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-pgspecial.git
 Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/python-pgspecial.git
 X-Python3-Version: >= 3.2
+X-Python-Version: >= 2.6
+
+Package: python-pgspecial
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Description: Meta-commands handler for Postgres Database (Python 2)
+ This package provides an API to execute meta-commands (AKA "special", or
+ "backslash commands") on PostgreSQL.
 
 Package: python3-pgspecial
 Architecture: all
 Depends: ${misc:Depends},
          ${python3:Depends},
-Description: Meta-commands handler for Postgres Database
+Description: Meta-commands handler for Postgres Database (Python 3)
  This package provides an API to execute meta-commands (AKA "special", or
  "backslash commands") on PostgreSQL.
diff --git a/debian/rules b/debian/rules
index af92a90..a0db1ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 export PYBUILD_NAME = pgspecial
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_clean:
 	rm -rf pgspecial.egg-info

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



More information about the Python-modules-commits mailing list