aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-ecdsa/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-ecdsa/APKBUILD')
-rw-r--r--main/py-ecdsa/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/py-ecdsa/APKBUILD b/main/py-ecdsa/APKBUILD
new file mode 100644
index 0000000000..637457246d
--- /dev/null
+++ b/main/py-ecdsa/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-ecdsa
+_pkgname=ecdsa
+pkgver=0.8
+pkgrel=0
+pkgdesc="A Python cryptographic signature library"
+url="http://github.com/warner/python-ecdsa"
+arch="noarch"
+license="MIT"
+depends="py-crypto"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="a3575705afb24d7cbc1694960d3965b1 ecdsa-0.8.tar.gz"
+sha256sums="926dbc7f31f5e099079884e1ae8121d25c43b17f1db48d77c9540cd1e40acc1a ecdsa-0.8.tar.gz"
+sha512sums="1f89954bf7b45bf135dd55c64f0555014de00e3316ba2334054282fe8c542c070793220e4f4c5e69507ba2fd756795fda72cf3dfe43b6f42b554a7a3818f7a80 ecdsa-0.8.tar.gz"