Your message dated Wed, 13 Jan 2016 03:46:11 +0000
with message-id <e1ajcnv-0003qk...@franck.debian.org>
and subject line Bug#809446: fixed in hfst 3.8.2~r4145-1.1
has caused the Debian Bug report #809446,
regarding python3-libhfst: Package will become non-working once python3.5 is 
default python3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
809446: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809446
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-libhfst
Version: 3.8.2~r4145-1
Severity: important
Tags: patch

Currently the package only builds support for the default python3 version.  As a
result, once the default version switches from python3 3.4 to 3.5, it will
be unusable until it can be rebuilt.  The best practice (as described in the
Debian Python policy) is to build for all supported versions.  Then whichever
is default, the package still works.  Additionally, this package doesn't use
the standard Python helper, dh-python, to generate proper dependencies.  Due
to that, it would not be detected as needing rebuild for the transition.

Please see the attached patch (formatted as an NMU because that's what
devscripts handed me, but I have no near term plans to NMU).  This makes the
package more generally conform to Python policy.

Scott K
diff -Nru hfst-3.8.2~r4145/debian/changelog hfst-3.8.2~r4145/debian/changelog
--- hfst-3.8.2~r4145/debian/changelog	2015-07-22 22:46:56.000000000 +0000
+++ hfst-3.8.2~r4145/debian/changelog	2015-12-30 19:03:40.000000000 +0000
@@ -1,3 +1,11 @@
+hfst (3.8.2~r4145-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update package to generate appropriate dependencies for python bindings
+    as well as building for all supported python3 versions
+
+ -- Scott Kitterman <sc...@kitterman.com>  Wed, 30 Dec 2015 19:02:29 +0000
+
 hfst (3.8.2~r4145-1) unstable; urgency=low
 
   [ Tino Didriksen ]
diff -Nru hfst-3.8.2~r4145/debian/control hfst-3.8.2~r4145/debian/control
--- hfst-3.8.2~r4145/debian/control	2015-07-22 22:47:24.000000000 +0000
+++ hfst-3.8.2~r4145/debian/control	2015-12-30 19:05:08.000000000 +0000
@@ -15,10 +15,9 @@
                libicu-dev,
                libreadline-dev,
                libtool,
-               python,
+               dh-python,
                python-dev,
-               python3,
-               python3-dev,
+               python3-all-dev,
                swig,
                zlib1g-dev
 Standards-Version: 3.9.6
@@ -29,7 +28,7 @@
 Package: hfst
 Architecture: any
 Depends: libhfst40 (= ${binary:Version}),
-         python,
+         ${python:Depends},
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Helsinki Finite-State Transducer Technology
@@ -68,7 +67,7 @@
 Architecture: any
 Section: python
 Depends: libhfst40 (= ${binary:Version}),
-         python,
+         ${python:Depends},
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Helsinki Finite-State Transducer Technology (Python2 module)
@@ -82,7 +81,7 @@
 Architecture: any
 Section: python
 Depends: libhfst40 (= ${binary:Version}),
-         python3,
+         ${python3:Depends},
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Helsinki Finite-State Transducer Technology (Python3 module)
diff -Nru hfst-3.8.2~r4145/debian/rules hfst-3.8.2~r4145/debian/rules
--- hfst-3.8.2~r4145/debian/rules	2015-07-05 12:29:54.000000000 +0000
+++ hfst-3.8.2~r4145/debian/rules	2015-12-30 19:01:47.000000000 +0000
@@ -7,12 +7,13 @@
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
+build3vers := $(shell py3versions -sv)
 
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
 %:
-	dh $@ --parallel --with autoreconf
+	dh $@ --parallel --with autoreconf,python2,python3
 
 override_dh_auto_configure:
 	dh_auto_configure -- --disable-static --without-foma --with-unicode-handler=ICU --enable-all-tools
@@ -20,13 +21,19 @@
 override_dh_auto_build:
 	./scripts/generate-cc-files.sh
 	$(MAKE) -j$(NUMJOBS) || $(MAKE) -j$(NUMJOBS) || $(MAKE)
-	cd $(CURDIR)/swig && python setup.py build_ext && python3 setup.py build_ext && strip --strip-unneeded build/*/*.so
+	cd $(CURDIR)/swig && python setup.py build_ext
+	set -e && for i in $(build3vers); do \
+	  cd $(CURDIR)/swig &&  python$$i setup.py build_ext && strip --strip-unneeded build/*/*.so; \
+	done
 
 override_dh_auto_test:
 	# Skip, as it breaks in various unpredictable ways
 
 override_dh_auto_install:
 	dh_auto_install
-	cd $(CURDIR)/swig && python setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp && python3 setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp
+	cd $(CURDIR)/swig && python setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp
+	set -e && for i in $(build3vers); do \
+	  cd $(CURDIR)/swig && python$$i setup.py install --no-compile --prefix /usr --install-layout deb --root $(CURDIR)/debian/tmp; \
+	done
 	find $(CURDIR) -type f -name '*.pyc' -exec rm -f '{}' \;
 	find $(CURDIR) -type f -name '*.pyo' -exec rm -f '{}' \;

--- End Message ---
--- Begin Message ---
Source: hfst
Source-Version: 3.8.2~r4145-1.1

We believe that the bug you reported is fixed in the latest version of
hfst, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 809...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <sc...@kitterman.com> (supplier of updated hfst package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 12 Jan 2016 20:43:53 -0500
Source: hfst
Binary: hfst libhfst40 libhfst40-dev python-libhfst python3-libhfst
Architecture: source amd64
Version: 3.8.2~r4145-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Description:
 hfst       - Helsinki Finite-State Transducer Technology
 libhfst40  - Helsinki Finite-State Transducer Technology Libraries
 libhfst40-dev - Helsinki Finite-State Transducer Technology Development files
 python-libhfst - Helsinki Finite-State Transducer Technology (Python2 module)
 python3-libhfst - Helsinki Finite-State Transducer Technology (Python3 module)
Closes: 809446
Changes:
 hfst (3.8.2~r4145-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload. (Closes: #809446)
   * Update package to generate appropriate dependencies for python bindings
     as well as building for all supported python3 versions
Checksums-Sha1:
 7ed49dc72caf9722d433dcc12c8e4699445233d4 2430 hfst_3.8.2~r4145-1.1.dsc
 ab1e1016f38156136d35b750eeade73f89d2a4c6 3668 
hfst_3.8.2~r4145-1.1.debian.tar.xz
 9257580393a12effbecf6c7e28585db48d78ad72 37457780 
hfst-dbgsym_3.8.2~r4145-1.1_amd64.deb
 42256b89618278aa03d440e6a95f4d2a6c223702 1108560 hfst_3.8.2~r4145-1.1_amd64.deb
 7b947cf3c209d11332f9cd2be17e3b6f9ca05e49 16849566 
libhfst40-dbgsym_3.8.2~r4145-1.1_amd64.deb
 2c1e1eb186dc42087adb7140ece16d3627aaf9c9 216926 
libhfst40-dev_3.8.2~r4145-1.1_amd64.deb
 3e5293cccb599afbf5117be0bd52026635692c95 1321026 
libhfst40_3.8.2~r4145-1.1_amd64.deb
 ab5ae72f9ef1e983a9c6500f9beb69c80c33e3e1 444430 
python-libhfst_3.8.2~r4145-1.1_amd64.deb
 76fd96faaf7b57426e4663f391a5a54dade11885 442084 
python3-libhfst_3.8.2~r4145-1.1_amd64.deb
Checksums-Sha256:
 56f85d736b169a61e81fbe8a96d567dc4be962dffed0561fd11aac77fdcd5514 2430 
hfst_3.8.2~r4145-1.1.dsc
 ba7343874c62f57001233b60ba8d2a31363205378e301b8dc9ce332818499f21 3668 
hfst_3.8.2~r4145-1.1.debian.tar.xz
 c84267dee38f51704c078c388c3ba762bf617b60ce1fd5ed8891b0200ed49126 37457780 
hfst-dbgsym_3.8.2~r4145-1.1_amd64.deb
 b552377e2cbeba43b46e3bb315b9f99bcd93abc3bfd920deda6cbb5035f747fa 1108560 
hfst_3.8.2~r4145-1.1_amd64.deb
 607b4384f7be3e2268551c58e7f74134b286c284954e7fca9cd00786f00325a7 16849566 
libhfst40-dbgsym_3.8.2~r4145-1.1_amd64.deb
 4336bb2e1aa6143439e72cb7f67b820fbfe13e07c12b6590930814d8b632774e 216926 
libhfst40-dev_3.8.2~r4145-1.1_amd64.deb
 8bc50694cf223d7e043908451e2a6de6cae6f5ad06ad1d02c80bbe5a75d1834e 1321026 
libhfst40_3.8.2~r4145-1.1_amd64.deb
 8923d84a6ec8cb54e124a095c0771fcfa913213d7e51456b518aae933e588575 444430 
python-libhfst_3.8.2~r4145-1.1_amd64.deb
 b9ff7ce71af3b2e9c537ad85d6e1e4a71be6c71aff5080c59149ba5ad9e96d57 442084 
python3-libhfst_3.8.2~r4145-1.1_amd64.deb
Files:
 384560beb8e44876e22a9007c81888c6 2430 science optional hfst_3.8.2~r4145-1.1.dsc
 4b56b572c425d160be05d0cc04f9ef6e 3668 science optional 
hfst_3.8.2~r4145-1.1.debian.tar.xz
 67e19cb8098f9f115ae7d0c17b66fd22 37457780 debug extra 
hfst-dbgsym_3.8.2~r4145-1.1_amd64.deb
 467bb686cac7edd9b02c448aa4481623 1108560 science optional 
hfst_3.8.2~r4145-1.1_amd64.deb
 de2a2ef9436f97811c45b19757580317 16849566 debug extra 
libhfst40-dbgsym_3.8.2~r4145-1.1_amd64.deb
 714f3d0701c68ab28d22c79e573adbc8 216926 libdevel optional 
libhfst40-dev_3.8.2~r4145-1.1_amd64.deb
 51fa38b18070966ee11fdc7b3811d99f 1321026 science optional 
libhfst40_3.8.2~r4145-1.1_amd64.deb
 99922250a7475ae168e84663a0c157fc 444430 python optional 
python-libhfst_3.8.2~r4145-1.1_amd64.deb
 3154c52101ae8218447a3e2328eff5c5 442084 python optional 
python3-libhfst_3.8.2~r4145-1.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWlb7aAAoJEHjX3vua1ZrxBk0QANTvAG4hmOsBfoZM7RFb2Y23
rqiaHK2SHrzkwXOO3dgTZJfuCHisk+hHZ/dJXVxpSF9bQuvtznlQTfIgD+TM8Qpe
Z+97U2qYroSnRY5TH+llRbmZAy5CcF/D2UITWvMHh9Y014Q6kwUaZLcqJxooCJKb
8e0JYvb2nuvoNsXyd/Kr2QJDQni3Fc9D9AODcZNp0215VDHXDHCCn5bVVCDKFcwf
hZWJ0AzAUQ+Rt7VqibJsTNm6lr+u72hnTZVV3wfAOeKs1JSs6xoh2GlVLJrD/Q3o
6B00YxfZfHtllFHL0Ojx50dkFkn0vRf/3jlzsTd41HjSiDknYaCD3V9fTbcSMayV
+JjXxKGju6c85FbQkzVrQIARqfGNkrH0utPM8WOXQRvac3GY8zReW/WqBcn5NdBl
mveOO2dMCXMBcmQ8Qtt7+qL8T/wohmsTLtloi/GQ/8Kv0nyHk+CAqU5y5Eng6I8E
/GjDafH4F9GoHSzECHwBIbGNx0GBtrPTjA/f6pZMsPTs/R0opMK67adO7lUsRRvs
3VSEAk/CrirbqefBgbTAkmlkM/EgyCfPl/HI7vcRjoTVTjmlxQcRyaOrcvKseAOJ
sH724fK32p3F7NYDtywTmpjZUv2CDXNOwyx+8PZfB11y9l5vv5NBp1JS/0huwg2n
d0CiYOSl1RaR2t+YwLrp
=eFtk
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to