summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/ecdsa/ChangeLog7
-rw-r--r--dev-python/ecdsa/ecdsa-0.9.ebuild27
2 files changed, 33 insertions, 1 deletions
diff --git a/dev-python/ecdsa/ChangeLog b/dev-python/ecdsa/ChangeLog
index 528fb1b7a307..f3faad7f43f6 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.4 2013/08/18 13:00:03 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ecdsa/ChangeLog,v 1.5 2013/10/02 11:16:59 blueness Exp $
+
+*ecdsa-0.9 (02 Oct 2013)
+
+ 02 Oct 2013; Anthony G. Basile <blueness@gentoo.org> +ecdsa-0.9.ebuild:
+ Version bump
*ecdsa-0.8-r1 (18 Aug 2013)
diff --git a/dev-python/ecdsa/ecdsa-0.9.ebuild b/dev-python/ecdsa/ecdsa-0.9.ebuild
new file mode 100644
index 000000000000..b9c63ae811af
--- /dev/null
+++ b/dev-python/ecdsa/ecdsa-0.9.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.9.ebuild,v 1.1 2013/10/02 11:16:59 blueness Exp $
+
+EAPI=5
+
+# pypy has test failures with some BadSignatureErrors
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+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}"
+}