[med-svn] [openmolar] 16/17: Now requires Python3

Andreas Tille tille at debian.org
Sat Dec 17 19:03:27 UTC 2016


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

tille pushed a commit to branch master
in repository openmolar.

commit 6c7f734b0d5fd6954226ed53a5c754e653acf8cc
Author: Andreas Tille <tille at debian.org>
Date:   Sat Dec 17 19:35:19 2016 +0100

    Now requires Python3
---
 debian/changelog |  3 ++-
 debian/control   | 11 ++++++-----
 debian/rules     | 10 +++++++++-
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1002428..546b4bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-openmolar (1.0.15-gd81f9e5-1) unstable; urgency=medium
+openmolar (1.0.15-gd81f9e5-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream version
@@ -8,6 +8,7 @@ openmolar (1.0.15-gd81f9e5-1) unstable; urgency=medium
   * debhelper 10
   * /mysql-server | mariadb-server/default-mysql-server | virtual-mysql-server/
     Closes: #848479
+  * Now requires Python3
 
  -- Andreas Tille <tille at debian.org>  Sat, 17 Dec 2016 19:04:06 +0100
 
diff --git a/debian/control b/debian/control
index 9b192c4..7426ad5 100644
--- a/debian/control
+++ b/debian/control
@@ -5,19 +5,20 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
-               python-all
+               python3-all
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/openmolar.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/openmolar.git
 Homepage: http://openmolar.com/om1
+X-Python3-Version: >= 3.3
 
 Package: openmolar
 Architecture: all
 Depends: ${misc:Depends},
-         ${python:Depends},
-         python-mysqldb,
-         python-qscintilla2,
-         python-qt4,
+         ${python3:Depends},
+         python3-mysqldb,
+         python3-qscintilla2,
+         python3-pyqt5,
          xdg-utils
 Suggests: default-mysql-server | virtual-mysql-server
 Description: dental practice management software
diff --git a/debian/rules b/debian/rules
index 1a70649..f17009c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,15 @@ PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
 PKG  = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
 
 %:
-	dh $@ --with python2
+	dh $@ --with python3
+
+override_dh_auto_clean:
+	# No idea why this would call
+        #   python setup.py clean -a
+	# without this override
+	python3 setup.py clean -a
+	find . -name __pycache__ -type d | xargs rm -rf
+
 
 override_dh_auto_install:
 	dh_auto_install -- \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/openmolar.git



More information about the debian-med-commit mailing list