[med-svn] [openmolar] 17/17: Fix build-depends and add another hack to d/rules to override the strange usage of pyversions instead of py3versions

Andreas Tille tille at debian.org
Sat Dec 17 19:03:28 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 0b614a5655125804405fe5ae7e80cbbbd23f6594
Author: Andreas Tille <tille at debian.org>
Date:   Sat Dec 17 20:02:09 2016 +0100

    Fix build-depends and add another hack to d/rules to override the strange usage of pyversions instead of py3versions
---
 debian/control | 6 ++++--
 debian/rules   | 6 +++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 7426ad5..e3cabea 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,10 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
-               python3-all
+               python3-all,
+               python3-setuptools,
+               python3-pyqt5,
+               pyqt5-dev-tools
 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
@@ -18,7 +21,6 @@ Depends: ${misc:Depends},
          ${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 f17009c..846ad96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,13 @@ override_dh_auto_clean:
 	python3 setup.py clean -a
 	find . -name __pycache__ -type d | xargs rm -rf
 
+override_dh_auto_build:
+	# No idea why this would call
+        #           python setup.py build --force
+	# without this override
+	python3 setup.py build --force
 
 override_dh_auto_install:
 	dh_auto_install -- \
             --install-lib=usr/share/$(PKG)/
 #            --install-scripts=usr/bin/
-

-- 
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