diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/tagpy | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/tagpy')
| -rw-r--r-- | dev-python/tagpy/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/tagpy/files/tagpy-2025.1-fix-check-taglib.patch | 23 | ||||
| -rw-r--r-- | dev-python/tagpy/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-python/tagpy/tagpy-2025.1-r1.ebuild | 40 |
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/tagpy/Manifest b/dev-python/tagpy/Manifest new file mode 100644 index 000000000000..3dd6d4702494 --- /dev/null +++ b/dev-python/tagpy/Manifest @@ -0,0 +1 @@ +DIST tagpy-2025.1.gh.tar.gz 256974 BLAKE2B 629dc6b4dd980040e2a248b2ca55a4dc1f90e5dde214602dd80c68fc55a864c34ea3e1c7849185b04a13b66eace7b865054d667f0edb007b9eb479df2b5aae19 SHA512 9842c1bcf2ca9d3ba554d1771e7296280fe9b2749fe834ddc8045fc9587b5acc2705019f0065839690b3f65f9e4e2fab42d14e0f1267367fbf446993517e3531 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 <nicolas.parlant@parhuet.fr> +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/metadata.xml b/dev-python/tagpy/metadata.xml new file mode 100644 index 000000000000..b497ae7fccb7 --- /dev/null +++ b/dev-python/tagpy/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en">TagPy is a Python crust (or a set of Python bindings) for Scott + Wheeler's TagLib. It builds upon Boost.Python, a wrapper generation + library which is part of the Boost set of C++ libraries.</longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/tagpy/tagpy-2025.1-r1.ebuild b/dev-python/tagpy/tagpy-2025.1-r1.ebuild new file mode 100644 index 000000000000..ed24e6969247 --- /dev/null +++ b/dev-python/tagpy/tagpy-2025.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python Bindings for TagLib" +HOMEPAGE=" + https://github.com/palfrey/tagpy/ + https://pypi.org/project/tagpy/ +" +SRC_URI=" + https://github.com/palfrey/tagpy/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 ~sparc x86" + +DEPEND=" + dev-libs/boost:=[python,${PYTHON_USEDEP}] + media-libs/taglib:= +" +RDEPEND=" + ${DEPEND} +" + +PATCHES=( + # https://github.com/palfrey/tagpy/pull/37 + "${FILESDIR}"/${PN}-2025.1-fix-check-taglib.patch +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest |
