minor problem in debian rules

Bug #1365814 reported by Hiroshi Miura
6
This bug affects 1 person
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_CONFIGURE_OPTIONS) \
- -m $(shell python$*-config --configdir) \
+ -m $(if $(filter 3.2, $*),/usr/lib/python$*/config,$(shell python$*-config --configdir)) \
    -d /usr/lib/python$*/dist-packages \
    --dbus /usr/include/dbus-1.0 \
    $(if $(filter $(DEFAULT_PYTHON),$*),,--no-designer-plugin --no-qml-plugin
)

Revision history for this message
Scott Kitterman (kitterman) wrote :

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.

Changed in pyqt5 (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Scott Kitterman (kitterman)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pyqt5 - 5.3.2+dfsg-1ubuntu1

---------------
pyqt5 (5.3.2+dfsg-1ubuntu1) utopic; urgency=medium

  * Fix a typo in debian/tests/control.
 -- Dmitry Shachnev <email address hidden> Tue, 16 Sep 2014 18:43:11 +0400

Changed in pyqt5 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.