diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2020-01-28 07:28:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2020-01-28 07:28:27 +0000 |
commit | 97e49712a9bf3c59d7099b68aa37e903e6e6662c (patch) | |
tree | 0d8badf09389fced2364f4184471e7a3994893ca | |
parent | ea7570018460326e551e01b882bea9e604fae597 (diff) | |
download | aports-97e49712a9bf3c59d7099b68aa37e903e6e6662c.zip |
testing/py3-yara: new aport
-rw-r--r-- | testing/py3-yara/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
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 <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +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" |