Hello,

Please find attached a patch to add python3 packages to python-passlib.

I can push these changes to git (assuming I have push access), and/or do a
NMU if you want.

There are already built versions (for now) at
http://code.vpac.org/debian/pool/main/p/python-passlib/

Thanks.
-- 
Brian May <br...@microcomaustralia.com.au>
diff --git a/debian/changelog b/debian/changelog
index e9d9117..90093b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-passlib (1.6.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support Python 3.
+  * Add missing build depends for python-nose.
+  * Update standards version to 3.9.5.
+
+ -- Brian May <b...@debian.org>  Wed, 18 Jun 2014 09:13:20 +1000
+
 python-passlib (1.6.1-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/control b/debian/control
index 4a581d7..073eb4c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: python-passlib
 Section: python
 Priority: extra
 Maintainer: Julien Danjou <a...@debian.org>
-Build-Depends: debhelper (>= 8.0.0), python, python-setuptools
-Standards-Version: 3.9.3
+Build-Depends: debhelper (>= 8.0.0), dh-python, python-all (>= 2.6.6-3~), python-setuptools, python-nose, python3-all, python3-setuptools, python3-nose
+Standards-Version: 3.9.5
 Homepage: http://code.google.com/p/passlib/
 Vcs-Git: git://git.debian.org/collab-maint/python-passlib.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/python-passlib.git;a=summary
@@ -12,7 +12,17 @@ Package: python-passlib
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
 Description: comprehensive password hashing framework
- Password hashing library for Python 2 & 3, which provides cross-platform
+ Password hashing library for Python 2, which provides cross-platform
+ implementations of over 20 password hashing algorithms, as well as a
+ framework for managing existing password hashes. It's designed to be useful
+ for a wide range of tasks; from verifying a hash found in /etc/shadow, to
+ providing full-strength password hashing for multi-user applications.
+
+Package: python3-passlib
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: comprehensive password hashing framework
+ Password hashing library for Python 3, which provides cross-platform
  implementations of over 20 password hashing algorithms, as well as a
  framework for managing existing password hashes. It's designed to be useful
  for a wide range of tasks; from verifying a hash found in /etc/shadow, to
diff --git a/debian/rules b/debian/rules
index 18bcae9..c5b29c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
+
+export PYBUILD_NAME=passlib
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3 --buildsystem=pybuild

Reply via email to