* Maximiliano Curia <[email protected]>, 2010-07-31, 20:08:
The problem is that the packages compiles twice, once for every supported python version. But things like plugins have a static destination (not dependant of the python version), so its overwritten.
This is not bad per se, as long it's not the default version which is overwritten.
Makes sense.

I went this way. The attached patch simply reorders PYVERS, so that the default version is used as the last one.

--
Jakub Wilk
diff -u jppy-0.0.56/debian/rules jppy-0.0.56/debian/rules
--- jppy-0.0.56/debian/rules
+++ jppy-0.0.56/debian/rules
@@ -7,7 +7,8 @@
 export DH_OPTIONS
 
 DESTDIR := $(CURDIR)/debian/tmp
-PYVERS=$(shell pyversions -vr)
+PYVER=$(shell pyversions -vd)
+PYVERS=$(filter-out $(PYVER),$(shell pyversions -vr)) $(PYVER)
 
 configure: configure-stamp
 configure-stamp:

Attachment: signature.asc
Description: Digital signature

Reply via email to