commit: a3d4e1e64e280592caf4a8c08e20b2c3a6d8c03c Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Tue Jan 14 12:08:50 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Sat Jan 25 19:45:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d4e1e6
dev-python/tagpy: fix check version taglib reverse check : https://github.com/palfrey/tagpy/pull/37.patch Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Closes: https://github.com/gentoo/gentoo/pull/40127 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> .../files/tagpy-2025.1-fix-check-taglib.patch | 23 ++++++++++++++++++++++ ...{tagpy-2025.1.ebuild => tagpy-2025.1-r1.ebuild} | 5 +++++ 2 files changed, 28 insertions(+) diff --git a/dev-python/tagpy/files/tagpy-2025.1-fix-check-taglib.patch b/dev-python/tagpy/files/tagpy-2025.1-fix-check-taglib.patch new file mode 100644 index 000000000000..cc36237ab453 --- /dev/null +++ b/dev-python/tagpy/files/tagpy-2025.1-fix-check-taglib.patch @@ -0,0 +1,23 @@ +https://github.com/palfrey/tagpy/commit/04d02c8b057a7dd8d760b1d184e8b48ec7301ff6.patch +From f873d3587357166155d381c60aae0c450eb09b45 Mon Sep 17 00:00:00 2001 +From: Nicolas PARLANT <[email protected]> +Date: Tue, 14 Jan 2025 00:52:34 +0100 +Subject: [PATCH] fix check version + +--- + src/wrapper/common.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/wrapper/common.hpp b/src/wrapper/common.hpp +index 1a5be96..5c45a68 100644 +--- a/src/wrapper/common.hpp ++++ b/src/wrapper/common.hpp +@@ -54,7 +54,7 @@ using namespace std; + + #define TAGLIB_HEX_VERSION CHECK_VERSION(TAGLIB_MAJOR_VERSION, TAGLIB_MINOR_VERSION, TAGLIB_PATCH_VERSION) + +-#if CHECK_VERSION(1,9,0) < TAGLIB_HEX_VERSION ++#if TAGLIB_HEX_VERSION < CHECK_VERSION(1,9,0) + #warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + #warning TagPy is meant to wrap TagLib 1.9 and above. + #warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/dev-python/tagpy/tagpy-2025.1.ebuild b/dev-python/tagpy/tagpy-2025.1-r1.ebuild similarity index 85% rename from dev-python/tagpy/tagpy-2025.1.ebuild rename to dev-python/tagpy/tagpy-2025.1-r1.ebuild index d7db5a0aabc2..c49b579250e1 100644 --- a/dev-python/tagpy/tagpy-2025.1.ebuild +++ b/dev-python/tagpy/tagpy-2025.1-r1.ebuild @@ -31,4 +31,9 @@ RDEPEND=" ${DEPEND} " +PATCHES=( + # https://github.com/palfrey/tagpy/pull/37 + "${FILESDIR}"/${PN}-2025.1-fix-check-taglib.patch +) + distutils_enable_tests pytest
