[Python-modules-commits] r28134 - in packages/python-ecdsa/trunk/debian (10 files)

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Tue Mar 11 12:11:33 UTC 2014


    Date: Tuesday, March 11, 2014 @ 12:11:31
  Author: sramacher
Revision: 28134

* New upstream release.
* Switch to tarball from PyPI:
  - debian/watch: Use PyPI.
  - debian/patches/upstream-_version.patch: Removed, no longer needed.
  - debian/copyright: Point Source to PyPI.
* debian/copyright: Update copyright years.
* Add DEP-8 tests:
  - debian/tests: Add tests.
  - debian/control: Add XS-Testsuite.
* debian/control: Add X-Python-Version. Upstream dropped support for
  anything before 2.6.

Added:
  packages/python-ecdsa/trunk/debian/tests/
  packages/python-ecdsa/trunk/debian/tests/control
  packages/python-ecdsa/trunk/debian/tests/python2
  packages/python-ecdsa/trunk/debian/tests/python3
Modified:
  packages/python-ecdsa/trunk/debian/changelog
  packages/python-ecdsa/trunk/debian/control
  packages/python-ecdsa/trunk/debian/copyright
  packages/python-ecdsa/trunk/debian/patches/series
  packages/python-ecdsa/trunk/debian/watch
Deleted:
  packages/python-ecdsa/trunk/debian/patches/upstream-_version.patch

Modified: packages/python-ecdsa/trunk/debian/changelog
===================================================================
--- packages/python-ecdsa/trunk/debian/changelog	2014-03-11 08:52:12 UTC (rev 28133)
+++ packages/python-ecdsa/trunk/debian/changelog	2014-03-11 12:11:31 UTC (rev 28134)
@@ -1,3 +1,19 @@
+python-ecdsa (0.11-1) UNRELEASED; urgency=medium
+
+  * New upstream release.
+  * Switch to tarball from PyPI:
+    - debian/watch: Use PyPI.
+    - debian/patches/upstream-_version.patch: Removed, no longer needed.
+    - debian/copyright: Point Source to PyPI.
+  * debian/copyright: Update copyright years.
+  * Add DEP-8 tests:
+    - debian/tests: Add tests.
+    - debian/control: Add XS-Testsuite.
+  * debian/control: Add X-Python-Version. Upstream dropped support for
+    anything before 2.6.
+
+ -- Sebastian Ramacher <sramacher at debian.org>  Tue, 11 Mar 2014 12:32:53 +0100
+
 python-ecdsa (0.10-2) unstable; urgency=low
 
   * Add Python 3 package.

Modified: packages/python-ecdsa/trunk/debian/control
===================================================================
--- packages/python-ecdsa/trunk/debian/control	2014-03-11 08:52:12 UTC (rev 28133)
+++ packages/python-ecdsa/trunk/debian/control	2014-03-11 12:11:31 UTC (rev 28134)
@@ -15,7 +15,9 @@
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-ecdsa/trunk/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-ecdsa/trunk/
 Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
+XS-Testsuite: autopkgtest
 
 Package: python-ecdsa
 Architecture: all

Modified: packages/python-ecdsa/trunk/debian/copyright
===================================================================
--- packages/python-ecdsa/trunk/debian/copyright	2014-03-11 08:52:12 UTC (rev 28133)
+++ packages/python-ecdsa/trunk/debian/copyright	2014-03-11 12:11:31 UTC (rev 28134)
@@ -1,7 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: python-ecdsa
 Upstream-Contact: Brian Warner <warner-pyecdsa at lothar.com>
-Source: https://github.com/warner/python-ecdsa
+Source: https://pypi.python.org/pypi/ecdsa
 
 Files: *
 Copyright: 2010 Brian Warner <warner-pyecdsa at lothar.com>
@@ -14,7 +14,7 @@
 License: Expat
 
 Files: debian/*
-Copyright: 2013 Sebastian Ramacher <sramacher at debian.org>
+Copyright: 2013-2014 Sebastian Ramacher <sramacher at debian.org>
 License: Expat
 Comment:
  The previous packaging was done by Bart Martens <bartm at knars.be>. He kindly

Modified: packages/python-ecdsa/trunk/debian/patches/series
===================================================================
--- packages/python-ecdsa/trunk/debian/patches/series	2014-03-11 08:52:12 UTC (rev 28133)
+++ packages/python-ecdsa/trunk/debian/patches/series	2014-03-11 12:11:31 UTC (rev 28134)
@@ -1,2 +1 @@
 system-six.patch
-upstream-_version.patch

Deleted: packages/python-ecdsa/trunk/debian/patches/upstream-_version.patch
===================================================================
--- packages/python-ecdsa/trunk/debian/patches/upstream-_version.patch	2014-03-11 08:52:12 UTC (rev 28133)
+++ packages/python-ecdsa/trunk/debian/patches/upstream-_version.patch	2014-03-11 12:11:31 UTC (rev 28134)
@@ -1,17 +0,0 @@
-Description: Add upstream's ecdsa/_version.py
- The tarball from GitHub does not contain this file. However, the tarball from
- PyPI includes it. The file is needed to get the correct version information for
- setup.py. Until we switch to PyPI as source for upstream tarballs with the next
- release, include it via a patch.
-Origin: upstream,
- https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.10.tar.gz
-Last-Update: 2013-12-10
-
---- /dev/null
-+++ python-ecdsa-0.10/ecdsa/_version.py
-@@ -0,0 +1,5 @@
-+
-+# This file is originally generated from Git information by running 'setup.py
-+# version'. Distribution tarballs contain a pre-generated copy of this file.
-+
-+__version__ = '0.10'

Added: packages/python-ecdsa/trunk/debian/tests/control
===================================================================
--- packages/python-ecdsa/trunk/debian/tests/control	                        (rev 0)
+++ packages/python-ecdsa/trunk/debian/tests/control	2014-03-11 12:11:31 UTC (rev 28134)
@@ -0,0 +1,7 @@
+Tests: python2
+Depends: python-ecdsa, openssl, python-all
+Restrictions: allow-stderr
+
+Tests: python3
+Depends: python3-ecdsa, openssl, python3-all
+Restrictions: allow-stderr

Added: packages/python-ecdsa/trunk/debian/tests/python2
===================================================================
--- packages/python-ecdsa/trunk/debian/tests/python2	                        (rev 0)
+++ packages/python-ecdsa/trunk/debian/tests/python2	2014-03-11 12:11:31 UTC (rev 28134)
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+cd "$ADTTMP"
+for py in $(pyversions -vi) ; do
+  python$py -m ecdsa.test_pyecdsa ;
+done


Property changes on: packages/python-ecdsa/trunk/debian/tests/python2
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-ecdsa/trunk/debian/tests/python3
===================================================================
--- packages/python-ecdsa/trunk/debian/tests/python3	                        (rev 0)
+++ packages/python-ecdsa/trunk/debian/tests/python3	2014-03-11 12:11:31 UTC (rev 28134)
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+cd "$ADTTMP"
+for py in $(py3versions -vi) ; do
+  python$py -m ecdsa.test_pyecdsa ;
+done

Modified: packages/python-ecdsa/trunk/debian/watch
===================================================================
--- packages/python-ecdsa/trunk/debian/watch	2014-03-11 08:52:12 UTC (rev 28133)
+++ packages/python-ecdsa/trunk/debian/watch	2014-03-11 12:11:31 UTC (rev 28134)
@@ -1,3 +1,3 @@
 version=3
-https://github.com/warner/python-ecdsa/tags \
-.*/archive/python-ecdsa-(\d\S*)\.tar\.gz
+https://pypi.python.org/pypi/ecdsa \
+  .*/ecdsa-(\d\S*)\.tar\.gz




More information about the Python-modules-commits mailing list