[Python-modules-team] Bug#556150: Fix for this bug

Piotr Ożarowski piotr at debian.org
Sat Nov 14 18:27:33 UTC 2009


[Kumar Appaiah, 2009-11-14]
> diff -Nru --exclude changelog pyelemental-1.2.0/debian/control pyelemental-1.2.0/debian/control
> --- pyelemental-1.2.0/debian/control	2009-11-14 00:48:12.000000000 -0600
> +++ pyelemental-1.2.0/debian/control	2009-11-14 00:48:13.000000000 -0600
> @@ -33,6 +33,7 @@
>  Priority: extra
>  Architecture: any
>  Depends: python-elemental (= ${binary:Version}), python-dbg, ${shlibs:Depends}
> +XB-Python-Version: ${python:Versions}
>  Description: Python bindings for liblemental (debug extension)
>   gElemental is a GTK+ periodic table viewer that provides detailed information
>   about chemical elements.
> diff -Nru --exclude changelog pyelemental-1.2.0/debian/rules pyelemental-1.2.0/debian/rules
> --- pyelemental-1.2.0/debian/rules	2009-11-14 00:48:12.000000000 -0600
> +++ pyelemental-1.2.0/debian/rules	2009-11-14 00:48:13.000000000 -0600
> @@ -16,7 +16,7 @@
>  
>  install/python-elemental-dbg::
>  	for i in $(cdbs_python_build_versions); do \
> -	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-elemental-dbg; \
> +	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-elemental-dbg --prefix=/usr ; \
>  	done
>  	find debian/python-elemental-dbg \
>  		! -type d ! -name '*_d.so' | xargs rm -f

adding XB-Python-Version to -dbg package is enough, no need to add
--prefix (although it will not harm to have it) - latest pycentral will
move these files to the right location if XB-P-V header is present.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20091114/394f0720/attachment.pgp>


More information about the Python-modules-team mailing list