commit: 9af84eaf2b203f4040d6b58c92d43fbe2e2176ed Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Fri Sep 5 17:17:14 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 6 14:28:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af84eaf
app-forensics/yara-x: drop 1.3.0 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/43385 Closes: https://github.com/gentoo/gentoo/pull/43385 Signed-off-by: Sam James <sam <AT> gentoo.org> app-forensics/yara-x/Manifest | 2 - app-forensics/yara-x/yara-x-1.3.0.ebuild | 90 -------------------------------- 2 files changed, 92 deletions(-) diff --git a/app-forensics/yara-x/Manifest b/app-forensics/yara-x/Manifest index 16aa427b579b..7a44eabe09ce 100644 --- a/app-forensics/yara-x/Manifest +++ b/app-forensics/yara-x/Manifest @@ -1,5 +1,3 @@ -DIST yara-x-1.3.0-crates.tar.xz 45877576 BLAKE2B f620fbb99531e78d4626dbe55067024e5fcd506800d1d1a37ce0c5506781e9cbc7892a4c5faf31666f3f4091c08fa826afe9d43a2614f20f9c634db60938a958 SHA512 2fe6b7a9143d542cce92f0ae8ea92214b23865995f75a872e24221c061f4f8eeb72b3aa4400f531d89a9be439cf8b02cb62502749bafa5174cc99bf7410542de -DIST yara-x-1.3.0.tar.gz 44546955 BLAKE2B b50abe6d6ded16a787ef6ed5ed756e37e194a52855a3924069e8b38d0c9572ced5cc23db9a403c1053e83fb44ab793dd400166b40b36c33fdd4ddb97988cdb74 SHA512 2099203f83ed6c94568a7ca29f8a5a4cf874d0014e8615f71b5fab9908d1d58d328cf7c9d037db0129ea486a849eac1c3e8c391417f728a0ef0a1737ffd581b3 DIST yara-x-1.4.0-crates.tar.xz 45877576 BLAKE2B f620fbb99531e78d4626dbe55067024e5fcd506800d1d1a37ce0c5506781e9cbc7892a4c5faf31666f3f4091c08fa826afe9d43a2614f20f9c634db60938a958 SHA512 2fe6b7a9143d542cce92f0ae8ea92214b23865995f75a872e24221c061f4f8eeb72b3aa4400f531d89a9be439cf8b02cb62502749bafa5174cc99bf7410542de DIST yara-x-1.4.0.tar.gz 44550390 BLAKE2B feb6d275ee46478328f981c1ac4f085e01a5c484f063eeadb8523a9b6e831398f6deb839d70469432af00627f0fb0d766facdfb400bd3e0572248214d38cae5f SHA512 258cac3ca9de1f3b61f86253ea83776b294d6f3c10af27b2c18f654de3b7c85660bb6e59628762e7a177c43c739086e76c0e7b4802da611d043afe94680ada39 DIST yara-x-1.6.0-crates.tar.xz 45679348 BLAKE2B c38efdb7753d9507d02b0251337e476c8bf04dcd01de4baba5ef08aae4fe1f12beebfa534e0253f17848f0a7ee873c569b2885df3a8b42767acad16fc89af03c SHA512 556259b0c64cf9aa731adc7c5065a8de9e356ef823551ff9eb7a29b2ee5a62e14198fd346318403856da4264ad594474f8abe06c2c09491329a4b6da760a371e diff --git a/app-forensics/yara-x/yara-x-1.3.0.ebuild b/app-forensics/yara-x/yara-x-1.3.0.ebuild deleted file mode 100644 index e64e923e86e1..000000000000 --- a/app-forensics/yara-x/yara-x-1.3.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{10..13} ) - -CRATES="" - -inherit cargo distutils-r1 - -DESCRIPTION="A malware identification and classification tool" -HOMEPAGE="https://virustotal.github.io/yara-x/" -SRC_URI="https://github.com/VirusTotal/yara-x/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" - -LICENSE="BSD" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 EPL-2.0 ISC - MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 WTFPL-2 ZLIB -" - -SLOT="0" -# Note: cranelift dependency only supports amd64, arm64, s390, and riscv64 as of 2025 -KEYWORDS="amd64" -IUSE="python" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - python? ( ${PYTHON_DEPS} ) -" -BDEPEND=" - python? ( - ${PYTHON_DEPS} - ${DISTUTILS_DEPS} - ) -" - -wrap_python() { - local phase=$1 - shift - - if use python; then - pushd py >/dev/null || die - distutils-r1_${phase} "$@" - popd >/dev/null || die - fi -} - -# https://bugs.gentoo.org/933231, https://bugs.gentoo.org/933232 -QA_FLAGS_IGNORED="usr/bin/yr" - -pkg_setup() { - # https://bugs.gentoo.org/933233 - QA_SONAME="usr/$(get_libdir)/libyara_x.*\\.so usr/lib.*/py.*/site-packages/yara_x/yara_x.*\\.so" - - rust_pkg_setup -} - -src_prepare() { - default - wrap_python ${FUNCNAME} -} - -src_compile() { - cargo_src_compile --workspace - wrap_python ${FUNCNAME} -} - -python_test() { - epytest -} - -src_test() { - cargo_src_test - wrap_python ${FUNCNAME} -} - -src_install() { - dobin "$(cargo_target_dir)"/yr - dolib.so "$(cargo_target_dir)"/*.so - - wrap_python ${FUNCNAME} -}
