From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 622C413933E for ; Fri, 2 Jul 2021 07:23:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9949E089A; Fri, 2 Jul 2021 07:23:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A4732E089A for ; Fri, 2 Jul 2021 07:23:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6DAFD33FE26 for ; Fri, 2 Jul 2021 07:23:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2164E7A2 for ; Fri, 2 Jul 2021 07:23:41 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1625210614.0cbb00ef4da9356d7a13a0aab510d1b728537839.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/yara-python/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/yara-python/Manifest dev-python/yara-python/metadata.xml dev-python/yara-python/yara-python-4.1.0.ebuild X-VCS-Directories: dev-python/yara-python/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 0cbb00ef4da9356d7a13a0aab510d1b728537839 X-VCS-Branch: dev Date: Fri, 2 Jul 2021 07:23:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6190b1a9-03db-48ea-80a3-21df683cc833 X-Archives-Hash: 363c087ea923cfe891d11456f42d98da commit: 0cbb00ef4da9356d7a13a0aab510d1b728537839 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Jul 2 07:23:10 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Fri Jul 2 07:23:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0cbb00ef dev-python/yara-python: initial import Signed-off-by: Alessandro Barbieri gmail.com> dev-python/yara-python/Manifest | 1 + dev-python/yara-python/metadata.xml | 14 +++++++++++ dev-python/yara-python/yara-python-4.1.0.ebuild | 32 +++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest new file mode 100644 index 000000000..2c1e298dc --- /dev/null +++ b/dev-python/yara-python/Manifest @@ -0,0 +1 @@ +DIST yara-python-4.1.0.tar.gz 33717 BLAKE2B f3ec4a90e6d00fa9bc6fe649ce0eb373ae2e3f5fb0c9290020abcb111be10608958ae45733e8200b7199cb43b14a52b2e3ebebf794ac1ab33006467014134b62 SHA512 8b9ce780b6639ab2ee5222adec888c7e0fb6be81c7c64a8b33b033de3f261f9707aa208b7a3a86749f6e86a83fe6d73941c816857faf6eb714399d1f50239b51 diff --git a/dev-python/yara-python/metadata.xml b/dev-python/yara-python/metadata.xml new file mode 100644 index 000000000..979fdba1a --- /dev/null +++ b/dev-python/yara-python/metadata.xml @@ -0,0 +1,14 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/VirusTotal/yara-python/issues + VirusTotal/yara-python + yara-python + + diff --git a/dev-python/yara-python/yara-python-4.1.0.ebuild b/dev-python/yara-python/yara-python-4.1.0.ebuild new file mode 100644 index 000000000..0f524d839 --- /dev/null +++ b/dev-python/yara-python/yara-python-4.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +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" + +RDEPEND=" + ${PYTHON_DEPS} + =app-forensics/yara-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND}" + +distutils_enable_tests setup.py + +compile_python() { + distutils-r1_python_compile --dynamic-linking +} + +src_compile() { + python_foreach_impl compile_python +}