# Contributor: Leonardo Arena # Maintainer: Kevin Daudt pkgname=py3-pycryptodome pkgver=3.9.5 pkgrel=0 pkgdesc="Self-contained cryptographic library" url="https://www.pycryptodome.org" arch="all" license="BSD-2-Clause Unlicense" makedepends="python3-dev py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v$pkgver.tar.gz" builddir="$srcdir"/pycryptodome-$pkgver replaces="py-pycryptodome py3-crypto" # Backwards compatibility provides="py-pycryptodome=$pkgver-r$pkgrel py3-crypto=$pkgrel-r$pkgrel" # Backwards compatibility build() { python3 setup.py --quiet build } check() { python3 setup.py test } package() { python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" } sha512sums="aa1fb35034872a5dd94a8646c360c78ff54beb0684760b6b74e2273b7e3c57124549f3804f9e3dba6070628866b06daa0a58ce779242c96234167579c54869b3 py3-pycryptodome-3.9.5.tar.gz"