From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/yara-x/
Date: Tue, 27 May 2025 08:28:13 +0000 (UTC) [thread overview]
Message-ID: <1748334454.eca59aad6301f7f5d3ecfcaa9a0083fbc7ec0d54.sam@gentoo> (raw)
commit: eca59aad6301f7f5d3ecfcaa9a0083fbc7ec0d54
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Mon May 26 23:05:20 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 27 08:27:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eca59aad
app-forensics/yara-x: add 0.15.0
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/42272
Closes: https://github.com/gentoo/gentoo/pull/42272
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/yara-x/Manifest | 2 +
app-forensics/yara-x/yara-x-0.15.0.ebuild | 92 +++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/app-forensics/yara-x/Manifest b/app-forensics/yara-x/Manifest
index 154773dd7545..92be2836f2e4 100644
--- a/app-forensics/yara-x/Manifest
+++ b/app-forensics/yara-x/Manifest
@@ -1,4 +1,6 @@
DIST yara-x-0.13.0.tar.gz 44311891 BLAKE2B 03b154b5b8c79b80e54ff425d53c69e107823f2f101975b883e74d8b304e5f831d4c4021fcba516626369e91a2130b2d409e52c956d48bb11d616ffc73349cce SHA512 120fe66e52f9fcfe770ddfe686174e827f5459fcb50afe08a29a17bb545fd8b4aa08d695c0921f84d1d5a653213fe09b3f7adfa73f341fc50c6a1df75b7daefc
DIST yara-x-0.14.0.tar.gz 44476699 BLAKE2B 6dbea06abac237eaf90375714fd28a5e32523b342943321ddab260ca84cda65167b2d07de330eff2c3d37f30bc2a52cbe141598d622c88a3f89c8a227fa6283a SHA512 ce66a38a1f6955bc79ed9ac2ec1b423bd2fc3f3dc1b13e75790394b8d7b5e9907d4edbc8ab860665ab09351b39ed11b813fdeacb972d988dea22d85f6490ee93
+DIST yara-x-0.15.0.tar.gz 44484562 BLAKE2B 89c1fb866abfbc401abfebed4547264566aefa33d1af926d201389eb368be72fb674c6e8abe32f63bdb7f9a5567038a9ce55c1919591d0aa875e9cb1e2444623 SHA512 99118a5527f65cc1af98e2b7fc7479e2191f1b79a1c31cc63e4e1289b0fcab3e78a927ff22a1dfb8531ce3b40b900d53608e38f856a07d09cde5fd7285e7d03a
DIST yara-x-go-v0.14.0-crates.tar.xz 47078332 BLAKE2B 86ab66084f33bc36a1c3b10e1098d5733080b2313e67a77b44f9a404d7e95f0530d6a99096693148ba47e2e1146fb6c5e1126cfc80ebb33a6b596cfab73fe69d SHA512 84f1c8e62d16da65b3377a03fb5e2fd51b3c98705997ea5c6fa9a42477e5fe8f951a6e1eb46d58fa2438e193312ba5e3c53c9ad9cf9e30f16a04e62de25327bd
+DIST yara-x-go-v0.15.0-crates.tar.xz 45750356 BLAKE2B 8ba62e5d917bac88c8b3d2df20763225ef0dbfbb843b35659774deac21748b9014765165824b0b122a04ff302ea4b493d3644591affaa55c7462026329c56a5a SHA512 a086b089df9bb71ad96e4a343a521318a09ecf5defb34246c8c00ef4e0c2bf8c5315543fd7cddaed5a50e6d9203a060dce3e96b8f5caac7ca7238cde698497bb
DIST yara-x-v0.13.0-crates.tar.xz 45269648 BLAKE2B d10294ee753c7017798d501472b0dfde0413325d6dfd4ba01c3cae8e3cefb71ce749efbaf9a2676871ac9ed6ba700e19230c563a092c1f9ca9bfc5f75e09c3ec SHA512 b4a5251e9720b2dfa0cc1a509e01641a8969628638fe511c9dcc6aa05d4bc405d6a06faa0b809db9f6201801e0ac34e54a546db348fe99f13b167ce6d7040132
diff --git a/app-forensics/yara-x/yara-x-0.15.0.ebuild b/app-forensics/yara-x/yara-x-0.15.0.ebuild
new file mode 100644
index 000000000000..80a5d903f749
--- /dev/null
+++ b/app-forensics/yara-x/yara-x-0.15.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.15.0
+
+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/go/v${PV}/${PN}-go-v${PV}-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}
+}
next reply other threads:[~2025-05-27 8:28 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 8:28 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-06 14:30 [gentoo-commits] repo/gentoo:master commit in: app-forensics/yara-x/ Sam James
2025-09-06 14:30 Sam James
2025-09-06 14:30 Sam James
2025-08-24 5:49 Sam James
2025-08-08 20:00 Sam James
2025-07-23 2:37 Sam James
2025-07-23 2:37 Sam James
2025-07-04 20:00 Sam James
2025-06-13 0:15 Sam James
2025-06-13 0:15 Sam James
2025-06-06 0:08 Sam James
2025-06-05 21:22 Sam James
2025-04-24 18:23 Sam James
2025-04-24 18:23 Sam James
2025-04-24 18:23 Sam James
2025-04-03 15:35 Jakov Smolić
2025-02-28 8:10 Arthur Zamarin
2025-02-28 7:46 Arthur Zamarin
2025-02-16 16:36 Sam James
2025-02-16 16:36 Sam James
2025-01-21 13:13 Joonas Niilola
2024-12-01 11:54 Sam James
2024-12-01 11:54 Sam James
2024-11-23 16:12 Sam James
2024-11-09 13:54 Sam James
2024-09-14 7:09 Joonas Niilola
2024-09-14 7:09 Joonas Niilola
2024-08-28 20:35 Sam James
2024-08-10 7:24 Joonas Niilola
2024-08-10 7:24 Joonas Niilola
2024-07-26 7:40 Joonas Niilola
2024-06-17 9:39 James Le Cuirot
2024-05-31 0:38 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1748334454.eca59aad6301f7f5d3ecfcaa9a0083fbc7ec0d54.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox