# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname="py3-yara" _pkgname="${pkgname/py3-/}-python" pkgver="3.11.0" pkgrel=0 pkgdesc="The Python interface for YARA" url="https://virustotal.github.io/yara/" arch="all !ppc64le !armv7 !armhf" # missing yara license="Apache-2.0" depends="python3" makedepends="python3-dev yara" source="$pkgname-$pkgver.tar.gz::https://github.com/VirusTotal/yara-python/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="0c8e6cbe51aa858c6d56b95c88bd450016924008b57b4910ed8edfb7bba4d7bfc18736844817978f74e72bed6765c484f275de4e7a53ec85048fb01713b6e959 py3-yara-3.11.0.tar.gz"