[Python-modules-commits] [python-rsa] 03/05: new upstream

Takaki Taniguchi takaki at moszumanska.debian.org
Tue Nov 24 16:11:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

takaki pushed a commit to branch master
in repository python-rsa.

commit 2cab10914f50243884c0d5c07d3cce0d2d4aa242
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Wed Nov 25 01:00:50 2015 +0900

    new upstream
---
 debian/changelog               | 13 +++++++++++++
 debian/control                 |  4 ++++
 debian/patches/fix_tests.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 4 files changed, 44 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6becb1d..10d7fe1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+python-rsa (3.2.3-1) UNRELEASED; urgency=medium
+
+  [ Dariusz Dwornikowski ]
+  * Added python modules to Build-Depends (Closes: #804430)
+    - python-unittest2, python3-unittest2
+    - python-asn1, python3-asn1
+  * Added d/patches/fix_tests.patch fixing imports in tests
+
+  [ TANIGUCHI Takaki ]
+  * new upstream version
+
+ -- TANIGUCHI Takaki <takaki at debian.org>  Wed, 25 Nov 2015 01:00:13 +0900
+
 python-rsa (3.1.4-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index d916e85..770c2e2 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,10 @@ Build-Depends: debhelper (>= 9)
 	, python3-all
 	, python-setuptools
 	, python3-setuptools
+  , python-unittest2
+  , python3-unittest2
+  , python3-pyasn1
+  , python-pyasn1
 Standards-Version: 3.9.5
 Homepage: http://stuvel.eu/rsa
 X-Python-Versioni: >= 2.7
diff --git a/debian/patches/fix_tests.patch b/debian/patches/fix_tests.patch
new file mode 100644
index 0000000..b17f56c
--- /dev/null
+++ b/debian/patches/fix_tests.patch
@@ -0,0 +1,26 @@
+Subject: Fixes import of constants in tests
+Author: Dariusz Dwornikowski <dariusz.dwornikowski at cs.put.poznan.pl>
+Forwarded: no 
+Last-Update: 2015-11-24
+--- a/tests/test_strings.py
++++ b/tests/test_strings.py
+@@ -6,7 +6,7 @@
+ 
+ import rsa
+ 
+-from constants import unicode_string
++from tests.constants import unicode_string
+ 
+ class StringTest(unittest2.TestCase):
+ 
+--- a/tests/constants.py
++++ b/tests/constants.py
+@@ -3,7 +3,7 @@
+ from rsa._compat import have_python3
+ 
+ if have_python3:
+-    from py3kconstants import *
++    from tests.py3kconstants import *
+ else:
+     from py2kconstants import *
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a017270
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-rsa.git



More information about the Python-modules-commits mailing list