diff options
Diffstat (limited to 'community/py3-ecdsa/APKBUILD')
-rw-r--r-- | community/py3-ecdsa/APKBUILD | 32 |
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" |