Package: python-pylibacl User: ubuntu-de...@lists.ubuntu.com Version: 0.5.0-1 Severity: important Tags: patch
Hello dear maintainer The attached patch applied in ubuntu adds a debug package and support for python 2.6 We thought you would be interested -- Bhavani Shankar.R https://launchpad.net/~bhavi, a proud ubuntu community member. What matters in life is application of mind!, It makes great sense to have some common sense..!
diff -Nru python-pylibacl-0.5.0/debian/control python-pylibacl-0.5.0/debian/control --- python-pylibacl-0.5.0/debian/control 2010-03-03 05:47:11.000000000 +0530 +++ python-pylibacl-0.5.0/debian/control 2010-06-21 12:06:25.000000000 +0530 @@ -15,7 +16,19 @@ Provides: ${python:Provides} Replaces: python2.3-pylibacl (<< 0.2.1-3.1), python2.4-pylibacl (<< 0.2.1-3.1) Conflicts: python2.3-pylibacl (<< 0.2.1-3.1), python2.4-pylibacl (<< 0.2.1-3.1) +Suggests: python-pylibacl-dbg Description: module for manipulating POSIX.1e ACLs pylibacl is a Python interface to the libacl library. It allows manipulation of the POSIX.1e-compliant filesystem ACLs present in some operating systems (GNU/Linux included). + +Package: python-pylibacl-dbg +Priority: extra +Architecture: any +Depends: python-pylibacl (= ${binary:Version}), python-dbg, ${shlibs:Depends} +Description: module for manipulating POSIX.1e ACLs (debug extension) + pylibacl is a python interface to the libacl library. It allows + manipulation of the POSIX.1e-compliant filesystem ACLs present + in some operating systems (GNU/Linux included). + . + This package contains the extension built for the python debug interpreter. diff -Nru python-pylibacl-0.5.0/debian/rules python-pylibacl-0.5.0/debian/rules --- python-pylibacl-0.5.0/debian/rules 2010-03-03 05:47:11.000000000 +0530 +++ python-pylibacl-0.5.0/debian/rules 2010-03-13 11:51:04.000000000 +0530 @@ -18,6 +18,7 @@ build-python%: python$* setup.py build + python$*-dbg setup.py build touch $@ build-indep: @@ -30,13 +31,16 @@ rm -f build-arch-stamp build-indep #CONFIGURE-STAMP# rm -rf build html rm -f posix1e.so - rm -f $(PYVERS:%=build-python%) + rm -f build-python* dh_clean install: build $(PYVERS:%=install-python%) + find debian/python-pylibacl-dbg ! -type d ! -name '*_d.so' | xargs rm -f + find debian/python-pylibacl-dbg -depth -empty -exec rmdir {} \; install-python%: - python$* setup.py install --root $(CURDIR)/debian/python-pylibacl + python$* setup.py install --root $(CURDIR)/debian/python-pylibacl --install-layout=deb + python$*-dbg setup.py install --root $(CURDIR)/debian/python-pylibacl-dbg --install-layout=deb # Build architecture-dependent files here. binary-arch: build install @@ -44,7 +48,9 @@ dh_testroot dh_installchangelogs dh_installdocs - dh_strip + dh_strip -ppython-pylibacl --dbg-package=python-pylibacl-dbg + rm -rf debian/python-pylibacl-dbg/usr/share/doc/python-pylibacl-dbg + ln -s python-pylibacl debian/python-pylibacl-dbg/usr/share/doc/python-pylibacl-dbg dh_compress -X.js dh_fixperms dh_pysupport