Package: python-pam
Version: 0.4.2-10.2
Severity: normal
Tags: patch
Hi,
Attached is the diff for my python-pam 0.4.2-10.3 NMU.
--
Raphaël Hertzog
Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/
diff -Nru /tmp/VZmpkSewzz/python-pam-0.4.2/debian/changelog
/tmp/9miAsDF0zC/python-pam-0.4.2/debian/changelog
--- /tmp/VZmpkSewzz/python-pam-0.4.2/debian/changelog 2006-04-09
19:38:36.000000000 +0200
+++ /tmp/9miAsDF0zC/python-pam-0.4.2/debian/changelog 2006-06-25
17:35:14.000000000 +0200
@@ -1,3 +1,10 @@
+python-pam (0.4.2-10.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Switch to the new Python policy. Closes: #373335
+
+ -- Raphael Hertzog <[EMAIL PROTECTED]> Sun, 25 Jun 2006 17:34:49 +0200
+
python-pam (0.4.2-10.2) unstable; urgency=low
* Non-maintainer upload.
diff -Nru /tmp/VZmpkSewzz/python-pam-0.4.2/debian/control
/tmp/9miAsDF0zC/python-pam-0.4.2/debian/control
--- /tmp/VZmpkSewzz/python-pam-0.4.2/debian/control 2006-04-09
19:39:01.000000000 +0200
+++ /tmp/9miAsDF0zC/python-pam-0.4.2/debian/control 2006-06-25
17:34:36.000000000 +0200
@@ -1,28 +1,15 @@
Source: python-pam
Section: python
Priority: optional
-Build-Depends: debhelper (>> 4.1.67), python2.3-dev, python2.4-dev, python,
libpam0g-dev
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
libpam0g-dev
Maintainer: Dima Barsky <[EMAIL PROTECTED]>
Standards-Version: 3.6.0
Package: python-pam
-Architecture: all
-Depends: ${python:Depends}
-Description: A Python interface to the PAM library
- This is a dummy package which depends on the python-pam module for the
- default version of Python.
-
-Package: python2.3-pam
-Architecture: any
-Depends: python2.3, ${shlibs:Depends}
-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: python2.4-pam
Architecture: any
-Depends: python2.4, ${shlibs:Depends}
+Depends: ${python:Depends}
+Provides: ${python:Provides}
+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
diff -Nru /tmp/VZmpkSewzz/python-pam-0.4.2/debian/pycompat
/tmp/9miAsDF0zC/python-pam-0.4.2/debian/pycompat
--- /tmp/VZmpkSewzz/python-pam-0.4.2/debian/pycompat 1970-01-01
01:00:00.000000000 +0100
+++ /tmp/9miAsDF0zC/python-pam-0.4.2/debian/pycompat 2006-06-25
17:37:50.000000000 +0200
@@ -0,0 +1 @@
+2
diff -Nru /tmp/VZmpkSewzz/python-pam-0.4.2/debian/rules
/tmp/9miAsDF0zC/python-pam-0.4.2/debian/rules
--- /tmp/VZmpkSewzz/python-pam-0.4.2/debian/rules 2006-04-09
19:39:12.000000000 +0200
+++ /tmp/9miAsDF0zC/python-pam-0.4.2/debian/rules 2006-06-25
17:34:03.000000000 +0200
@@ -3,27 +3,22 @@
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
-export DH_COMPAT=4
+export DH_COMPAT=5
-versions=$(subst -dev,,\
- $(subst python,,\
- $(filter python%-dev,\
- $(shell sed -n '/^Build-Depends/s/,//gp' debian/control))))
-
-DEFAULT=2.3
+PYVERS=$(shell pyversions -r)
build: build-stamp
build-stamp:
dh_testdir
- for version in $(versions); \
- do python$$version setup.py build; \
+ for python in $(PYVERS); \
+ do $$python setup.py build; \
done
touch build-stamp
clean:
dh_testdir
- for version in $(versions); \
- do python$$version setup.py clean; \
+ for python in $(PYVERS); \
+ do $$python setup.py clean; \
done
rm -rf build-stamp build
dh_clean
@@ -34,23 +29,12 @@
dh_clean -k
dh_installdirs
- for version in $(versions); \
- do python$$version setup.py install
--prefix=debian/python$$version-pam/usr; \
+ for python in $(PYVERS); \
+ do $$python setup.py install --root=debian/python-pam; \
done
# Build architecture-independent files here.
binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs -i AUTHORS README
- dh_installchangelogs -i ChangeLog
- dh_compress -i
- dh_fixperms -i
- dh_python -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
@@ -62,6 +46,8 @@
dh_strip -a
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_installdeb -a
dh_shlibdeps -a