aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-ecdsa
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-28 09:13:46 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-09-29 14:07:40 +0000
commitb943f2143c8097e73a220e4b8eff8428b77b4110 (patch)
tree8fe488b730154b7786d80ad69c1ad3fcc5b1197d /main/py-ecdsa
parent86ad65e8de37b846a0a54837bf9626ddf4cc69da (diff)
downloadaports-b943f2143c8097e73a220e4b8eff8428b77b4110.tar.bz2
aports-b943f2143c8097e73a220e4b8eff8428b77b4110.tar.xz
main/py-ecdsa: new aport
A Python cryptographic signature library http://github.com/warner/python-ecdsa
Diffstat (limited to 'main/py-ecdsa')
-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"