From 97e49712a9bf3c59d7099b68aa37e903e6e6662c Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 28 Jan 2020 07:28:27 +0000 Subject: testing/py3-yara: new aport --- testing/py3-yara/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-yara/APKBUILD diff --git a/testing/py3-yara/APKBUILD b/testing/py3-yara/APKBUILD new file mode 100644 index 00000000000..04ae639547d --- /dev/null +++ b/testing/py3-yara/APKBUILD @@ -0,0 +1,28 @@ +# 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" +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" -- cgit v1.2.3