diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2022-01-15 00:58:27 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 05:15:01 +0000 |
commit | 1bc23b7928c622b87d069fd58ca7f43686e83f29 (patch) | |
tree | a0f6675246ae5ee416cb1b615a4655638d6105ad /app-forensics | |
parent | app-forensics/yara: new ebuild (diff) | |
download | gentoo-1bc23b7928c622b87d069fd58ca7f43686e83f29.tar.gz gentoo-1bc23b7928c622b87d069fd58ca7f43686e83f29.tar.bz2 gentoo-1bc23b7928c622b87d069fd58ca7f43686e83f29.zip |
dev-python/yara-python: new ebuild
Bug: https://bugs.gentoo.org/800275
Closes: https://bugs.gentoo.org/576956
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/23800
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/yara/metadata.xml | 1 | ||||
-rw-r--r-- | app-forensics/yara/yara-4.1.3.ebuild | 3 | ||||
-rw-r--r-- | app-forensics/yara/yara-4.2.0_rc1.ebuild | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/app-forensics/yara/metadata.xml b/app-forensics/yara/metadata.xml index d98a389725d0..e0c4ac4ff283 100644 --- a/app-forensics/yara/metadata.xml +++ b/app-forensics/yara/metadata.xml @@ -22,6 +22,7 @@ <flag name='macho'>Enable macho module</flag> <flag name='magic'>Enable magic module</flag> <flag name='profiling'>Enable rules profiling</flag> + <flag name='python'>Pulls in python binding via <pkg>dev-python/yara-python</pkg></flag> </use> <upstream> <remote-id type="github">VirusTotal/yara</remote-id> diff --git a/app-forensics/yara/yara-4.1.3.ebuild b/app-forensics/yara/yara-4.1.3.ebuild index ffb30cc26e3a..0e064fd15d7b 100644 --- a/app-forensics/yara/yara-4.1.3.ebuild +++ b/app-forensics/yara/yara-4.1.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/virustotal/yara/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+dex +dotnet +cuckoo +macho +magic profiling" +IUSE="+dex +dotnet +cuckoo +macho +magic profiling python" DEPEND=" dev-libs/openssl:0= @@ -20,6 +20,7 @@ DEPEND=" magic? ( sys-apps/file:0= ) " RDEPEND="${DEPEND}" +PDEPEND="python? ( =dev-python/yara-python-4* )" src_prepare() { default diff --git a/app-forensics/yara/yara-4.2.0_rc1.ebuild b/app-forensics/yara/yara-4.2.0_rc1.ebuild index 38659ddcaa36..a514ff8e4690 100644 --- a/app-forensics/yara/yara-4.2.0_rc1.ebuild +++ b/app-forensics/yara/yara-4.2.0_rc1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/virustotal/yara/archive/v${PV/_/-}.tar.gz -> ${P}.ta LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="+dex +dotnet +cuckoo +macho +magic profiling" +IUSE="+dex +dotnet +cuckoo +macho +magic profiling python" DEPEND=" dev-libs/openssl:0= @@ -20,6 +20,7 @@ DEPEND=" magic? ( sys-apps/file:0= ) " RDEPEND="${DEPEND}" +PDEPEND="python? ( =dev-python/yara-python-4* )" S="${WORKDIR}/${PN}-${PV/_/-}" |