diff options
Diffstat (limited to 'community/py3-pycryptodome/APKBUILD')
-rw-r--r-- | community/py3-pycryptodome/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-pycryptodome/APKBUILD b/community/py3-pycryptodome/APKBUILD new file mode 100644 index 0000000000..e4ac07196b --- /dev/null +++ b/community/py3-pycryptodome/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org> +pkgname=py3-pycryptodome +pkgver=3.8.2 +pkgrel=0 +pkgdesc="Self-contained cryptographic library" +url="https://www.pycryptodome.org" +arch="all" +license="BSD-2-Clause Unlicense" +makedepends="python3-dev py-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v$pkgver.tar.gz" +builddir="$srcdir"/pycryptodome-$pkgver +replaces=py-pycryptodome +provides="py-pycryptodome=$pkgver-r$pkgrel" + +build() { + python3 setup.py --quiet build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" +} + +sha512sums="4be61d7dafd38bfb011f6a585645fc8b6e4951c7173e7cb00c1e863c4a233e2285068d963e4dae55050c7dd198338af1d115dda3e6eece6ffda515af8d1136e2 py3-pycryptodome-3.8.2.tar.gz" |