[Python-modules-commits] [pyodbc] 01/01: Fix the python3 -dbg package

Laurent Bigonville bigon at moszumanska.debian.org
Sun Jul 10 15:01:51 UTC 2016


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

bigon pushed a commit to branch master
in repository pyodbc.

commit dd90ba8d37e101cefefb473342364c19a28341b5
Author: Laurent Bigonville <bigon at bigon.be>
Date:   Sun Jul 10 14:30:07 2016 +0200

    Fix the python3 -dbg package
---
 debian/changelog | 7 +++++++
 debian/control   | 1 +
 debian/rules     | 8 ++++----
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0bc6b19..240cfe8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pyodbc (3.0.10-2) unstable; urgency=medium
+
+  * Team upload
+  * Fix the python3 -dbg package
+
+ -- Laurent Bigonville <bigon at debian.org>  Sun, 10 Jul 2016 16:42:35 +0200
+
 pyodbc (3.0.10-1) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/control b/debian/control
index ed9493f..4bd0f75 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: cdbs (>= 0.4.90~),
                unixodbc-dev
 Standards-Version: 3.9.8
 X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.2
 Homepage: http://mkleehammer.github.io/pyodbc/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyodbc.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyodbc.git
diff --git a/debian/rules b/debian/rules
index 7ce0a47..2e0dc52 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,12 +4,12 @@ include /usr/share/cdbs/1/class/python-distutils.mk
 
 build/python-pyodbc-dbg::
 	set -e; \
-	for i in $(cdbs_python_flavors); do \
+	for i in $(shell pyversions -r); do \
 		$$i-dbg ./setup.py build; \
 	done
 
 install/python-pyodbc-dbg::
-	for i in $(cdbs_python_flavors); do \
+	for i in $(shell pyversions -r); do \
 	$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-pyodbc-dbg; \
 	done
 	find debian/python-pyodbc-dbg \
@@ -23,12 +23,12 @@ binary-predeb/python-pyodbc-dbg::
 
 build/python3-pyodbc-dbg::
 	set -e; \
-	for i in $(cdbs_python3_flavors); do \
+	for i in $(shell py3versions -r); do \
 		$$i-dbg ./setup.py build; \
 	done
 
 install/python3-pyodbc-dbg::
-	for i in $(cdbs_python3_flavors); do \
+	for i in $(shell py3versions -r); do \
 	$$i-dbg ./setup.py install --root $(CURDIR)/debian/python3-pyodbc-dbg; \
 	done
 	find debian/python3-pyodbc-dbg \

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



More information about the Python-modules-commits mailing list