yara-python: add arm support (fix: dependency.bad)

This commit is contained in:
Yury Martynov 2019-03-18 12:12:36 +03:00
parent 0778db876d
commit 3ed85fd9c8
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E

View file

@ -0,0 +1,26 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
inherit distutils-r1
DESCRIPTION="Python interface for a malware identification and classification tool"
HOMEPAGE="https://github.com/VirusTotal/yara-python"
SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/virustotal/yara/archive/v${PV}.tar.gz -> yara-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
RDEPEND="${PYTHON_DEPS}
~app-forensics/yara-${PV}"
DEPEND="${RDEPEND}"
src_prepare() {
cp -r "${WORKDIR}/yara-${PV}/"* "${S}/yara/"
default
}