[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#692386: liblouis: Does not build against multiple supported python3 versions



Package: liblouis
Severity: normal
Version: 2.4.1-1
User: debian-python@lists.debian.org
Usertags: python3.3
Tags: patch

Please apply the proposed patch, or solve building against multiple
python3 versions in some other way.

diff -u liblouis-2.4.1/debian/changelog liblouis-2.4.1/debian/changelog
--- liblouis-2.4.1/debian/changelog
+++ liblouis-2.4.1/debian/changelog
@@ -1,3 +1,11 @@
+liblouis (2.4.1-1.1) UNRELEASED; urgency=low
+
+  * Change build dependency from python3-dev to python3-all-dev. Fixes
+    ftbfs against python3.3.
+  * Add --install-layout=deb to prevent creating empty /usr/local/lib.
+
+ -- Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>  Thu, 25 Oct 2012 00:48:48 +0100
+
 liblouis (2.4.1-1ubuntu1) quantal-proposed; urgency=low
 
   * Ship python 3 bindings:
diff -u liblouis-2.4.1/debian/rules liblouis-2.4.1/debian/rules
--- liblouis-2.4.1/debian/rules
+++ liblouis-2.4.1/debian/rules
@@ -22,7 +22,7 @@
 
 PYVERS := $(shell py3versions -r)
 
-config.status: configure
+config.status:
 	dh_testdir
 	dh_quilt_patch
 	dh_autoreconf
@@ -67,7 +67,7 @@
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 	cd python; \
 	    for py in $(PYVERS); do \
-		LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py install --root=$(CURDIR)/debian/python3-louis; \
+		LD_LIBRARY_PATH=../liblouis/.libs$${LD_LIBRARY_PATH+:$$LD_LIBRARY_PATH} $$py setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-louis; \
 	    done
 
 check: check-stamp
diff -u liblouis-2.4.1/debian/control liblouis-2.4.1/debian/control
--- liblouis-2.4.1/debian/control
+++ liblouis-2.4.1/debian/control
@@ -3,7 +3,7 @@
 Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
 Uploaders: Samuel Thibault <sthibault@debian.org>, Cyril Brulebois <kibi@debian.org>
-Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, python3-dev, texinfo, help2man, dpkg-dev (>= 1.16), hardening-wrapper, quilt, dh-autoreconf
+Build-Depends: debhelper (>= 7), autotools-dev, pkg-config, python3-all-dev, texinfo, help2man, dpkg-dev (>= 1.16), hardening-wrapper, quilt, dh-autoreconf
 Standards-Version: 3.9.3
 Section: libs
 Vcs-Git: git://git.debian.org/git/pkg-a11y/liblouis

Regards,

Dmitrijs.

Reply to: