--- python-pam-0.4.2.orig/debian/rules +++ python-pam-0.4.2/debian/rules @@ -5,20 +5,26 @@ # This is the debhelper compatibility version to use. export DH_COMPAT=5 -PYVERS=$(shell pyversions -r) python2.5 +PYVERS=$(shell pyversions -r) + +-include /usr/share/python/python.mk build: build-stamp build-stamp: dh_testdir - for python in $(PYVERS); \ - do $$python setup.py build; \ + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py build; \ + $$python-dbg setup.py build; \ done touch build-stamp clean: dh_testdir - for python in $(PYVERS); \ - do $$python setup.py clean; \ + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py clean; \ + $$python-dbg setup.py clean; \ done rm -rf build-stamp build dh_clean @@ -29,9 +35,12 @@ dh_clean -k dh_installdirs - for python in $(PYVERS); \ - do $$python setup.py install --root=debian/python-pam; \ + set -e; \ + for python in $(PYVERS); do \ + $$python setup.py install --root=debian/python-pam --install-layout=deb; \ + $$python-dbg setup.py install --root=debian/python-pam-dbg --install-layout=deb; \ done + find debian/python-pam-dbg ! -type d ! -name '*_d.so' | xargs rm -f # Build architecture-independent files here. binary-indep: build install @@ -40,15 +49,15 @@ binary-arch: build install dh_testdir dh_testroot - dh_installdocs -a -A AUTHORS README - dh_installexamples -a -A examples/* + dh_installdocs -a AUTHORS README + dh_installexamples -a examples/* dh_installchangelogs -a ChangeLog - dh_strip -a + rm -rf debian/python-pam-dbg/usr/share/doc/python-pam-dbg + ln -sf python-pam debian/python-pam-dbg/usr/share/doc/python-pam-dbg + dh_strip -a -Npython-pam-dbg --dbg-package=python-pam-dbg dh_compress -a dh_fixperms -a - #dh_pycentral is not needed as we don't have .py files (only a .so) - #dh_pycentral -a - dh_python -a + dh_python2 -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a --- python-pam-0.4.2.orig/debian/changelog +++ python-pam-0.4.2/debian/changelog @@ -1,3 +1,73 @@ +python-pam (0.4.2-12.2ubuntu2) natty; urgency=low + + * No-change rebuild to prefer python2.7. + + -- Martin Pitt Wed, 22 Dec 2010 09:41:19 +0100 + +python-pam (0.4.2-12.2ubuntu1) natty; urgency=low + + * Merge with Debian; remaining changes: + - Build the extension for the debug interpreter. + - Revert the bogus change of the Debian upload to call setup.py install + with both --root and --prefix. + * Build using dh_python2 instead of dh_pycentral. + + -- Matthias Klose Wed, 24 Nov 2010 16:06:15 +0100 + +python-pam (0.4.2-12.2) unstable; urgency=low + + * Non-maintainer upload. + * Remove build-dependency on python2.5-dev. Closes: #596314. + + -- Matthias Klose Sun, 12 Sep 2010 15:37:47 +0200 + +python-pam (0.4.2-12.1ubuntu1) lucid; urgency=low + + * Merge with Debian, remaining changes: + - Build the extension for the debug interpreter. + * Revert the bogus change of the Debian upload to call setup.py install + with both --root and --prefix. + * Drop explicite build dependency on python2.5-dev. + + -- Matthias Klose Tue, 19 Jan 2010 15:22:59 +0100 + +python-pam (0.4.2-12.1) unstable; urgency=low + + * Non-maintainer upload. + * Prepare for the upcoming Python 2.6 transition; thanks to Piotr Ożarowski + for the bug report and to Kumar Appaiah for the patch; Closes: #556162 + - debian/rules + + optionally include python.mk, add $(py_setup_install_args) and + --prefix=/usr when installing + + -- Sandro Tosi Sun, 15 Nov 2009 21:36:54 +0100 + +python-pam (0.4.2-12ubuntu3) jaunty; urgency=low + + * Build for python2.6, include symlinks in the package. + + -- Matthias Klose Mon, 23 Feb 2009 18:23:00 +0100 + +python-pam (0.4.2-12ubuntu2) hardy; urgency=low + + * Rebuild with recent python-central. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 10 Mar 2008 12:47:11 +0000 + +python-pam (0.4.2-12ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Build the extension for the debug interpreter. + - Build-depend on python-all-dbg (>= 2.5-0ubuntu5) + - debian/control: New package python-pam-dbg, priority extra. + - debian/control: python-pam: Suggest python-pam-dbg. + - debian/rules: Build the extension with the python debug interpreter. + - debian/rules: python-pam-dbg: symlink to python-pam's docdir. + - Set Ubuntu maintainer address. + + -- Andrew Mitchell Wed, 23 May 2007 13:11:15 +1200 + python-pam (0.4.2-12) unstable; urgency=low * Added Build-Depends: python2.5-dev (Closes: #415377) @@ -11,6 +81,30 @@ -- Dima Barsky Sat, 17 Mar 2007 17:46:16 +0000 +python-pam (0.4.2-10.4ubuntu2) feisty; urgency=low + + * Add a build dependency on python-central. + + -- Matthias Klose Sat, 17 Feb 2007 13:10:15 +0100 + +python-pam (0.4.2-10.4ubuntu1) feisty; urgency=low + + * Build the extension for the debug interpreter. + - Build-depend on python-all-dbg (>= 2.5-0ubuntu5) + - debian/control: New package python-pam-dbg, priority extra. + - debian/control: python-pam: Suggest python-pam-dbg. + - debian/rules: Build the extension with the python debug interpreter. + - debian/rules: python-pam-dbg: symlink to python-pam's docdir. + * Set Ubuntu maintainer address. + + -- Matthias Klose Sat, 17 Feb 2007 02:04:09 +0100 + +python-pam (0.4.2-10.4build1) feisty; urgency=low + + * Rebuild. Ubuntu #69967. + + -- Matthias Klose Mon, 12 Feb 2007 14:45:03 +0100 + python-pam (0.4.2-10.4) unstable; urgency=low * Non-maintainer upload. @@ -93,7 +187,7 @@ * Bumped up Standards-Sersion to 3.5.7 -- Dima Barsky Wed, 16 Oct 2002 14:45:50 +0100 - + python-pam (0.4.2-3) unstable; urgency=low * Recompiled for unstable (closes: #66359). @@ -114,4 +208,3 @@ -- Gregor Hoffleit Sat, 28 Aug 1999 19:20:23 +0200 - --- python-pam-0.4.2.orig/debian/control +++ python-pam-0.4.2/debian/control @@ -1,8 +1,9 @@ Source: python-pam Section: python Priority: optional -Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python2.5-dev, libpam0g-dev -Maintainer: Dima Barsky +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all-dbg, libpam0g-dev +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Dima Barsky Standards-Version: 3.7.2 Package: python-pam @@ -11,8 +12,20 @@ Conflicts: python2.3-pam, python2.4-pam Replaces: python2.3-pam, python2.4-pam Provides: ${python:Provides} +Suggests: python-pam-dbg XB-Python-Version: ${python:Versions} Description: A Python interface to the PAM library This module makes the PAM (Pluggable Authentication Modules) functions available in Python. With this module you can write Python applications that implement authentication services using PAM. + +Package: python-pam-dbg +Priority: extra +Architecture: any +Depends: python-pam (= ${Source-Version}), python-dbg +Description: A Python interface to the PAM library (debug extension) + This module makes the PAM (Pluggable Authentication Modules) functions + available in Python. With this module you can write Python applications + that implement authentication services using PAM. + . + This package contains the extension built for the python debug interpreter.