[Python-modules-commits] r25737 - in packages/python-gnupg/tags (12 files)

valhalla-guest at users.alioth.debian.org valhalla-guest at users.alioth.debian.org
Wed Sep 4 08:07:49 UTC 2013


    Date: Wednesday, September 4, 2013 @ 08:07:44
  Author: valhalla-guest
Revision: 25737

Tag release 0.3.5-1

Added:
  packages/python-gnupg/tags/0.3.5-1/
  packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg
    (from rev 25732, packages/python-gnupg/trunk/debian/bin/gpg)
  packages/python-gnupg/tags/0.3.5-1/debian/changelog
    (from rev 25732, packages/python-gnupg/trunk/debian/changelog)
  packages/python-gnupg/tags/0.3.5-1/debian/control
    (from rev 25724, packages/python-gnupg/trunk/debian/control)
  packages/python-gnupg/tags/0.3.5-1/debian/patches/series
    (from rev 25732, packages/python-gnupg/trunk/debian/patches/series)
  packages/python-gnupg/tags/0.3.5-1/debian/patches/use_quick_random_for_gnupg_1.patch
    (from rev 25732, packages/python-gnupg/trunk/debian/patches/use_quick_random_for_gnupg_1.patch)
  packages/python-gnupg/tags/0.3.5-1/debian/rules
    (from rev 25732, packages/python-gnupg/trunk/debian/rules)
Deleted:
  packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg
  packages/python-gnupg/tags/0.3.5-1/debian/changelog
  packages/python-gnupg/tags/0.3.5-1/debian/control
  packages/python-gnupg/tags/0.3.5-1/debian/patches/series
  packages/python-gnupg/tags/0.3.5-1/debian/rules

Deleted: packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg
===================================================================
--- packages/python-gnupg/trunk/debian/bin/gpg	2013-08-30 14:53:12 UTC (rev 25702)
+++ packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg	2013-09-04 08:07:44 UTC (rev 25737)
@@ -1,3 +0,0 @@
-#!/bin/sh
-GPG=`which -a gpg | uniq | tail -n+2 | head -n1`
-exec "$GPG" --quick-random "$@"

Copied: packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg (from rev 25732, packages/python-gnupg/trunk/debian/bin/gpg)
===================================================================
--- packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg	                        (rev 0)
+++ packages/python-gnupg/tags/0.3.5-1/debian/bin/gpg	2013-09-04 08:07:44 UTC (rev 25737)
@@ -0,0 +1,7 @@
+#!/bin/sh
+GPG=`which -a gpg | uniq | tail -n+2 | head -n1`
+if echo "$*" | grep -q gen-key; then
+    exec "$GPG" --quick-random "$@"
+else
+    exec "$GPG" "$@"
+fi

Deleted: packages/python-gnupg/tags/0.3.5-1/debian/changelog
===================================================================
--- packages/python-gnupg/trunk/debian/changelog	2013-08-30 14:53:12 UTC (rev 25702)
+++ packages/python-gnupg/tags/0.3.5-1/debian/changelog	2013-09-04 08:07:44 UTC (rev 25737)
@@ -1,45 +0,0 @@
-python-gnupg (0.3.4-1) unstable; urgency=low
-
-  [ Jakub Wilk ]
-  * Use canonical URIs for Vcs-* fields.
-
-  [ Elena Grandi ]
-  * New upstream release. Closes: #695796
-  * Removed testsuite patches (merged upstream).
-  * Simplified --quick-random workaround thanks to partial upstream 
-    fixes. https://code.google.com/p/python-gnupg/issues/detail?id=61
-
- -- Elena Grandi <elena.valhalla at gmail.com>  Thu, 06 Jun 2013 09:03:28 +0200
-
-python-gnupg (0.3.0-1.1) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Work around test suite hangs by adding --quick-random when generating
-    keys. Closes: #682648
-
- -- Helmut Grohne <helmut at subdivi.de>  Mon, 22 Oct 2012 23:30:19 +0200
-
-python-gnupg (0.3.0-1) unstable; urgency=low
-
-  * New upstream release
-  * Patched testsuite to return nonzero on failure. Closes: #671259
-
- -- Elena Grandi <elena.valhalla at gmail.com>  Thu, 17 May 2012 09:18:35 +0000
-
-python-gnupg (0.2.9-2) unstable; urgency=low
-
-  * Honour DEB_BUILD_OPTIONS=nocheck Closes: 670975
-
- -- Elena Grandi <elena.valhalla at gmail.com>  Tue, 01 May 2012 16:16:46 +0000
-
-python-gnupg (0.2.9-1) unstable; urgency=low
-
-  * New upstream release
-
- -- Elena Grandi <elena.valhalla at gmail.com>  Thu, 19 Apr 2012 12:13:20 +0000
-
-python-gnupg (0.2.8-1) unstable; urgency=low
-
-  * Initial release. Closes: 660842
-
- -- Elena Grandi <elena.valhalla at gmail.com>  Tue, 27 Mar 2012 14:17:48 +0000

Copied: packages/python-gnupg/tags/0.3.5-1/debian/changelog (from rev 25732, packages/python-gnupg/trunk/debian/changelog)
===================================================================
--- packages/python-gnupg/tags/0.3.5-1/debian/changelog	                        (rev 0)
+++ packages/python-gnupg/tags/0.3.5-1/debian/changelog	2013-09-04 08:07:44 UTC (rev 25737)
@@ -0,0 +1,55 @@
+python-gnupg (0.3.5-1) unstable; urgency=low
+
+  * New upstream release. Closes: #721296, #721294.
+  * Updated standard versions to 3.9.4 (no change needed).
+  * Reverted simplification of --quick-random workaround.
+  * Adding --quick-random instead of --debug-quick-random for 
+    gnupg < 2.
+
+ -- Elena Grandi <elena.valhalla at gmail.com>  Sat, 31 Aug 2013 09:10:31 +0200
+
+python-gnupg (0.3.4-1) unstable; urgency=low
+
+  [ Jakub Wilk ]
+  * Use canonical URIs for Vcs-* fields.
+
+  [ Elena Grandi ]
+  * New upstream release. Closes: #695796
+  * Removed testsuite patches (merged upstream).
+  * Simplified --quick-random workaround thanks to partial upstream 
+    fixes. https://code.google.com/p/python-gnupg/issues/detail?id=61
+
+ -- Elena Grandi <elena.valhalla at gmail.com>  Thu, 06 Jun 2013 09:03:28 +0200
+
+python-gnupg (0.3.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Work around test suite hangs by adding --quick-random when generating
+    keys. Closes: #682648
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 22 Oct 2012 23:30:19 +0200
+
+python-gnupg (0.3.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Patched testsuite to return nonzero on failure. Closes: #671259
+
+ -- Elena Grandi <elena.valhalla at gmail.com>  Thu, 17 May 2012 09:18:35 +0000
+
+python-gnupg (0.2.9-2) unstable; urgency=low
+
+  * Honour DEB_BUILD_OPTIONS=nocheck Closes: 670975
+
+ -- Elena Grandi <elena.valhalla at gmail.com>  Tue, 01 May 2012 16:16:46 +0000
+
+python-gnupg (0.2.9-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Elena Grandi <elena.valhalla at gmail.com>  Thu, 19 Apr 2012 12:13:20 +0000
+
+python-gnupg (0.2.8-1) unstable; urgency=low
+
+  * Initial release. Closes: 660842
+
+ -- Elena Grandi <elena.valhalla at gmail.com>  Tue, 27 Mar 2012 14:17:48 +0000

Deleted: packages/python-gnupg/tags/0.3.5-1/debian/control
===================================================================
--- packages/python-gnupg/trunk/debian/control	2013-08-30 14:53:12 UTC (rev 25702)
+++ packages/python-gnupg/tags/0.3.5-1/debian/control	2013-09-04 08:07:44 UTC (rev 25737)
@@ -1,32 +0,0 @@
-Source: python-gnupg
-Maintainer: Elena Grandi <elena.valhalla at gmail.com>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Section: python
-Priority: optional
-Build-Depends: python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-7~), debhelper (>= 7.0.50~)
-Standards-Version: 3.9.3
-Homepage: http://code.google.com/p/python-gnupg/
-Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-gnupg/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-gnupg/trunk/
-X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.1
-
-Package: python-gnupg
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, gnupg
-Description: Python wrapper for the Gnu Privacy Guard (Python 2.x)
- Python-GnuPG allows easy and well-documented access to basic GnuPG
- functionality such as generating and managing keys, encrypting and
- decrypting data, signing and verifying messages.
- .
- This package provides Python 2.x version of python-gnupg.
-
-Package: python3-gnupg
-Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}, gnupg
-Description: Python wrapper for the Gnu Privacy Guard (Python 3.x)
- Python-GnuPG allows easy and well-documented access to basic GnuPG
- functionality such as generating and managing keys, encrypting and
- decrypting data, signing and verifying messages.
- .
- This package provides Python 3.x version of python-gnupg.

Copied: packages/python-gnupg/tags/0.3.5-1/debian/control (from rev 25724, packages/python-gnupg/trunk/debian/control)
===================================================================
--- packages/python-gnupg/tags/0.3.5-1/debian/control	                        (rev 0)
+++ packages/python-gnupg/tags/0.3.5-1/debian/control	2013-09-04 08:07:44 UTC (rev 25737)
@@ -0,0 +1,32 @@
+Source: python-gnupg
+Maintainer: Elena Grandi <elena.valhalla at gmail.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Section: python
+Priority: optional
+Build-Depends: python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-7~), debhelper (>= 7.0.50~)
+Standards-Version: 3.9.4
+Homepage: http://code.google.com/p/python-gnupg/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-gnupg/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-gnupg/trunk/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.1
+
+Package: python-gnupg
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, gnupg
+Description: Python wrapper for the Gnu Privacy Guard (Python 2.x)
+ Python-GnuPG allows easy and well-documented access to basic GnuPG
+ functionality such as generating and managing keys, encrypting and
+ decrypting data, signing and verifying messages.
+ .
+ This package provides Python 2.x version of python-gnupg.
+
+Package: python3-gnupg
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, gnupg
+Description: Python wrapper for the Gnu Privacy Guard (Python 3.x)
+ Python-GnuPG allows easy and well-documented access to basic GnuPG
+ functionality such as generating and managing keys, encrypting and
+ decrypting data, signing and verifying messages.
+ .
+ This package provides Python 3.x version of python-gnupg.

Deleted: packages/python-gnupg/tags/0.3.5-1/debian/patches/series
===================================================================
--- packages/python-gnupg/trunk/debian/patches/series	2013-08-30 14:53:12 UTC (rev 25702)
+++ packages/python-gnupg/tags/0.3.5-1/debian/patches/series	2013-09-04 08:07:44 UTC (rev 25737)
@@ -1 +0,0 @@
-skip_network_needing_test.patch

Copied: packages/python-gnupg/tags/0.3.5-1/debian/patches/series (from rev 25732, packages/python-gnupg/trunk/debian/patches/series)
===================================================================
--- packages/python-gnupg/tags/0.3.5-1/debian/patches/series	                        (rev 0)
+++ packages/python-gnupg/tags/0.3.5-1/debian/patches/series	2013-09-04 08:07:44 UTC (rev 25737)
@@ -0,0 +1,2 @@
+skip_network_needing_test.patch
+use_quick_random_for_gnupg_1.patch

Copied: packages/python-gnupg/tags/0.3.5-1/debian/patches/use_quick_random_for_gnupg_1.patch (from rev 25732, packages/python-gnupg/trunk/debian/patches/use_quick_random_for_gnupg_1.patch)
===================================================================
--- packages/python-gnupg/tags/0.3.5-1/debian/patches/use_quick_random_for_gnupg_1.patch	                        (rev 0)
+++ packages/python-gnupg/tags/0.3.5-1/debian/patches/use_quick_random_for_gnupg_1.patch	2013-09-04 08:07:44 UTC (rev 25737)
@@ -0,0 +1,32 @@
+Description: Use --quick-random for gpg < 2 (instead of --debug-quick-random 
+ or nothing at all.
+Forwarded: https://code.google.com/p/python-gnupg/issues/detail?id=82
+Bug: https://code.google.com/p/python-gnupg/issues/detail?id=82
+Author: Elena Grandi <elena.valhalla at gmail.com>
+===================================================================
+--- python-gnupg-0.3.5.orig/test_gnupg.py	2013-09-03 12:31:06.625531798 +0200
++++ python-gnupg-0.3.5/test_gnupg.py	2013-09-03 12:32:35.570701842 +0200
+@@ -99,8 +99,11 @@
+             shutil.rmtree(hd)
+         self.homedir = hd
+         self.gpg = gnupg.GPG(gnupghome=hd, gpgbinary=GPGBINARY)
+-        if self.gpg.version and self.gpg.version >= (2,):
+-            self.gpg.options = ['--debug-quick-random']
++        if self.gpg.version:
++            if self.gpg.version >= (2,):
++                self.gpg.options = ['--debug-quick-random']
++            else:
++                self.gpg.options = ['--quick-random']
+ 
+     def test_environment(self):
+         "Test the environment by ensuring that setup worked"
+@@ -129,7 +132,8 @@
+             'Name-Comment': 'A test user',
+             'Expire-Date': 0,
+         }
+-        if '--debug-quick-random' in (self.gpg.options or []):
++        if '--debug-quick-random' in (self.gpg.options or []) or \
++                '--quick-random' in (self.gpg.options or []):
+             # If using the fake RNG, a key isn't regarded as valid
+             # unless its comment has the text (insecure!) in it.
+             params['Name-Comment'] = 'A test user (insecure!)'

Deleted: packages/python-gnupg/tags/0.3.5-1/debian/rules
===================================================================
--- packages/python-gnupg/trunk/debian/rules	2013-08-30 14:53:12 UTC (rev 25702)
+++ packages/python-gnupg/tags/0.3.5-1/debian/rules	2013-09-04 08:07:44 UTC (rev 25737)
@@ -1,33 +0,0 @@
-#!/usr/bin/make -f
-
-%:
-	dh $@ --with python2,python3
-
-override_dh_auto_build:
-	dh_auto_build
-	set -ex; for python in $(shell py3versions -r); do \
-		$$python setup.py build; \
-	done;
-
-override_dh_auto_install:
-	dh_auto_install
-	set -ex; for python in $(shell py3versions -r); do \
-		$$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
-	done;
-
-override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	set -ex; for py in $(shell pyversions -r -v); do \
-		PATH=$(CURDIR)/debian/bin:$$PATH PYTHONPATH=$(CURDIR)/build/lib.*-$$py  python$$py test_gnupg.py ;\
-	done
-	set -ex; for python in $(shell py3versions -r); do \
-		cp test_gnupg.py test_gnupg_3.py ;\
-		2to3 -w test_gnupg_3.py ;\
-		PATH=$(CURDIR)/debian/bin:$$PATH PYTHONPATH=$(CURDIR)/build/lib $$python test_gnupg_3.py ;\
-		rm test_gnupg_3.py ;\
-	done
-endif
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf build/ keys/ __pycache__/

Copied: packages/python-gnupg/tags/0.3.5-1/debian/rules (from rev 25732, packages/python-gnupg/trunk/debian/rules)
===================================================================
--- packages/python-gnupg/tags/0.3.5-1/debian/rules	                        (rev 0)
+++ packages/python-gnupg/tags/0.3.5-1/debian/rules	2013-09-04 08:07:44 UTC (rev 25737)
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_build:
+	dh_auto_build
+	set -ex; for python in $(shell py3versions -r); do \
+		$$python setup.py build; \
+	done;
+
+override_dh_auto_install:
+	dh_auto_install
+	set -ex; for python in $(shell py3versions -r); do \
+		$$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
+	done;
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	chmod 755 $(CURDIR)/debian/bin/gpg
+	set -ex; for py in $(shell pyversions -r -v); do \
+		PATH=$(CURDIR)/debian/bin:$$PATH PYTHONPATH=$(CURDIR)/build/lib.*-$$py python$$py test_gnupg.py ;\
+	done
+	set -ex; for python in $(shell py3versions -r); do \
+		cp test_gnupg.py test_gnupg_3.py ;\
+		2to3 -w test_gnupg_3.py ;\
+		PATH=$(CURDIR)/debian/bin:$$PATH PYTHONPATH=$(CURDIR)/build/lib $$python test_gnupg_3.py ;\
+		rm test_gnupg_3.py ;\
+	done
+endif
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build/ keys/ __pycache__/




More information about the Python-modules-commits mailing list