# Contributor: Leonardo Arena # Maintainer: Kevin Daudt pkgname=py3-pycryptodome pkgver=3.9.0 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" # Backwards compatibility provides="py-pycryptodome=$pkgver-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="1f1490d2854c9f5ed0fbb4a41b63ef47758bf07610f7c6c5bab14c93c760dc2e62d38ff101956e3739a8609bcba83c73ec77c665fe847b2d317996134212ddf7 py3-pycryptodome-3.9.0.tar.gz"