summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-08-18 13:00:03 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-08-18 13:00:03 +0000
commitf8e3e144e29a5f3a5fd6d71d2ea385e975b855a9 (patch)
tree9615b1f911b81c8b2d51332640a54c87084a1199
parentAdded proxy-maintainers herd. (diff)
downloadgentoo-2-f8e3e144e29a5f3a5fd6d71d2ea385e975b855a9.tar.gz
gentoo-2-f8e3e144e29a5f3a5fd6d71d2ea385e975b855a9.tar.bz2
gentoo-2-f8e3e144e29a5f3a5fd6d71d2ea385e975b855a9.zip
Migrate to distutils-r1, bug #481494
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
-rw-r--r--dev-python/ecdsa/ChangeLog7
-rw-r--r--dev-python/ecdsa/ecdsa-0.8-r1.ebuild27
2 files changed, 33 insertions, 1 deletions
diff --git a/dev-python/ecdsa/ChangeLog b/dev-python/ecdsa/ChangeLog
index 35ae0a8161ca..528fb1b7a307 100644
--- a/dev-python/ecdsa/ChangeLog
+++ b/dev-python/ecdsa/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/ecdsa
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ecdsa/ChangeLog,v 1.3 2013/03/17 15:58:11 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ecdsa/ChangeLog,v 1.4 2013/08/18 13:00:03 blueness Exp $
+
+*ecdsa-0.8-r1 (18 Aug 2013)
+
+ 18 Aug 2013; Anthony G. Basile <blueness@gentoo.org> +ecdsa-0.8-r1.ebuild:
+ Migrate to distutils-r1, bug #481494
17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Add proxy-maintainers to metadata.xml
diff --git a/dev-python/ecdsa/ecdsa-0.8-r1.ebuild b/dev-python/ecdsa/ecdsa-0.8-r1.ebuild
new file mode 100644
index 000000000000..2e9f696e4c5c
--- /dev/null
+++ b/dev-python/ecdsa/ecdsa-0.8-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ecdsa/ecdsa-0.8-r1.ebuild,v 1.1 2013/08/18 13:00:03 blueness Exp $
+
+EAPI=5
+
+# pypy has test failures with some BadSignatureErrors
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="ECDSA cryptographic signature library in pure Python"
+HOMEPAGE="http://github.com/warner/python-ecdsa"
+SRC_URI="https://github.com/warner/python-${PN}/tarball/python-${P} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( dev-libs/openssl:0 )"
+
+python_test() {
+ cd "${TMPDIR}" || die
+ "${PYTHON}" "${BUILD_DIR}"/lib/${PN}/test_pyecdsa.py \
+ || die "Tests fail with ${EPYTHON}"
+}