commit: 8c1ca1e9e15eb15364f74ac7a4f82a413307b245 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Tue Apr 23 15:37:54 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Apr 23 15:51:33 2024 +0000 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 <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/36373 Signed-off-by: Michał Górny <mgorny <AT> 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..000000000000 --- 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 <[email protected]> -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() {
