minor problem in debian rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyqt5 (Ubuntu) |
Fix Released
|
Low
|
Scott Kitterman |
Bug Description
A debian control files in pyqt5 5.2.1 source in trusty has a minor problem.
It debian/control indicate dependency for python3-all-dev (>=3.2.3-6~) that is a version which debian released before.
Now debian/rules use 'python$*-config --configdir' to retrive configuration directory,
but '--configdir' option is supported from python3.3.
So debian/control should specify python3-all-dev (>=3.3) or similar.
There is no problem in Trusty because it is distributed with python3.3.
I found it when I try to back port it to precise for my PPA.
Here is my idea to detect python version in debian/rules :
--- a/debian/rules 2014-03-21 15:53:50.000000000 +0900
+++ b/debian/rules 2014-09-05 11:59:17.487988243 +0900
@@ -52,7 +52,7 @@
dh_testdir
mkdir -p build-$*
cd build-$* && python$* ../configure.py $(SHARED_
- -m $(shell python$*-config --configdir) \
+ -m $(if $(filter 3.2, $*),/usr/
-d /usr/lib/
--dbus /usr/include/
$(if $(filter $(DEFAULT_
)
We simplified debian/rules when python3.2 was dropped on purpose. I don't intend to put the python3.2 things back. You are correct about the minimum version though. I've bumped that in the DPMT svn repository in Debian and it will be included in the next upload.