[Python-modules-commits] r26717 - in packages/python-ecdsa/trunk (12 files)
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Tue Dec 10 04:24:51 UTC 2013
Date: Tuesday, December 10, 2013 @ 04:24:47
Author: sramacher
Revision: 26717
[svn-inject] Applying Debian modifications (0.10-1) to trunk
Added:
packages/python-ecdsa/trunk/debian/
packages/python-ecdsa/trunk/debian/changelog
packages/python-ecdsa/trunk/debian/compat
packages/python-ecdsa/trunk/debian/control
packages/python-ecdsa/trunk/debian/copyright
packages/python-ecdsa/trunk/debian/patches/
packages/python-ecdsa/trunk/debian/patches/series
packages/python-ecdsa/trunk/debian/patches/system-six.patch
packages/python-ecdsa/trunk/debian/rules
packages/python-ecdsa/trunk/debian/source/
packages/python-ecdsa/trunk/debian/source/format
packages/python-ecdsa/trunk/debian/watch
Property changes on: packages/python-ecdsa/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/python-ecdsa/trunk/debian/changelog
===================================================================
--- packages/python-ecdsa/trunk/debian/changelog (rev 0)
+++ packages/python-ecdsa/trunk/debian/changelog 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1,29 @@
+python-ecdsa (0.10-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #730663)
+ * New maintainer. (Closes: #731789)
+ * debian/control:
+ - Move Homepage to Source paragraph.
+ - Update Standards-Version to 3.9.5.
+ - Add openssl to Build-Depends for compatibility tests.
+ * debian/rules:
+ - Install upstream changelog.
+ - Make sure that test data is not installed.
+ * Switch to pybuild:
+ - debian/control: Add dh-python to Build-Depends.
+ - debian/rules: Use pybuild build system.
+ * debian/copyright:
+ - Convert to Copyright Format 1.0.
+ - Add myself.
+ * Use python-six instead of embedded copy.
+ - debian/patches/system-six.patch: Adopt imports to system copy.
+ - debian/rules: Make sure that embedded copy is not installed.
+ - debian/control: Add python-six to (Build-)Depends.
+
+ -- Sebastian Ramacher <sramacher at debian.org> Tue, 10 Dec 2013 05:05:35 +0100
+
+python-ecdsa (0.8-1) unstable; urgency=low
+
+ * Initial package in Debian. Closes: #704474.
+
+ -- Bart Martens <bartm at debian.org> Mon, 01 Apr 2013 16:34:34 +0000
Added: packages/python-ecdsa/trunk/debian/compat
===================================================================
--- packages/python-ecdsa/trunk/debian/compat (rev 0)
+++ packages/python-ecdsa/trunk/debian/compat 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1 @@
+9
Added: packages/python-ecdsa/trunk/debian/control
===================================================================
--- packages/python-ecdsa/trunk/debian/control (rev 0)
+++ packages/python-ecdsa/trunk/debian/control 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1,28 @@
+Source: python-ecdsa
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sebastian Ramacher <sramacher at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-six (>= 1.2),
+ openssl
+Homepage: https://github.com/warner/python-ecdsa
+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
+
+Package: python-ecdsa
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ python-six (>= 1.2)
+Description: ECDSA cryptographic signature library (pure python)
+ This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve
+ Digital Signature Algorithm), implemented purely in Python. With this library,
+ you can quickly create keypairs (signing key and verifying key), sign messages,
+ and verify the signatures. The keys and signatures are very short, making them
+ easy to handle and incorporate into other protocols.
Added: packages/python-ecdsa/trunk/debian/copyright
===================================================================
--- packages/python-ecdsa/trunk/debian/copyright (rev 0)
+++ packages/python-ecdsa/trunk/debian/copyright 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1,60 @@
+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
+
+Files: *
+Copyright: 2010 Brian Warner <warner-pyecdsa at lothar.com>
+License: Expat
+Comment:
+ Portions written in 2005 by Peter Pearson and placed in the public domain.
+
+Files: ecdsa/six.py
+Copyright: 2010-2012 Benjamin Peterson <benjamin at python.org>
+License: Expat
+
+Files: debian/*
+Copyright:
+ 2013 Bart Martens <bartm at knars.be>
+ 2013 Sebastian Ramacher <sramacher at debian.org>
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later
+ version.
+ .
+ This package is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License version
+ 3 can be found in '/usr/share/common-licenses/GPL-3'.
+
+Files: debian/patches/*
+Copyright: 2013 Sebastian Ramacher <sramacher at debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
Added: packages/python-ecdsa/trunk/debian/patches/series
===================================================================
--- packages/python-ecdsa/trunk/debian/patches/series (rev 0)
+++ packages/python-ecdsa/trunk/debian/patches/series 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1 @@
+system-six.patch
Added: packages/python-ecdsa/trunk/debian/patches/system-six.patch
===================================================================
--- packages/python-ecdsa/trunk/debian/patches/system-six.patch (rev 0)
+++ packages/python-ecdsa/trunk/debian/patches/system-six.patch 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1,105 @@
+Description: Use python-six instead of embedded copy
+Author: Sebastian Ramacher <sramacher at debian.org>
+Last-Update: 2013-12-09
+
+--- python-ecdsa-0.10.orig/ecdsa/der.py
++++ python-ecdsa-0.10/ecdsa/der.py
+@@ -2,7 +2,7 @@ from __future__ import division
+
+ import binascii
+ import base64
+-from .six import int2byte, b, PY3, integer_types, text_type
++from six import int2byte, b, PY3, integer_types, text_type
+
+ class UnexpectedDER(Exception):
+ pass
+--- python-ecdsa-0.10.orig/ecdsa/ecdsa.py
++++ python-ecdsa-0.10/ecdsa/ecdsa.py
+@@ -53,7 +53,7 @@ Revision history:
+ Written in 2005 by Peter Pearson and placed in the public domain.
+ """
+
+-from .six import int2byte, b, print_
++from six import int2byte, b, print_
+ from . import ellipticcurve
+ from . import numbertheory
+ import random
+--- python-ecdsa-0.10.orig/ecdsa/ellipticcurve.py
++++ python-ecdsa-0.10/ecdsa/ellipticcurve.py
+@@ -34,7 +34,7 @@
+
+ from __future__ import division
+
+-from .six import print_
++from six import print_
+ from . import numbertheory
+
+ class CurveFp( object ):
+--- python-ecdsa-0.10.orig/ecdsa/keys.py
++++ python-ecdsa-0.10/ecdsa/keys.py
+@@ -7,7 +7,7 @@ from .curves import NIST192p, find_curve
+ from .util import string_to_number, number_to_string, randrange
+ from .util import sigencode_string, sigdecode_string
+ from .util import oid_ecPublicKey, encoded_oid_ecPublicKey
+-from .six import PY3, b
++from six import PY3, b
+ from hashlib import sha1
+
+ class BadSignatureError(Exception):
+--- python-ecdsa-0.10.orig/ecdsa/numbertheory.py
++++ python-ecdsa-0.10/ecdsa/numbertheory.py
+@@ -11,8 +11,8 @@
+
+ from __future__ import division
+
+-from .six import print_, integer_types
+-from .six.moves import reduce
++from six import print_, integer_types
++from six.moves import reduce
+
+ import math
+ import types
+--- python-ecdsa-0.10.orig/ecdsa/rfc6979.py
++++ python-ecdsa-0.10/ecdsa/rfc6979.py
+@@ -12,7 +12,7 @@ Many thanks to Coda Hale for his impleme
+ import hmac
+ from binascii import hexlify
+ from .util import number_to_string, number_to_string_crop
+-from .six import b
++from six import b
+
+ try:
+ bin(0)
+--- python-ecdsa-0.10.orig/ecdsa/test_pyecdsa.py
++++ python-ecdsa-0.10/ecdsa/test_pyecdsa.py
+@@ -8,7 +8,7 @@ import subprocess
+ from binascii import hexlify, unhexlify
+ from hashlib import sha1, sha256, sha512
+
+-from .six import b, print_, binary_type
++from six import b, print_, binary_type
+ from .keys import SigningKey, VerifyingKey
+ from .keys import BadSignatureError
+ from . import util
+--- python-ecdsa-0.10.orig/ecdsa/util.py
++++ python-ecdsa-0.10/ecdsa/util.py
+@@ -6,7 +6,7 @@ import binascii
+ from hashlib import sha256
+ from . import der
+ from .curves import orderlen
+-from .six import PY3, int2byte, b, next
++from six import PY3, int2byte, b, next
+
+ # RFC5480:
+ # The "unrestricted" algorithm identifier is:
+--- python-ecdsa-0.10.orig/setup.py
++++ python-ecdsa-0.10/setup.py
+@@ -2,7 +2,7 @@
+ import os, subprocess, re
+ from distutils.core import setup, Command
+ from distutils.command.sdist import sdist as _sdist
+-from ecdsa.six import print_
++from six import print_
+
+ class Test(Command):
+ description = "run unit tests"
Added: packages/python-ecdsa/trunk/debian/rules
===================================================================
--- packages/python-ecdsa/trunk/debian/rules (rev 0)
+++ packages/python-ecdsa/trunk/debian/rules 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_installchangelogs:
+ dh_installchangelogs NEWS
+
+override_dh_install:
+ dh_install
+ find debian/python-ecdsa -name "six.py" -delete
+ find debian/python-ecdsa -name "t" -type d -prune -exec rm -rf '{}' \;
Property changes on: packages/python-ecdsa/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-ecdsa/trunk/debian/source/format
===================================================================
--- packages/python-ecdsa/trunk/debian/source/format (rev 0)
+++ packages/python-ecdsa/trunk/debian/source/format 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/python-ecdsa/trunk/debian/watch
===================================================================
--- packages/python-ecdsa/trunk/debian/watch (rev 0)
+++ packages/python-ecdsa/trunk/debian/watch 2013-12-10 04:24:47 UTC (rev 26717)
@@ -0,0 +1,3 @@
+version=3
+https://github.com/warner/python-ecdsa/tags \
+.*/archive/python-ecdsa-(\d\S*)\.tar\.gz
More information about the Python-modules-commits
mailing list