public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/
Date: Wed,  5 Apr 2023 12:32:45 +0000 (UTC)	[thread overview]
Message-ID: <1680697963.a14d2ec73a862613da84bda0853d8b474cca7609.juippis@gentoo> (raw)

commit:     a14d2ec73a862613da84bda0853d8b474cca7609
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Mon Mar 27 15:22:25 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 12:32:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14d2ec7

dev-python/yara-python: add 9999

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/30367
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/yara-python/yara-python-9999.ebuild | 40 ++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/dev-python/yara-python/yara-python-9999.ebuild b/dev-python/yara-python/yara-python-9999.ebuild
new file mode 100644
index 000000000000..a4fa9fa8737f
--- /dev/null
+++ b/dev-python/yara-python/yara-python-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+inherit distutils-r1
+
+DESCRIPTION="Python interface for a malware identification and classification tool"
+HOMEPAGE="https://github.com/VirusTotal/yara-python"
+
+if [[ ${PV} == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/VirusTotal/yara-python.git"
+else
+	SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+	KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+	=app-forensics/yara-$(ver_cut 1-2)*
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest
+
+python_configure_all() {
+	cat >> setup.cfg <<-EOF
+	[build_ext]
+	dynamic_linking = True
+	EOF
+}
+
+python_test() {
+	"${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}


             reply	other threads:[~2023-04-05 12:32 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05 12:32 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-13 14:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/ Michał Górny
2025-06-15  3:50 Michał Górny
2025-06-15  1:37 Sam James
2025-06-14  9:42 Arthur Zamarin
2025-05-28  4:57 Michał Górny
2025-05-27 17:10 Michał Górny
2025-05-25  8:22 Sam James
2025-05-25  8:22 Sam James
2025-05-17 14:13 Arthur Zamarin
2025-05-17 14:13 Arthur Zamarin
2025-05-03  6:08 Michał Górny
2025-04-24 18:23 Sam James
2025-01-04 15:00 Michał Górny
2025-01-04 14:37 Sam James
2025-01-04 13:28 Arthur Zamarin
2024-12-17 20:17 Arthur Zamarin
2024-05-28  1:59 Sam James
2024-05-08  9:48 Michał Górny
2024-05-08  8:18 Michał Górny
2024-04-19 12:24 Sam James
2024-04-19 12:24 Sam James
2023-10-27  3:20 Sam James
2023-10-19  6:16 Joonas Niilola
2023-10-19  6:16 Joonas Niilola
2023-09-18  7:40 Sam James
2023-05-25 14:38 Michał Górny
2023-05-25  8:25 Arthur Zamarin
2023-05-25  8:08 Arthur Zamarin
2023-05-06  9:18 Arthur Zamarin
2023-05-06  8:58 Sam James
2023-04-25  1:57 Sam James
2023-04-05 12:32 Joonas Niilola
2023-01-30  3:27 Sam James
2022-09-26  6:15 Michał Górny
2022-09-25 23:58 Sam James
2022-09-25 23:58 Sam James
2022-08-24  0:30 Sam James
2022-08-23  5:34 Sam James
2022-08-23  5:30 Sam James
2022-07-15  0:45 Sam James
2022-07-03 17:29 Arthur Zamarin
2022-06-16  8:10 Michał Górny
2022-06-09  7:29 Sam James
2022-06-09  5:18 Sam James
2022-06-09  5:17 Sam James
2022-04-10 17:01 Sam James
2022-04-05  3:08 Sam James
2022-01-28  8:22 Sam James
2022-01-28  5:18 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=1680697963.a14d2ec73a862613da84bda0853d8b474cca7609.juippis@gentoo \
    --to=juippis@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