diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-08-01 08:25:57 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-08-01 08:26:48 +0000 |
commit | 691c1b9e5c36f9116274894faaf17e03e15b3cd1 (patch) | |
tree | 95b650e5d1f66268dfbd647371a9d658d235bd4f /community/py3-pycryptodome | |
parent | 25c12e7ce97c5c5dedcd492160fd64934c47d3a4 (diff) | |
download | aports-691c1b9e5c36f9116274894faaf17e03e15b3cd1.tar.bz2 aports-691c1b9e5c36f9116274894faaf17e03e15b3cd1.tar.xz |
testing/py3-pycryptodome: move to community
due to py3-pdfminer
Diffstat (limited to 'community/py3-pycryptodome')
-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" |