Package: pycryptopp
Version: 0.5.14-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hi,

As you probably know, python2.6 is the default python interpreter in Ubuntu, and
your packages needed to be adapted to build correctly with python 2.6.
This change should be compatible with python2.5, so you could apply it right now
without any problem.

Thanks,
Fabrice

*** /tmp/tmpjBa7Hp
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/rules: Fix FTBFS by adding --install-layout=deb to setup.py call
    (LP: #427025)

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u pycryptopp-0.5.14/debian/rules pycryptopp-0.5.14/debian/rules
--- pycryptopp-0.5.14/debian/rules
+++ pycryptopp-0.5.14/debian/rules
@@ -42,7 +42,7 @@
 
 install-python%: build
 	dh_installdirs
-	python$* setup.py install \
+	python$* setup.py install --install-layout=deb \
 		--skip-build --single-version-externally-managed --root $(PKGDIR)
 	# move test vectors outside site-packages
 	if [ -d $(PKGDIR)/usr/share/python-pycryptopp/testvectors ]; then \
@@ -51,7 +51,7 @@
 	touch $@
 
 install-debug-python%: build
-	python$*-dbg setup.py install \
+	python$*-dbg setup.py install --install-layout=deb \
 		--skip-build --single-version-externally-managed --root $(PKGDIR)-dbg/
 	find $(PKGDIR)-dbg/usr/lib/python$*/ ! -type d ! -name '*_d\.so' -delete
 	find $(PKGDIR)-dbg/usr/lib/python$*/ -depth -empty -delete

Reply via email to