dev-python/tagpy: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-02-16 15:12:00 +01:00
parent d4ed253013
commit 1b41250c0d
4 changed files with 0 additions and 84 deletions

View File

@@ -1,2 +1 @@
DIST tagpy-2018.1.tar.gz 145501 BLAKE2B acdda6789dae000ba2f664e4a5582f6218f312bed20ec81c4ea54f358bec70d41aceed6704f392a7a32c39d263da81f9c832922942fa179e1865e423dcf28bcf SHA512 2010baa919adadc9fc231deeb093953622ec54c8b6011e2d6a3489b086032de0a71cc26f42439435f26bd7a1ff069e3944dafc61217abe6ea5e81b01b9d18c50
DIST tagpy-2022.1.gh.tar.gz 198744 BLAKE2B 1a0722017ae532444cf97171c04964453bdb6c427a49bace4ad9fe3a3be9be7f0903a9ae3fb8dbf0c8450112ed5f83677044c6b2546dddec3550d8251cef4cff SHA512 d740bf17abe6a2a7cd7fe037c024c8361d49d2ec4e8d03dbdc27c9ec273696b0a41d087a7159692e9b849e807af493f68239562da01d5191bee95060b32aabda

View File

@@ -1,16 +0,0 @@
TagPy is a set of Python bindings for Scott Wheeler's
`TagLib <http://developer.kde.org/~wheeler/taglib.html>`_.
It builds upon `Boost.Python <http://www.boost.org/libs/python/doc/>`_,
a wrapper generation library which is part of the renowned Boost
set of C++ libraries.
Just like TagLib, TagPy can:
* read and write ID3 tags of version 1 and 2, with many supported frame types
for version 2 (in MPEG Layer 2 and MPEG Layer 3, FLAC and MPC),
* access Xiph Comments in Ogg Vorbis Files and Ogg Flac Files,
* access APE tags in Musepack and MP3 files.
All these features have their own specific interfaces, but
TagLib's generic tag reading and writing mechanism is also
supported. It comes with a bunch of examples.

View File

@@ -1,17 +0,0 @@
diff -Naur a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp
--- a/src/wrapper/id3.cpp 2019-03-23 08:26:04.975722018 -0400
+++ b/src/wrapper/id3.cpp 2019-03-23 08:26:54.438399217 -0400
@@ -220,12 +220,7 @@
.DEF_SIMPLE_METHOD(removeFrame)
.DEF_SIMPLE_METHOD(removeFrames)
- #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
- .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)() const)
- .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const)
- #else
- .def("render", (ByteVector (cl::*)() const) &cl::render)
- #endif
+ .def("render", (ByteVector (cl::*)() const) &cl::render)
;
}

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_IN_SOURCE_BUILD=1
inherit edo distutils-r1
DESCRIPTION="Python Bindings for TagLib"
HOMEPAGE="
https://mathema.tician.de//software/tagpy
https://pypi.org/project/tagpy/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
IUSE="examples"
RDEPEND="
dev-libs/boost:=[python,${PYTHON_USEDEP}]
>=media-libs/taglib-1.8"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-taglib-1.8.patch )
distutils_enable_tests pytest
python_prepare_all() {
cp "${FILESDIR}"/${P}-readme.rst README.rst || die
distutils-r1_python_prepare_all
}
python_configure() {
local boostpy_ver="${EPYTHON#python}"
edo "${EPYTHON}" configure.py \
--taglib-inc-dir="${ESYSROOT}"/usr/include/taglib \
--boost-python-libname="boost_python${boostpy_ver/\.}"
}
python_install_all() {
if use examples; then
docinto examples
dodoc -r test/.
fi
distutils-r1_python_install_all
}