aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ecdsa
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-06 10:54:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-06 11:04:19 +0000
commit52845a11198b97c5019960324af1111431120521 (patch)
tree3b17e30d0eccb8ec65a9f1c7ba4d47e6b87d878a /community/py3-ecdsa
parentd805edbefe2db08740f6a75aa418965ed5f1880a (diff)
downloadaports-52845a11198b97c5019960324af1111431120521.tar.bz2
aports-52845a11198b97c5019960324af1111431120521.tar.xz
community/py3-ecdsa: move from main
noting in main uses it so we can move it
Diffstat (limited to 'community/py3-ecdsa')
-rw-r--r--community/py3-ecdsa/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py3-ecdsa/APKBUILD b/community/py3-ecdsa/APKBUILD
new file mode 100644
index 0000000000..253d08a179
--- /dev/null
+++ b/community/py3-ecdsa/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py3-ecdsa
+_pkgname=ecdsa
+pkgver=0.13.3
+pkgrel=2
+pkgdesc="Python3 cryptographic signature library"
+url="https://github.com/warner/python-ecdsa"
+arch="noarch"
+license="MIT"
+options="!check" # No tests available
+depends="python3 py3-six"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+replaces="py-ecdsa" # Backwards compatibility
+provides="py-ecdsa=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+build() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="621d36dcbdc0338b5e595e73337f62de0cc69febcabae40a6ba9292f2466f5d8818346d9d29d0b1c479ad4400fa57bdc52a7b264a475f8abed4c4a1161902b58 ecdsa-0.13.3.tar.gz"