# Contributor: Leonardo Arena # Maintainer: Kevin Daudt pkgname=py3-pycryptodome pkgver=3.9.4 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="38a34acdef671c17875ec9e9403401b71cf6f2e46a715575812a4b2cd0a7c9745fcb0c4a44db62e86913160b09f5a2f867db238c81f38805060cff88635d920a py3-pycryptodome-3.9.4.tar.gz"