[Python-modules-commits] r23833 - in packages/python-crypto/trunk/debian (9 files)

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Thu Apr 4 11:33:52 UTC 2013


    Date: Thursday, April 4, 2013 @ 11:33:51
  Author: sramacher
Revision: 23833

* Replace override_dh_install in d/rules with proper .install files.
* Add .pydist files.
* Bump Standards-Version.
* Use anonscm.debian.org in Vcs-Svn too.

Added:
  packages/python-crypto/trunk/debian/python-crypto-dbg.install
  packages/python-crypto/trunk/debian/python-crypto.install
  packages/python-crypto/trunk/debian/python-crypto.pydist
  packages/python-crypto/trunk/debian/python3-crypto-dbg.install
  packages/python-crypto/trunk/debian/python3-crypto.install
  packages/python-crypto/trunk/debian/python3-crypto.pydist
Modified:
  packages/python-crypto/trunk/debian/changelog
  packages/python-crypto/trunk/debian/control
  packages/python-crypto/trunk/debian/rules

Modified: packages/python-crypto/trunk/debian/changelog
===================================================================
--- packages/python-crypto/trunk/debian/changelog	2013-04-04 06:15:55 UTC (rev 23832)
+++ packages/python-crypto/trunk/debian/changelog	2013-04-04 11:33:51 UTC (rev 23833)
@@ -1,13 +1,18 @@
 python-crypto (2.6-5) UNRELEASED; urgency=low
 
   * debian/patches/dont-drop-g.patch: Fix Origin and add Author.
-  * debian/rules: Install extension modules built for the debug version of
-    Python 3.3 into the correct package.
-  * debian/control: Bump Standards-Version to 3.9.4.
+  * Install extensions for Python 3.3 to the correct package.
+    * debian/rules: Drop override_dh_install.
+    * debian/python{,3}-crypto{,-dbg}.install: Add proper .install files.
+  * debian/control:
+    - Bump Standards-Version to 3.9.4, no changes needed.
+    - Use anonscm.debian.org in Vcs-Svn too.
   * debian/python{,3}-crypto{,-dbg}.lintian-overrides: Add overrides for
-    haredning-no-fortify-functions false positives.
+    hardening-no-fortify-functions false positives.
+  * debian/python{,3}-crypto.pydist: Help dh_python2 to translate pycrypto in
+    requirements.txt to the correct Debian package.
 
- -- Sebastian Ramacher <sramacher at debian.org>  Sun, 17 Feb 2013 16:42:07 +0100
+ -- Sebastian Ramacher <sramacher at debian.org>  Wed, 03 Apr 2013 21:04:02 +0200
 
 python-crypto (2.6-4) unstable; urgency=low
 

Modified: packages/python-crypto/trunk/debian/control
===================================================================
--- packages/python-crypto/trunk/debian/control	2013-04-04 06:15:55 UTC (rev 23832)
+++ packages/python-crypto/trunk/debian/control	2013-04-04 11:33:51 UTC (rev 23833)
@@ -16,7 +16,7 @@
 X-Python-Version: >= 2.1
 X-Python3-Version: >= 3.0
 Standards-Version: 3.9.4
-Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-crypto/trunk/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-crypto/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-crypto/trunk/
 Homepage: http://www.pycrypto.org/
 

Added: packages/python-crypto/trunk/debian/python-crypto-dbg.install
===================================================================
--- packages/python-crypto/trunk/debian/python-crypto-dbg.install	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python-crypto-dbg.install	2013-04-04 11:33:51 UTC (rev 23833)
@@ -0,0 +1 @@
+usr/lib/python2.*/*-packages/Crypto/*/*_d.so

Added: packages/python-crypto/trunk/debian/python-crypto.install
===================================================================
--- packages/python-crypto/trunk/debian/python-crypto.install	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python-crypto.install	2013-04-04 11:33:51 UTC (rev 23833)
@@ -0,0 +1,6 @@
+usr/lib/python2*/*-packages/*.egg-info
+usr/lib/python2*/*-packages/Crypto/*.py
+usr/lib/python2*/*-packages/Crypto/*/*.py
+usr/lib/python2*/*-packages/Crypto/*/*/*.py
+usr/lib/python2*/*-packages/Crypto/SelfTest/*
+usr/lib/python2*/*-packages/Crypto/*/*[!_][!d].so

Added: packages/python-crypto/trunk/debian/python-crypto.pydist
===================================================================
--- packages/python-crypto/trunk/debian/python-crypto.pydist	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python-crypto.pydist	2013-04-04 11:33:51 UTC (rev 23833)
@@ -0,0 +1 @@
+pycrypto python-crypto; PEP386

Added: packages/python-crypto/trunk/debian/python3-crypto-dbg.install
===================================================================
--- packages/python-crypto/trunk/debian/python3-crypto-dbg.install	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python3-crypto-dbg.install	2013-04-04 11:33:51 UTC (rev 23833)
@@ -0,0 +1 @@
+usr/lib/python3/*-packages/Crypto/*/*.cpython-*d*.so

Added: packages/python-crypto/trunk/debian/python3-crypto.install
===================================================================
--- packages/python-crypto/trunk/debian/python3-crypto.install	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python3-crypto.install	2013-04-04 11:33:51 UTC (rev 23833)
@@ -0,0 +1,6 @@
+usr/lib/python3/*-packages/*.egg-info
+usr/lib/python3/*-packages/Crypto/*.py
+usr/lib/python3/*-packages/Crypto/*/*.py
+usr/lib/python3/*-packages/Crypto/*/*/*.py
+usr/lib/python3/*-packages/Crypto/SelfTest/*
+usr/lib/python3/*-packages/Crypto/*/*[!d]m{,u}.so

Added: packages/python-crypto/trunk/debian/python3-crypto.pydist
===================================================================
--- packages/python-crypto/trunk/debian/python3-crypto.pydist	                        (rev 0)
+++ packages/python-crypto/trunk/debian/python3-crypto.pydist	2013-04-04 11:33:51 UTC (rev 23833)
@@ -0,0 +1 @@
+pycrypto python3-crypto; PEP386

Modified: packages/python-crypto/trunk/debian/rules
===================================================================
--- packages/python-crypto/trunk/debian/rules	2013-04-04 06:15:55 UTC (rev 23832)
+++ packages/python-crypto/trunk/debian/rules	2013-04-04 11:33:51 UTC (rev 23833)
@@ -40,16 +40,6 @@
 		python$$pyvers-dbg setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp; \
 	done
 
-override_dh_install:
-	# Install everything excluding the *_d.so/*dmu.so debug extensions to python(3)-crypto
-	dh_install -X"_d.so" -X"python3" "debian/tmp/*" -p python-crypto
-	dh_install -X"dm.so" -X"dmu.so" -X"python2" "debian/tmp/*" -p python3-crypto
-	# Install the debug extensions to python(3)-crypto-dbg
-	find debian/tmp/ -name "*_d.so" -exec dh_install '{}' -p python-crypto-dbg \;
-	find debian/tmp/ -name "*cpython-*dm*.so" -exec dh_install '{}' -p python3-crypto-dbg \;
-	# Continue with regular dh_install
-	dh_install
-
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	set -ex && for py in $(PYVERS) $(PY3VERS); do \




More information about the Python-modules-commits mailing list