yara-python-4.0.5.ebuild

This commit is contained in:
Anton Bolshakov 2021-04-23 08:33:48 +08:00
parent 5c006a3c3b
commit a5300037f2
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 32 additions and 1 deletions

View file

@ -1,3 +1,3 @@
DIST yara-python-4.0.2.tar.gz 32362 BLAKE2B b661d7082463b4fe25c954fe6e87048e26f9afaebb0b327f724c4217a98aa1061122f84379a3da35431ef5bf81649323d9c0830fe47abbc3f75dce80502b7dd4 SHA512 0c599f529d11a1ecc006f2db958efbbe6b43669f0721b941f4a46d68d75a1e15418075dccb229c498dd39f651f58392d7c7c4b5c62ef694cbddbf05c609301d3
DIST yara-python-4.0.3.tar.gz 32376 BLAKE2B 7568910ca83f119450aefe0a3494d6bb73d2842bd299de48e504a0e40009cdb84378fa2305da33fb6c4f3c0dde817a82fc64089db6e1ffdbf20b41e4e93d2153 SHA512 4100b4664a4fc02d0398e086a1f1203f91c43e692ed5644a88dfac563e0b1b98fde2f6d1f7a69650e297dde253b5f369ca24e3aa18c0160708639cdfce9de140
DIST yara-python-4.0.4.tar.gz 32293 BLAKE2B 06b9d5b7334d15ee23790c91c3aee6ff30ac53ae4a643b0ff6c10169ec8e2812a7c54ba12d518d5dba008981cd9d5477cca560123ee6eae754362a26476ee6a1 SHA512 a45bbdc964ea1b8b9fe598e625481a85e8b99b449b0af0e8cebb941d7ad94e1312e8f0f95651443889051be40267a8d8315efeeaeaebc081b128c33bb8455663
DIST yara-python-4.0.5.tar.gz 32476 BLAKE2B d2308e2d9456f7e90a78f4b562b8d8e2bb207d9379100487bd2a0319c7226eaf09393a614d30d88bd3eb7f183c8155453f57ba6241f72b79330879190132516e SHA512 1c4663516e6ee908192145a6b53312bd529d704407b1c1057aa4b4dfaa2f561630e86f47fac60b5a6724ad502d8df0e674eb36bad7a282b5ed5c0782833eead4

View file

@ -0,0 +1,31 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1 eutils
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"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test +dex"
RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-4*[dex?]"
DEPEND="${RDEPEND}"
# Dex isn't enabled because dynamic-linking and dex aren't compatible
# We just make sure that if someone asks for dex, the yara library is compiled with it
src_compile() {
compile_python() {
distutils-r1_python_compile --dynamic-linking
}
python_foreach_impl compile_python
}