Hi, In an effort to get rid of python-central I came across bug #617043. I noticed that in the Git repository a newer upstream version is available and a number of packaging improvements were done (amongst which switching to dh_python2).
A few things were missing tough. Attached is a patch (complete-switch-to-dh_python2.patch) relative to the Git version to complete the switch to dh_python2. I haven't been able to test it because the Git version currently FTBFS (see attached buikd.log.gz). The normal build log is too quiet about that (see dump-correct-build.log-on-failure.patch for a fix). I can also prepare an patch or even NMU for version 1:5.12-1.5 (currently in unstable) if you prefer. I furthermore saw that the changes in Git were pretty old and at least the latest NMUs are not in Git (and probably changes in those NMUs not merged). Btw, is there a particular reason this package isn't in the PMPT repository? A lot of Python modules are there and the collaborative maintenance works reasonably well (they use svn-buildpackage though instead of git-buildpackage). -- -- arthur - adej...@debian.org - http://people.debian.org/~adejong --
From ca8c6f57195ec12af8ce662289d7c412ffcedc73 Mon Sep 17 00:00:00 2001 From: Arthur de Jong <art...@arthurdejong.org> Date: Fri, 5 Jul 2013 22:49:11 +0200 Subject: [PATCH] Complete switch to dh_python2 --- debian/control | 4 +--- debian/pycompat | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 debian/pycompat diff --git a/debian/control b/debian/control index 405b1ac..ae20399 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends: autotools-dev, devscripts (>= 2.10.7~), python (>= 2.6.5), cdbs (>= 0.4.90~), - python-all-dev, + python-all-dev (>= 2.6.6-3~), debhelper (>= 6), dh-buildinfo, python-numpy, @@ -21,7 +21,6 @@ Build-Depends: autotools-dev, libboost-thread-dev, libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev Standards-Version: 3.8.3 -XS-Python-Version: all Homepage: http://www.vpython.org Vcs-Git: git://git.debian.org:/git/collab-maint/python-visual.git Vcs-Browser: http://git.debian.org/?p=collab-maint/python-visual.git @@ -30,7 +29,6 @@ Package: python-visual Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends} Suggests: ${cdbs:Suggests} -XB-Python-Version: ${python:Versions} Description: VPython 3D scientific visualization library Visual is a Python module for 3D scientific visualization. It offers real-time 3D output and is easily usable by novice programmers. diff --git a/debian/pycompat b/debian/pycompat deleted file mode 100644 index 0cfbf08..0000000 --- a/debian/pycompat +++ /dev/null @@ -1 +0,0 @@ -2 -- 1.8.3.2
build.log.gz
Description: GNU Zip compressed data
From 198b681d0bb590b485dbd418923ecfa20f897be8 Mon Sep 17 00:00:00 2001 From: Arthur de Jong <art...@arthurdejong.org> Date: Fri, 5 Jul 2013 22:51:30 +0200 Subject: [PATCH] Dump the correct build.log file on build failure --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 14dcd9f..7c4e111 100755 --- a/debian/rules +++ b/debian/rules @@ -37,7 +37,7 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^docs/visual/images/.*\.jpg|examples/flower12 DEB_CONFIGURE_EXTRA_FLAGS = --disable-docs --with-example-dir="/usr/share/doc/$(mainpkg)/examples" # Let build be silent but spit out errors if it fails -DEB_MAKE_BUILD_TARGET += || cat $(CURDIR)/src/build.log && false +DEB_MAKE_BUILD_TARGET += || cat $(CURDIR)/build/src/build.log && false #DEB_INSTALL_EXAMPLES_$(mainpkg) = examples/*.py DEB_COMPRESS_EXCLUDE = .py -- 1.8.3.2
signature.asc
Description: This is a digitally signed message part