[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2024-05-27 Thread Sam James
commit: 7db0c7da605516ad7a55a56d5df83851e065e1b5
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sun May 26 09:56:42 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 28 01:52:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7db0c7da

dev-python/yara-python: drop 4.4.0

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/36821
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest |  1 -
 dev-python/yara-python/yara-python-4.4.0.ebuild | 41 -
 2 files changed, 42 deletions(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index d5e047024713..88f7cd99469d 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,2 +1 @@
-DIST yara-python-4.4.0.gh.tar.gz 39295 BLAKE2B 
27aa6b9fdf07cf30ec30a69c523e8a4eede52389a5565b4b083ac5d7206deaf3bcc0e2cf2fbda2fd01fce53b7ebc65e7c357705bc3244bfcc004bce2acd44e9e
 SHA512 
8c6e30929172942e6e367c889f2d141f81264d9cfc4b5f5f4d35207d4ae25393050c976db823ef74f341ac18b7ee9eef8007d88348bc79848311d4b95fb1fdbd
 DIST yara-python-4.5.0.gh.tar.gz 39301 BLAKE2B 
9bee247ef21b6e2e576acbac7cfcf140fd3b1ab992affc019f9ce290e00809e397d5057b9033f53fcd94885e855e783e4c43835850c9e6dcd57d74661ba8380b
 SHA512 
b4f091bff7fd3bcd63e7f9f0a765aac7bdb3f17a1bc4b163687ae9ca21048194d90cf2bf1165998edb9953b83e022939179c51de59862a456676f099de69778d

diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild 
b/dev-python/yara-python/yara-python-4.4.0.ebuild
deleted file mode 100644
index bde11ea7577c..
--- a/dev-python/yara-python/yara-python-4.4.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1
-
-DESCRIPTION="Python interface for a malware identification and classification 
tool"
-HOMEPAGE="https://github.com/VirusTotal/yara-python;
-
-if [[ ${PV} == "" ]]; 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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2024-05-08 Thread Michał Górny
commit: dd140154ceb5b00be9d421a79f0665d9aee65c06
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  8 09:48:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  8 09:48:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd140154

dev-python/yara-python: Stabilize 4.5.0 amd64, #931530

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/yara-python/yara-python-4.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.5.0.ebuild 
b/dev-python/yara-python/yara-python-4.5.0.ebuild
index c01240ab0d3d..bde11ea7577c 100644
--- a/dev-python/yara-python/yara-python-4.5.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.5.0.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2024-05-08 Thread Michał Górny
commit: d37e4a8c5e8523cc74342cf721ebfd45df3ee3b8
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  8 08:18:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  8 08:18:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37e4a8c

dev-python/yara-python: Stabilize 4.5.0 x86, #931530

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/yara-python/yara-python-4.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.5.0.ebuild 
b/dev-python/yara-python/yara-python-4.5.0.ebuild
index e10d2bc144f4..c01240ab0d3d 100644
--- a/dev-python/yara-python/yara-python-4.5.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.5.0.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/, dev-python/yara-python/files/

2024-04-23 Thread Michał Górny
commit: 8c1ca1e9e15eb15364f74ac7a4f82a413307b245
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Tue Apr 23 15:37:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Apr 23 15:51:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1ca1e9

dev-python/yara-python: remove unnecessary patch

Upstream did a re-release which already contained this patch.

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/36373
Signed-off-by: Michał Górny  gentoo.org>

 .../files/yara-python-4.4.0-python3_12.patch| 17 -
 dev-python/yara-python/yara-python-4.4.0.ebuild |  6 +-
 2 files changed, 1 insertion(+), 22 deletions(-)

diff --git a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch 
b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch
deleted file mode 100644
index 36bf1d60f686..
--- a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream: https://github.com/VirusTotal/yara-python/pull/244
-From c00fd68cfb2f00c4bfe4ea6465a93af2d1d1a68f Mon Sep 17 00:00:00 2001
-From: Mario Haustein 
-Date: Sat, 16 Sep 2023 17:35:36 +0200
-Subject: [PATCH] Fix unknown escape sequence
-
 a/tests.py
-+++ b/tests.py
-@@ -719,7 +719,7 @@ def testRE(self):
- 'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }',
- 'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a 
}',
- r'rule test { strings: $a = /ppi\tmi/ condition: $a }',
--'rule test { strings: $a = /ppi\.mi/ condition: $a }',
-+r'rule test { strings: $a = /ppi\.mi/ condition: $a }',
- 'rule test { strings: $a = /^mississippi/ fullword condition: $a 
}',
- 'rule test { strings: $a = /mississippi.*mississippi$/s 
condition: $a }',
- ], 'mississippi\tmississippi.mississippi\nmississippi')

diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild 
b/dev-python/yara-python/yara-python-4.4.0.ebuild
index 911515e6d4e3..bde11ea7577c 100644
--- a/dev-python/yara-python/yara-python-4.4.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -27,10 +27,6 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-PATCHES=(
-   "${FILESDIR}/${P}-python3_12.patch"
-)
-
 distutils_enable_tests unittest
 
 python_configure_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2024-04-19 Thread Sam James
commit: 33943139fa97cc21f6748cb7ef3d090170f10768
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Mon Mar  4 19:36:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 19 12:23:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33943139

dev-python/yara-python: add 4.5.0

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/35328
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest |  1 +
 dev-python/yara-python/yara-python-4.5.0.ebuild | 41 +
 2 files changed, 42 insertions(+)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 7cdc464b6e8c..d5e047024713 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1,2 @@
 DIST yara-python-4.4.0.gh.tar.gz 39295 BLAKE2B 
27aa6b9fdf07cf30ec30a69c523e8a4eede52389a5565b4b083ac5d7206deaf3bcc0e2cf2fbda2fd01fce53b7ebc65e7c357705bc3244bfcc004bce2acd44e9e
 SHA512 
8c6e30929172942e6e367c889f2d141f81264d9cfc4b5f5f4d35207d4ae25393050c976db823ef74f341ac18b7ee9eef8007d88348bc79848311d4b95fb1fdbd
+DIST yara-python-4.5.0.gh.tar.gz 39301 BLAKE2B 
9bee247ef21b6e2e576acbac7cfcf140fd3b1ab992affc019f9ce290e00809e397d5057b9033f53fcd94885e855e783e4c43835850c9e6dcd57d74661ba8380b
 SHA512 
b4f091bff7fd3bcd63e7f9f0a765aac7bdb3f17a1bc4b163687ae9ca21048194d90cf2bf1165998edb9953b83e022939179c51de59862a456676f099de69778d

diff --git a/dev-python/yara-python/yara-python-4.5.0.ebuild 
b/dev-python/yara-python/yara-python-4.5.0.ebuild
new file mode 100644
index ..e10d2bc144f4
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="Python interface for a malware identification and classification 
tool"
+HOMEPAGE="https://github.com/VirusTotal/yara-python;
+
+if [[ ${PV} == "" ]]; 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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2024-04-19 Thread Sam James
commit: a9d07668fded88f826e46f925f51ee90f6ab0577
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Mon Mar  4 19:32:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 19 12:23:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9d07668

dev-python/yara-python: update Manifest

Upstream did a re-release of the version which changed the checksum.

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 0cd5706592a1..7cdc464b6e8c 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1 @@
-DIST yara-python-4.4.0.gh.tar.gz 38072 BLAKE2B 
748dab52e99e264c7d9eb0d7d4482fb76b29f8463f031cf20687e30ae792141633d12e6b3f20303c8ee99bcdaafa01a3df9f73aaf3dd722ad5da9820e6a4d39e
 SHA512 
bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432
+DIST yara-python-4.4.0.gh.tar.gz 39295 BLAKE2B 
27aa6b9fdf07cf30ec30a69c523e8a4eede52389a5565b4b083ac5d7206deaf3bcc0e2cf2fbda2fd01fce53b7ebc65e7c357705bc3244bfcc004bce2acd44e9e
 SHA512 
8c6e30929172942e6e367c889f2d141f81264d9cfc4b5f5f4d35207d4ae25393050c976db823ef74f341ac18b7ee9eef8007d88348bc79848311d4b95fb1fdbd



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-10-26 Thread Sam James
commit: 9991c93fd9835737253bcb4d583a278755bba7aa
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Oct 19 16:25:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 03:18:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9991c93f

dev-python/yara-python: drop 4.3.1

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest |  1 -
 dev-python/yara-python/yara-python-4.3.1.ebuild | 40 -
 2 files changed, 41 deletions(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 4915913f7eb2..0cd5706592a1 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,2 +1 @@
-DIST yara-python-4.3.1.gh.tar.gz 37871 BLAKE2B 
d8b8eac6b12dc4c5c3362e8b5396fe9ff5a0b0557488ed94257ec2b7be813c870d39f78b53b3312b6b1100f4bdc81375ebf27cd21a569c5688503b81934c3881
 SHA512 
78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41
 DIST yara-python-4.4.0.gh.tar.gz 38072 BLAKE2B 
748dab52e99e264c7d9eb0d7d4482fb76b29f8463f031cf20687e30ae792141633d12e6b3f20303c8ee99bcdaafa01a3df9f73aaf3dd722ad5da9820e6a4d39e
 SHA512 
bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432

diff --git a/dev-python/yara-python/yara-python-4.3.1.ebuild 
b/dev-python/yara-python/yara-python-4.3.1.ebuild
deleted file mode 100644
index 2cc3dec49aaa..
--- a/dev-python/yara-python/yara-python-4.3.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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} == "" ]]; 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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-10-19 Thread Joonas Niilola
commit: 144021f90604001cefe0c1af829cc8c2310a1e41
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Oct 19 06:12:51 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct 19 06:12:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=144021f9

dev-python/yara-python: Stabilize 4.4.0 x86, #915974

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/yara-python/yara-python-4.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild 
b/dev-python/yara-python/yara-python-4.4.0.ebuild
index 739f0f9a923c..911515e6d4e3 100644
--- a/dev-python/yara-python/yara-python-4.4.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.4.0.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-10-19 Thread Joonas Niilola
commit: 2d18af0569750460515ee22977a84fbce836dbb1
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Oct 19 06:11:32 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct 19 06:11:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d18af05

dev-python/yara-python: Stabilize 4.4.0 amd64, #915974

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/yara-python/yara-python-4.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild 
b/dev-python/yara-python/yara-python-4.4.0.ebuild
index 8c4b6e7be136..739f0f9a923c 100644
--- a/dev-python/yara-python/yara-python-4.4.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.4.0.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-09-18 Thread Sam James
commit: 67e6f07e053260277f0f57929f839fc37d081dd8
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sun Sep 17 09:21:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 07:39:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e6f07e

dev-python/yara-python: enable py3.12, sync live

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/32874
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-.ebuild 
b/dev-python/yara-python/yara-python-.ebuild
index a4fa9fa8737f..053d1d779d51 100644
--- a/dev-python/yara-python/yara-python-.ebuild
+++ b/dev-python/yara-python/yara-python-.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
 inherit distutils-r1
 
 DESCRIPTION="Python interface for a malware identification and classification 
tool"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/, dev-python/yara-python/files/

2023-09-18 Thread Sam James
commit: b7eedfb301845df08ede76686c8d8cc327d01d89
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Sun Sep 17 09:21:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 18 07:39:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7eedfb3

dev-python/yara-python: add 4.4.0

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest|  1 +
 .../files/yara-python-4.4.0-python3_12.patch   | 17 
 dev-python/yara-python/yara-python-4.4.0.ebuild| 45 ++
 3 files changed, 63 insertions(+)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index eb0fb2a1152d..4915913f7eb2 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1,2 @@
 DIST yara-python-4.3.1.gh.tar.gz 37871 BLAKE2B 
d8b8eac6b12dc4c5c3362e8b5396fe9ff5a0b0557488ed94257ec2b7be813c870d39f78b53b3312b6b1100f4bdc81375ebf27cd21a569c5688503b81934c3881
 SHA512 
78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41
+DIST yara-python-4.4.0.gh.tar.gz 38072 BLAKE2B 
748dab52e99e264c7d9eb0d7d4482fb76b29f8463f031cf20687e30ae792141633d12e6b3f20303c8ee99bcdaafa01a3df9f73aaf3dd722ad5da9820e6a4d39e
 SHA512 
bc72c2f65e3fe3d7f94728565143b787df6cc63313a3e8b9f159a5cfc3c947f5233674a1213fd2c6454f6165b676da366319794f9fa7c695c43e5523c29a1432

diff --git a/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch 
b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch
new file mode 100644
index ..36bf1d60f686
--- /dev/null
+++ b/dev-python/yara-python/files/yara-python-4.4.0-python3_12.patch
@@ -0,0 +1,17 @@
+Upstream: https://github.com/VirusTotal/yara-python/pull/244
+From c00fd68cfb2f00c4bfe4ea6465a93af2d1d1a68f Mon Sep 17 00:00:00 2001
+From: Mario Haustein 
+Date: Sat, 16 Sep 2023 17:35:36 +0200
+Subject: [PATCH] Fix unknown escape sequence
+
+--- a/tests.py
 b/tests.py
+@@ -719,7 +719,7 @@ def testRE(self):
+ 'rule test { strings: $a = /[M-N]iss/ nocase condition: $a }',
+ 'rule test { strings: $a = /(Mi|ssi)ssippi/ nocase condition: $a 
}',
+ r'rule test { strings: $a = /ppi\tmi/ condition: $a }',
+-'rule test { strings: $a = /ppi\.mi/ condition: $a }',
++r'rule test { strings: $a = /ppi\.mi/ condition: $a }',
+ 'rule test { strings: $a = /^mississippi/ fullword condition: $a 
}',
+ 'rule test { strings: $a = /mississippi.*mississippi$/s 
condition: $a }',
+ ], 'mississippi\tmississippi.mississippi\nmississippi')

diff --git a/dev-python/yara-python/yara-python-4.4.0.ebuild 
b/dev-python/yara-python/yara-python-4.4.0.ebuild
new file mode 100644
index ..8c4b6e7be136
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="Python interface for a malware identification and classification 
tool"
+HOMEPAGE="https://github.com/VirusTotal/yara-python;
+
+if [[ ${PV} == "" ]]; 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}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-python3_12.patch"
+)
+
+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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-05-25 Thread Michał Górny
commit: 9941f639004fa226ab5415d5c4173dafef09c12d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 25 12:48:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 25 14:38:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9941f639

dev-python/yara-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/yara-python/Manifest |  2 --
 dev-python/yara-python/yara-python-4.2.3.ebuild | 33 
 dev-python/yara-python/yara-python-4.3.0.ebuild | 40 -
 3 files changed, 75 deletions(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index e80faf540170..eb0fb2a1152d 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,3 +1 @@
-DIST yara-python-4.2.3.gh.tar.gz 34465 BLAKE2B 
4b9689cef21f9c712960d08c357087f0278d8c20cef3a16072a005a4f8687999aa273c02c22ea9c6d5ea9a6b609c1a6f4c51f01b04f238e9e1faeeaef275d88b
 SHA512 
588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be
-DIST yara-python-4.3.0.gh.tar.gz 37826 BLAKE2B 
2a06e462af5b3ef5098b650687f1953e51f53858dc9c22b0e9358641fa20f3f5c2b7f3b824b5b8195408e3e2bfaa05afedc851a326486454d9f3eadeecd3fe33
 SHA512 
c45bb57179b4191e6fb5577f42abb280dad91832720ad1712de8a2ea42adc5e3604079b2d8d0020ba86ece4043e749a54677e10cd2bc172a1480e57f1fef
 DIST yara-python-4.3.1.gh.tar.gz 37871 BLAKE2B 
d8b8eac6b12dc4c5c3362e8b5396fe9ff5a0b0557488ed94257ec2b7be813c870d39f78b53b3312b6b1100f4bdc81375ebf27cd21a569c5688503b81934c3881
 SHA512 
78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41

diff --git a/dev-python/yara-python/yara-python-4.2.3.ebuild 
b/dev-python/yara-python/yara-python-4.2.3.ebuild
deleted file mode 100644
index 9ff3e50e376c..
--- a/dev-python/yara-python/yara-python-4.2.3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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;
-SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-
-RDEPEND="${PYTHON_DEPS}
-   =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}"
-}

diff --git a/dev-python/yara-python/yara-python-4.3.0.ebuild 
b/dev-python/yara-python/yara-python-4.3.0.ebuild
deleted file mode 100644
index 2cc3dec49aaa..
--- a/dev-python/yara-python/yara-python-4.3.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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} == "" ]]; 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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-05-25 Thread Arthur Zamarin
commit: f9f985158906123b22cf389e0383313bb4f17dd2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May 25 08:24:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May 25 08:24:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f98515

dev-python/yara-python: Stabilize 4.3.1 amd64, #907151

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/yara-python/yara-python-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.3.1.ebuild 
b/dev-python/yara-python/yara-python-4.3.1.ebuild
index 45e972b60f6d..2cc3dec49aaa 100644
--- a/dev-python/yara-python/yara-python-4.3.1.ebuild
+++ b/dev-python/yara-python/yara-python-4.3.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-05-25 Thread Arthur Zamarin
commit: 8b7362e017844b34afa17950ac4d0f5f54104c1a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May 25 08:08:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May 25 08:08:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7362e0

dev-python/yara-python: Stabilize 4.3.1 x86, #907151

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/yara-python/yara-python-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.3.1.ebuild 
b/dev-python/yara-python/yara-python-4.3.1.ebuild
index a4fa9fa8737f..45e972b60f6d 100644
--- a/dev-python/yara-python/yara-python-4.3.1.ebuild
+++ b/dev-python/yara-python/yara-python-4.3.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-05-06 Thread Arthur Zamarin
commit: 8fa846736e60d4d9196a921be888a20e194ef2d1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:18:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:18:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa84673

dev-python/yara-python: Stabilize 4.3.0 x86, #905796

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/yara-python/yara-python-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.3.0.ebuild 
b/dev-python/yara-python/yara-python-4.3.0.ebuild
index 0dfe73f85ca9..2cc3dec49aaa 100644
--- a/dev-python/yara-python/yara-python-4.3.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.3.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-05-06 Thread Sam James
commit: 5f5a10389ef988ae467c1c049ed4501865532117
Author: Sam James  gentoo  org>
AuthorDate: Sat May  6 08:57:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  6 08:57:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5a1038

dev-python/yara-python: Stabilize 4.3.0 amd64, #905796

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.3.0.ebuild 
b/dev-python/yara-python/yara-python-4.3.0.ebuild
index a4fa9fa8737f..0dfe73f85ca9 100644
--- a/dev-python/yara-python/yara-python-4.3.0.ebuild
+++ b/dev-python/yara-python/yara-python-4.3.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
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"
+   KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-04-24 Thread Sam James
commit: 79178489a14a48d86cd1e1458c4ce0b1b65aaf46
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Mon Apr 24 18:54:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 25 01:57:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79178489

dev-python/yara-python: add 4.3.1

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/30738
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest |  1 +
 dev-python/yara-python/yara-python-4.3.1.ebuild | 40 +
 2 files changed, 41 insertions(+)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index cb89bd05dcc7..e80faf540170 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,2 +1,3 @@
 DIST yara-python-4.2.3.gh.tar.gz 34465 BLAKE2B 
4b9689cef21f9c712960d08c357087f0278d8c20cef3a16072a005a4f8687999aa273c02c22ea9c6d5ea9a6b609c1a6f4c51f01b04f238e9e1faeeaef275d88b
 SHA512 
588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be
 DIST yara-python-4.3.0.gh.tar.gz 37826 BLAKE2B 
2a06e462af5b3ef5098b650687f1953e51f53858dc9c22b0e9358641fa20f3f5c2b7f3b824b5b8195408e3e2bfaa05afedc851a326486454d9f3eadeecd3fe33
 SHA512 
c45bb57179b4191e6fb5577f42abb280dad91832720ad1712de8a2ea42adc5e3604079b2d8d0020ba86ece4043e749a54677e10cd2bc172a1480e57f1fef
+DIST yara-python-4.3.1.gh.tar.gz 37871 BLAKE2B 
d8b8eac6b12dc4c5c3362e8b5396fe9ff5a0b0557488ed94257ec2b7be813c870d39f78b53b3312b6b1100f4bdc81375ebf27cd21a569c5688503b81934c3881
 SHA512 
78cd53f756967ef79cc742acffaeea53631ee475c07efd1506eba7e0630b2e570ba03686da1fa3247c9339faa67daf6c372913731b73233626661c0a9f575e41

diff --git a/dev-python/yara-python/yara-python-4.3.1.ebuild 
b/dev-python/yara-python/yara-python-4.3.1.ebuild
new file mode 100644
index ..a4fa9fa8737f
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.3.1.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} == "" ]]; 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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-04-05 Thread Joonas Niilola
commit: de01b95fdc40343d89d0eff77cd34a34473c5354
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Mon Mar 27 15:22:16 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Apr  5 12:32:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de01b95f

dev-python/yara-python: add 4.3.0

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/yara-python/Manifest |  1 +
 dev-python/yara-python/yara-python-4.3.0.ebuild | 40 +
 2 files changed, 41 insertions(+)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 220814f1fb58..cb89bd05dcc7 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1,2 @@
 DIST yara-python-4.2.3.gh.tar.gz 34465 BLAKE2B 
4b9689cef21f9c712960d08c357087f0278d8c20cef3a16072a005a4f8687999aa273c02c22ea9c6d5ea9a6b609c1a6f4c51f01b04f238e9e1faeeaef275d88b
 SHA512 
588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be
+DIST yara-python-4.3.0.gh.tar.gz 37826 BLAKE2B 
2a06e462af5b3ef5098b650687f1953e51f53858dc9c22b0e9358641fa20f3f5c2b7f3b824b5b8195408e3e2bfaa05afedc851a326486454d9f3eadeecd3fe33
 SHA512 
c45bb57179b4191e6fb5577f42abb280dad91832720ad1712de8a2ea42adc5e3604079b2d8d0020ba86ece4043e749a54677e10cd2bc172a1480e57f1fef

diff --git a/dev-python/yara-python/yara-python-4.3.0.ebuild 
b/dev-python/yara-python/yara-python-4.3.0.ebuild
new file mode 100644
index ..a4fa9fa8737f
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.3.0.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} == "" ]]; 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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

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

dev-python/yara-python: add 

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

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

diff --git a/dev-python/yara-python/yara-python-.ebuild 
b/dev-python/yara-python/yara-python-.ebuild
new file mode 100644
index ..a4fa9fa8737f
--- /dev/null
+++ b/dev-python/yara-python/yara-python-.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} == "" ]]; 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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2023-01-29 Thread Sam James
commit: 68aa812e63a6ed4e31ec6ad3050c4adfae710671
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 30 03:27:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 30 03:27:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68aa812e

dev-python/yara-python: Keyword 4.2.3 arm64, #892543

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.2.3.ebuild 
b/dev-python/yara-python/yara-python-4.2.3.ebuild
index 5b935af5279a..9ff3e50e376c 100644
--- a/dev-python/yara-python/yara-python-4.2.3.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 
 RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-$(ver_cut 1-2)*"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-09-26 Thread Michał Górny
commit: 215adfd11abafaea0a3139b3a9c6d17a108ebadd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 26 06:14:56 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 26 06:14:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=215adfd1

dev-python/yara-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/yara-python/Manifest|  1 -
 dev-python/yara-python/yara-python-4.2.0-r2.ebuild | 33 --
 2 files changed, 34 deletions(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 7fb67ee0f0f7..220814f1fb58 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,2 +1 @@
-DIST yara-python-4.2.0.gh.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4
 DIST yara-python-4.2.3.gh.tar.gz 34465 BLAKE2B 
4b9689cef21f9c712960d08c357087f0278d8c20cef3a16072a005a4f8687999aa273c02c22ea9c6d5ea9a6b609c1a6f4c51f01b04f238e9e1faeeaef275d88b
 SHA512 
588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be

diff --git a/dev-python/yara-python/yara-python-4.2.0-r2.ebuild 
b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
deleted file mode 100644
index 2f1859d230b0..
--- a/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-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}.gh.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
-
-RDEPEND="${PYTHON_DEPS}
-   =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}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-09-25 Thread Sam James
commit: 8d948afb2c27dd9d3aec1f210912808b832f5c25
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 23:56:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 23:56:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d948afb

dev-python/yara-python: Stabilize 4.2.3 x86, #872845

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.2.3.ebuild 
b/dev-python/yara-python/yara-python-4.2.3.ebuild
index 31d956a381a0..e9485f5ed382 100644
--- a/dev-python/yara-python/yara-python-4.2.3.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 x86"
 
 RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-$(ver_cut 1-2)*"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-09-25 Thread Sam James
commit: 209795f6b1a5490bcdabf84d95a6a228e98517d7
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 25 23:54:52 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 23:56:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=209795f6

dev-python/yara-python: Stabilize 4.2.3 amd64, #872845

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.2.3.ebuild 
b/dev-python/yara-python/yara-python-4.2.3.ebuild
index e4fa379a2709..31d956a381a0 100644
--- a/dev-python/yara-python/yara-python-4.2.3.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 ~x86"
 
 RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-$(ver_cut 1-2)*"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-08-23 Thread Sam James
commit: e0a3aa3f40e45b5ad87705db8c08759c6ece1c96
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Tue Aug 23 15:34:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 24 00:30:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a3aa3f

dev-python/yara-python: update Manifest

Tthere are two release notifications from GitHub in my mailbox, one
dated at Tue, 09 Aug 2022 07:51:47 UTC and one at Tue, 09 Aug 2022 14:18:40 UTC
concerning version 4.2.3. My commit was at Tue Aug 9 11:38:20 2022 UTC right
between the two releases. It seems upstream amended the release after my pull 
request.

Diff between old version & new is fine.

Closes: https://bugs.gentoo.org/866115
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/26979
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index 0821999b4538..7fb67ee0f0f7 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,2 +1,2 @@
 DIST yara-python-4.2.0.gh.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4
-DIST yara-python-4.2.3.gh.tar.gz 34466 BLAKE2B 
a4c1435a73163cacc445e50d0651306b06df9ceffc1f01eb03b440325a3463672c3829ff48d4b45fa3cdb54e52c7661636b46c81aad39e3b51da0995e192f728
 SHA512 
d6d083cafe759e47ed1497f97df12679e75e647850696b20d0335d4693ba82970e3bfb23e8e975b4c6f813a8f3f439e96ad9e97d3a7766bb0472d156b1039f83
+DIST yara-python-4.2.3.gh.tar.gz 34465 BLAKE2B 
4b9689cef21f9c712960d08c357087f0278d8c20cef3a16072a005a4f8687999aa273c02c22ea9c6d5ea9a6b609c1a6f4c51f01b04f238e9e1faeeaef275d88b
 SHA512 
588875d820f4e1b2aa5c6bbe83814ba2756f5ed301ba652efd280d5ca9745f7388f1f9eaa3875d11de5644ce9c41dcb76eebbee86269f8d6723c7d16ffa134be



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-08-22 Thread Sam James
commit: 75595557ee6ac3052cc696191272c9abb77935a7
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 23 05:33:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:33:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75595557

dev-python/yara-python: add proxy-maint too

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/yara-python/metadata.xml 
b/dev-python/yara-python/metadata.xml
index 132e95cb36b9..da2280735cfd 100644
--- a/dev-python/yara-python/metadata.xml
+++ b/dev-python/yara-python/metadata.xml
@@ -9,6 +9,10 @@
s...@gentoo.org
Sam James

+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

With this library you can use YARA from your Python programs. 
It covers
all YARA's features, from compiling, saving and loading rules to



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-08-22 Thread Sam James
commit: cec62a9a65361ddca152837e838325ae641a2f1d
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Tue Aug  9 11:38:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:24:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec62a9a

dev-python/yara-python: add 4.2.3

Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/26794
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest |  1 +
 dev-python/yara-python/yara-python-4.2.3.ebuild | 33 +
 2 files changed, 34 insertions(+)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index c343c2d42c6e..0821999b4538 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1,2 @@
 DIST yara-python-4.2.0.gh.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4
+DIST yara-python-4.2.3.gh.tar.gz 34466 BLAKE2B 
a4c1435a73163cacc445e50d0651306b06df9ceffc1f01eb03b440325a3463672c3829ff48d4b45fa3cdb54e52c7661636b46c81aad39e3b51da0995e192f728
 SHA512 
d6d083cafe759e47ed1497f97df12679e75e647850696b20d0335d4693ba82970e3bfb23e8e975b4c6f813a8f3f439e96ad9e97d3a7766bb0472d156b1039f83

diff --git a/dev-python/yara-python/yara-python-4.2.3.ebuild 
b/dev-python/yara-python/yara-python-4.2.3.ebuild
new file mode 100644
index ..e4fa379a2709
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+inherit distutils-r1
+
+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}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND="${PYTHON_DEPS}
+   =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}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-07-14 Thread Sam James
commit: f6e1f3dc07232e31e303b1cfaf7d5068b201b35b
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 15 00:44:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 15 00:44:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6e1f3dc

dev-python/yara-python: Stabilize 4.2.0-r2 amd64, #857969

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.2.0-r2.ebuild 
b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
index 6c4f26c48de8..2f1859d230b0 100644
--- a/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 x86"
+KEYWORDS="amd64 ~ppc64 x86"
 
 RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-$(ver_cut 1-2)*"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-07-03 Thread Arthur Zamarin
commit: ba410bcca6589d0c74ebd7f438914a20c93b9b02
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul  3 17:28:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul  3 17:28:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba410bcc

dev-python/yara-python: Keyword 4.2.0-r2 ppc64, #856046

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/yara-python/yara-python-4.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/yara-python-4.2.0-r2.ebuild 
b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
index c812ebe88b86..e3c6d99d720a 100644
--- a/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> ${P}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 
 RDEPEND="${PYTHON_DEPS}
=app-forensics/yara-$(ver_cut 1-2)*"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-06-16 Thread Michał Górny
commit: 54b1d3ead69c9d0338f84c0c870706816520a585
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 16 08:09:26 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 16 08:09:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54b1d3ea

dev-python/yara-python: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/yara-python/Manifest |  1 -
 dev-python/yara-python/yara-python-4.2.0.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index ddeb05c57a8b..c343c2d42c6e 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1,2 +1 @@
 DIST yara-python-4.2.0.gh.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4
-DIST yara-python-4.2.0.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4

diff --git a/dev-python/yara-python/yara-python-4.2.0.ebuild 
b/dev-python/yara-python/yara-python-4.2.0.ebuild
deleted file mode 100644
index c9eca9c95ffd..
--- a/dev-python/yara-python/yara-python-4.2.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-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 ~x86"
-
-RDEPEND="${PYTHON_DEPS}
-   =app-forensics/yara-$(ver_cut 1-2)*"
-DEPEND="${RDEPEND}"
-
-distutils_enable_tests unittest
-
-src_compile() {
-   compile_python() {
-   distutils-r1_python_compile --dynamic-linking
-   }
-   python_foreach_impl compile_python
-}
-
-python_test() {
-   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-06-09 Thread Sam James
commit: bd5608b95a8b57f9c3eca99fec9a326d4b81952f
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 07:29:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 07:29:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5608b9

dev-python/yara-python: fix option passing

Closes: https://bugs.gentoo.org/850619
Signed-off-by: Sam James  gentoo.org>

 .../{yara-python-4.2.0-r1.ebuild => yara-python-4.2.0-r2.ebuild}   | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild 
b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
similarity index 88%
rename from dev-python/yara-python/yara-python-4.2.0-r1.ebuild
rename to dev-python/yara-python/yara-python-4.2.0-r2.ebuild
index 5f05588894f8..c812ebe88b86 100644
--- a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.0-r2.ebuild
@@ -21,8 +21,11 @@ DEPEND="${RDEPEND}"
 
 distutils_enable_tests unittest
 
-python_compile() {
-   distutils-r1_python_compile --dynamic-linking
+python_configure_all() {
+   cat >> setup.cfg <<-EOF
+   [build_ext]
+   dynamic-linking = True
+   EOF
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-06-08 Thread Sam James
commit: c4436faa1cd0d45470ed2449847bbbc9278ce796
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 05:18:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 05:18:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4436faa

dev-python/yara-python: update SRC_URI

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest| 1 +
 dev-python/yara-python/yara-python-4.2.0-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index f7f693916484..ddeb05c57a8b 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1,2 @@
+DIST yara-python-4.2.0.gh.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4
 DIST yara-python-4.2.0.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4

diff --git a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild 
b/dev-python/yara-python/yara-python-4.2.0-r1.ebuild
index fa16ee3db1f1..5f05588894f8 100644
--- a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild
+++ b/dev-python/yara-python/yara-python-4.2.0-r1.ebuild
@@ -9,7 +9,7 @@ inherit distutils-r1
 
 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"
+SRC_URI="https://github.com/virustotal/yara-python/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-06-08 Thread Sam James
commit: 66e8373eefd379b9e2424b696abe7094e4e292eb
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 05:16:52 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 05:17:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e8373e

dev-python/yara-python: fix python_compile

We shouldn't be using foreach_impl w/ distutils-r1 (at least
when D_U_PEP517!=no)

Closes: https://bugs.gentoo.org/850619
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.2.0-r1.ebuild | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/dev-python/yara-python/yara-python-4.2.0-r1.ebuild 
b/dev-python/yara-python/yara-python-4.2.0-r1.ebuild
new file mode 100644
index ..fa16ee3db1f1
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.2.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+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 ~x86"
+
+RDEPEND="${PYTHON_DEPS}
+   =app-forensics/yara-$(ver_cut 1-2)*"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest
+
+python_compile() {
+   distutils-r1_python_compile --dynamic-linking
+}
+
+python_test() {
+   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-04-10 Thread Sam James
commit: dc4fd89f704f192def7c54f23cf7b4c9523d1261
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 10 16:58:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 10 16:58:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4fd89f

dev-python/yara-python: add pypi upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/yara-python/metadata.xml 
b/dev-python/yara-python/metadata.xml
index 3deeac8d2e7a..132e95cb36b9 100644
--- a/dev-python/yara-python/metadata.xml
+++ b/dev-python/yara-python/metadata.xml
@@ -16,5 +16,6 @@


VirusTotal/yara-python
+   yara-python

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-04-04 Thread Sam James
commit: a0d25650bbca63f6c2469880e0b347a5f694f3f1
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Thu Mar 10 15:48:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  5 02:54:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d25650

dev-python/yara-python: version bump 4.2.0

adding python tests

Closes: https://bugs.gentoo.org/800275
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Mario Haustein  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/24465
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/Manifest |  1 +
 dev-python/yara-python/yara-python-4.2.0.ebuild | 33 +
 2 files changed, 34 insertions(+)

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
index eaf58cf3e445..de63fb4af0d1 100644
--- a/dev-python/yara-python/Manifest
+++ b/dev-python/yara-python/Manifest
@@ -1 +1,2 @@
 DIST yara-python-4.1.3.tar.gz 33712 BLAKE2B 
7878d12620f2834578c98a99bc259422d8ac54efc04ebd29ffa604c15b0462607ce950b3e19f8e80db07195e61dedb4efc8c2ffb18a0c5de0bf2755fe62776d1
 SHA512 
9c96ae78df7694dd55b8bdde4fad49043f120b94477fa9d7090610665072626eba4fa410cd9292205e0b18bb9f384f07288c0340232e163294b91051b84dcab2
+DIST yara-python-4.2.0.tar.gz 34459 BLAKE2B 
fce460385eaa75dd1779fe49c7937ff36d7604433deb310b6fe9e66af9ea521952f92bee61829372cf19c7efee170329609530f1f9e863991720e4887c3c1349
 SHA512 
ba08d709fc51679ec9fe36165e0864b79fc241f85c681bf59823fe7bb0e34e928cded050ff296147eb5bcb837485f39949aa93425a0eb9ca8b3730e60fac93f4

diff --git a/dev-python/yara-python/yara-python-4.2.0.ebuild 
b/dev-python/yara-python/yara-python-4.2.0.ebuild
new file mode 100644
index ..c9eca9c95ffd
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+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 ~x86"
+
+RDEPEND="${PYTHON_DEPS}
+   =app-forensics/yara-$(ver_cut 1-2)*"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest
+
+src_compile() {
+   compile_python() {
+   distutils-r1_python_compile --dynamic-linking
+   }
+   python_foreach_impl compile_python
+}
+
+python_test() {
+   "${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-01-28 Thread Sam James
commit: cdffec2c5ecf75ff3db3c0843619bf896507aac9
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 28 08:21:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 08:21:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdffec2c

dev-python/yara-python: add proxied attribute

Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/yara-python/metadata.xml 
b/dev-python/yara-python/metadata.xml
index 05c387a64124..3deeac8d2e7a 100644
--- a/dev-python/yara-python/metadata.xml
+++ b/dev-python/yara-python/metadata.xml
@@ -1,7 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
mario.haust...@hrz.tu-chemnitz.de
Mario Haustein




[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/

2022-01-27 Thread Sam James
commit: f6ef74b63e177786e2af3f7a95fa87aba733a988
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 28 04:34:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 05:16:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6ef74b6

dev-python/yara-python: run tests, convert to PEP517

Closes: https://bugs.gentoo.org/576956
See: https://github.com/gentoo/gentoo/pull/23800
Signed-off-by: Sam James  gentoo.org>

 dev-python/yara-python/yara-python-4.1.3.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/yara-python/yara-python-4.1.3.ebuild 
b/dev-python/yara-python/yara-python-4.1.3.ebuild
index 54194680cc20..a8ccc85b7d96 100644
--- a/dev-python/yara-python/yara-python-4.1.3.ebuild
+++ b/dev-python/yara-python/yara-python-4.1.3.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
-
 inherit distutils-r1
 
 DESCRIPTION="Python interface for a malware identification and classification 
tool"
@@ -16,9 +16,11 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="${PYTHON_DEPS}
-   =app-forensics/yara-4.1*"
+   =app-forensics/yara-$(ver_cut 1-2)*"
 DEPEND="${RDEPEND}"
 
+distutils_enable_tests unittest
+
 src_compile() {
compile_python() {
distutils-r1_python_compile --dynamic-linking



[gentoo-commits] repo/gentoo:master commit in: dev-python/yara-python/, app-forensics/yara/

2022-01-27 Thread Sam James
commit: 1bc23b7928c622b87d069fd58ca7f43686e83f29
Author: Mario Haustein  hrz  tu-chemnitz  de>
AuthorDate: Fri Jan 14 23:58:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 05:15:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc23b79

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  hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/23800
Signed-off-by: Sam James  gentoo.org>

 app-forensics/yara/metadata.xml |  1 +
 app-forensics/yara/yara-4.1.3.ebuild|  3 ++-
 app-forensics/yara/yara-4.2.0_rc1.ebuild|  3 ++-
 dev-python/yara-python/Manifest |  1 +
 dev-python/yara-python/metadata.xml | 20 ++
 dev-python/yara-python/yara-python-4.1.3.ebuild | 27 +
 6 files changed, 53 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 @@
Enable macho module
Enable magic module
Enable rules profiling
+   Pulls in python binding via 
dev-python/yara-python


VirusTotal/yara

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/_/-}"
 

diff --git a/dev-python/yara-python/Manifest b/dev-python/yara-python/Manifest
new file mode 100644
index ..eaf58cf3e445
--- /dev/null
+++ b/dev-python/yara-python/Manifest
@@ -0,0 +1 @@
+DIST yara-python-4.1.3.tar.gz 33712 BLAKE2B 
7878d12620f2834578c98a99bc259422d8ac54efc04ebd29ffa604c15b0462607ce950b3e19f8e80db07195e61dedb4efc8c2ffb18a0c5de0bf2755fe62776d1
 SHA512 
9c96ae78df7694dd55b8bdde4fad49043f120b94477fa9d7090610665072626eba4fa410cd9292205e0b18bb9f384f07288c0340232e163294b91051b84dcab2

diff --git a/dev-python/yara-python/metadata.xml 
b/dev-python/yara-python/metadata.xml
new file mode 100644
index ..05c387a64124
--- /dev/null
+++ b/dev-python/yara-python/metadata.xml
@@ -0,0 +1,20 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mario.haust...@hrz.tu-chemnitz.de
+   Mario Haustein
+   
+   
+   s...@gentoo.org
+   Sam James
+   
+   
+   With this library you can use YARA from your Python programs. 
It covers
+   all YARA's features, from compiling, saving and loading rules to
+   scanning files, strings and processes.
+   
+   
+   VirusTotal/yara-python
+   
+

diff --git a/dev-python/yara-python/yara-python-4.1.3.ebuild 
b/dev-python/yara-python/yara-python-4.1.3.ebuild
new file mode 100644
index ..54194680cc20
--- /dev/null
+++ b/dev-python/yara-python/yara-python-4.1.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+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 ~x86"
+
+RDEPEND="${PYTHON_DEPS}
+   =app-forensics/yara-4.1*"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+   compile_python() {
+