[Pkg-cracklib-commits] [SCM] Git repository for pkg-cracklib branch, master, updated. debian/2.8.18-2-17-g7291918

Jan Dittberner jandd at debian.org
Sat May 19 22:52:23 UTC 2012


The following commit has been merged in the master branch:
commit 72919180ccc31f274a2c3e4e0f755a09a4d38730
Author: Jan Dittberner <jandd at debian.org>
Date:   Sun May 20 00:45:30 2012 +0200

    add debian/patches/install-debian-python-modules.patch to install debian/test_cracklib.py and debian/crack.py
    
    * add debian/patches/install-debian-python-modules.patch to install
      debian/test_cracklib.py and debian/crack.py
    * add debian/patches/pass-dict-to-cracklib-test.patch to allow running
      Python tests using a specific dictionary

diff --git a/debian/changelog b/debian/changelog
index e88ef66..e2ca754 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,10 +17,12 @@ cracklib2 (2.8.19-1) UNRELEASED; urgency=low
       /usr/share/dpkg/buildflags.mk in debian/rules
   * remove debian/tmp/* from debian/cracklib-runtime.install, remove
     debian/libcrack2-dev.install, remove debian/libcrack2.install
-  * add debian/patches/pass-dict-to-cracklib-test.patch to allow running
-    Python tests using a specific dictionary
   * add debian/test_cracklib.py with unit tests (missing in upstream
     tarball)
+  * add debian/patches/install-debian-python-modules.patch to install
+    debian/test_cracklib.py and debian/crack.py
+  * add debian/patches/pass-dict-to-cracklib-test.patch to allow running
+    Python tests using a specific dictionary
 
  -- Jan Dittberner <jandd at debian.org>  Fri, 18 May 2012 20:25:36 +0200
 
diff --git a/debian/patches/install-debian-python-modules.patch b/debian/patches/install-debian-python-modules.patch
new file mode 100644
index 0000000..9134afd
--- /dev/null
+++ b/debian/patches/install-debian-python-modules.patch
@@ -0,0 +1,13 @@
+Subject: install Debian specific Python modules
+Author: Jan Dittberner <jandd at debian.org>
+--- a/python/setup.py.in
++++ b/python/setup.py.in
+@@ -42,7 +42,7 @@
+     author_email="jan at dittberner.info",
+     url="http://cracklib.sourceforge.net/",
+     license="GPLv2+",
+-    py_modules=['cracklib'],
++    py_modules=['cracklib', 'test_cracklib', 'crack'],
+     ext_modules=extensions,
+     zip_safe=False,
+     classifiers=[
diff --git a/debian/patches/series b/debian/patches/series
index cc920cf..bbcc002 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+install-debian-python-modules.patch
 pass-dict-to-cracklib-test.patch

-- 
Git repository for pkg-cracklib



More information about the Pkg-cracklib-commits mailing list