* [gentoo-commits] repo/gentoo:master commit in: dev-python/tagpy/files/, dev-python/tagpy/
@ 2017-01-15 10:33 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2017-01-15 10:33 UTC (permalink / raw
To: gentoo-commits
commit: 6be98d14fa7d718eb0fb61d3bfb7d01626da6ec5
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 10:20:47 2017 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 10:32:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be98d14
dev-python/tagpy: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-python/tagpy/Manifest | 1 -
.../files/tagpy-0.94.8-taglib-1.8_compat.patch | 29 ------------
dev-python/tagpy/tagpy-0.94.8-r1.ebuild | 54 ----------------------
3 files changed, 84 deletions(-)
diff --git a/dev-python/tagpy/Manifest b/dev-python/tagpy/Manifest
index 4eab932..0c675f4 100644
--- a/dev-python/tagpy/Manifest
+++ b/dev-python/tagpy/Manifest
@@ -1,2 +1 @@
-DIST tagpy-0.94.8.tar.gz 151986 SHA256 56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc SHA512 430ae545065e5358dab6021a47b3b176934bc0901058daace35f98b645f7b087859930566d951c30e0e03d91ad46771a5bddc2a6f48a7196cf66b994699b39f1 WHIRLPOOL 164a2c56f86c7174976c9c5d55cf4097a0b992809812524a63a6c2bf4476d189fdb8dad01431ce2b62337a57d25efea90081a2291bb396345dac15f79a3d3056
DIST tagpy-2013.1.tar.gz 151463 SHA256 80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4 SHA512 4068b33fcbee2d5037149fda3ad0b256a31187ee35146392d0e187acb1d8e57c249da5356cb396cb9f027ed47ff44016466a1faaea0912494535c631f8271d58 WHIRLPOOL b47f349bc7f328ee4c18856e7f817f35868529afa0b7a820ec614cb003b3f4c4c84fabc4bd6c5a93ce12d0721e9127cf0dc806df4977fbb505934b9ba5233c20
diff --git a/dev-python/tagpy/files/tagpy-0.94.8-taglib-1.8_compat.patch b/dev-python/tagpy/files/tagpy-0.94.8-taglib-1.8_compat.patch
deleted file mode 100644
index 084ea98..00000000
--- a/dev-python/tagpy/files/tagpy-0.94.8-taglib-1.8_compat.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://github.com/inducer/tagpy/commit/d0759c0ec7d24ae8d1af395a1032521eb00b4d1f
-https://github.com/inducer/tagpy/commit/813ec4f03bb4411c7ffd15dcb3974da04a3f109c
-
---- tagpy-0.94.8/src/wrapper/id3.cpp
-+++ tagpy-0.94.8/src/wrapper/id3.cpp
-@@ -79,6 +79,10 @@
- MF_OL(setVolumeAdjustment, 1, 2);
- MF_OL(setPeakVolume, 1, 2);
-
-+ #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
-+ MF_OL(render, 0, 1)
-+ #endif
-+
- // -------------------------------------------------------------
- // MPEG
- // -------------------------------------------------------------
-@@ -212,7 +216,11 @@
- .DEF_SIMPLE_METHOD(removeFrame)
- .DEF_SIMPLE_METHOD(removeFrames)
-
-- .DEF_SIMPLE_METHOD(render)
-+ #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
-+ .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const)
-+ #else
-+ .DEF_SIMPLE_METHOD(render)
-+ #endif
- ;
- }
-
diff --git a/dev-python/tagpy/tagpy-0.94.8-r1.ebuild b/dev-python/tagpy/tagpy-0.94.8-r1.ebuild
deleted file mode 100644
index b84702a..00000000
--- a/dev-python/tagpy/tagpy-0.94.8-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
-
-inherit distutils eutils
-
-DESCRIPTION="Python Bindings for TagLib"
-HOMEPAGE="http://mathema.tician.de//software/tagpy https://pypi.python.org/pypi/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-1.48[python,threads]
- >=media-libs/taglib-1.4"
-DEPEND="${RDEPEND}
- dev-python/setuptools"
-
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
-
-src_prepare() {
- # bug #440740
- epatch "${FILESDIR}"/${P}-taglib-1.8_compat.patch
-
- # Disable broken check for Distribute.
- sed -e "s/if 'distribute' not in setuptools.__file__:/if False:/" -i aksetup_helper.py
-
- distutils_src_prepare
-}
-
-src_configure() {
- configuration() {
- "$(PYTHON)" configure.py \
- --taglib-inc-dir="${EPREFIX}/usr/include/taglib" \
- --boost-python-libname="boost_python-${PYTHON_ABI}-mt"
- }
- python_execute_function -s configuration
-}
-
-src_install() {
- distutils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins test/*
- fi
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/tagpy/files/, dev-python/tagpy/
@ 2023-02-16 14:13 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2023-02-16 14:13 UTC (permalink / raw
To: gentoo-commits
commit: 1b41250c0da133a3fbfce7a9bad91b5a05ea2e52
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 14:12:00 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 14:12:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b41250c
dev-python/tagpy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tagpy/Manifest | 1 -
dev-python/tagpy/files/tagpy-2018.1-readme.rst | 16 -------
.../tagpy/files/tagpy-2018.1-taglib-1.8.patch | 17 --------
dev-python/tagpy/tagpy-2018.1-r3.ebuild | 50 ----------------------
4 files changed, 84 deletions(-)
diff --git a/dev-python/tagpy/Manifest b/dev-python/tagpy/Manifest
index a9b938d0bf45..cae7e14312ac 100644
--- a/dev-python/tagpy/Manifest
+++ b/dev-python/tagpy/Manifest
@@ -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
diff --git a/dev-python/tagpy/files/tagpy-2018.1-readme.rst b/dev-python/tagpy/files/tagpy-2018.1-readme.rst
deleted file mode 100644
index 83bb4d2671e3..000000000000
--- a/dev-python/tagpy/files/tagpy-2018.1-readme.rst
+++ /dev/null
@@ -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.
\ No newline at end of file
diff --git a/dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch b/dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch
deleted file mode 100644
index 90c49a29af74..000000000000
--- a/dev-python/tagpy/files/tagpy-2018.1-taglib-1.8.patch
+++ /dev/null
@@ -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)
- ;
- }
-
diff --git a/dev-python/tagpy/tagpy-2018.1-r3.ebuild b/dev-python/tagpy/tagpy-2018.1-r3.ebuild
deleted file mode 100644
index c664e846c5f6..000000000000
--- a/dev-python/tagpy/tagpy-2018.1-r3.ebuild
+++ /dev/null
@@ -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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/tagpy/files/, dev-python/tagpy/
@ 2025-02-16 13:52 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2025-02-16 13:52 UTC (permalink / raw
To: gentoo-commits
commit: 3ba80c1a020efd4370fee46461f35c4c72156bc7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 13:03:26 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 13:52:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba80c1a
dev-python/tagpy: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tagpy/Manifest | 1 -
.../files/tagpy-2022.1-fix-build-taglib2.patch | 235 ---------------------
dev-python/tagpy/files/tagpy-2022.1-py3_13.patch | 13 --
dev-python/tagpy/tagpy-2022.1-r1.ebuild | 39 ----
4 files changed, 288 deletions(-)
diff --git a/dev-python/tagpy/Manifest b/dev-python/tagpy/Manifest
index 18621be5bf11..3dd6d4702494 100644
--- a/dev-python/tagpy/Manifest
+++ b/dev-python/tagpy/Manifest
@@ -1,2 +1 @@
-DIST tagpy-2022.1.gh.tar.gz 198744 BLAKE2B 1a0722017ae532444cf97171c04964453bdb6c427a49bace4ad9fe3a3be9be7f0903a9ae3fb8dbf0c8450112ed5f83677044c6b2546dddec3550d8251cef4cff SHA512 d740bf17abe6a2a7cd7fe037c024c8361d49d2ec4e8d03dbdc27c9ec273696b0a41d087a7159692e9b849e807af493f68239562da01d5191bee95060b32aabda
DIST tagpy-2025.1.gh.tar.gz 256974 BLAKE2B 629dc6b4dd980040e2a248b2ca55a4dc1f90e5dde214602dd80c68fc55a864c34ea3e1c7849185b04a13b66eace7b865054d667f0edb007b9eb479df2b5aae19 SHA512 9842c1bcf2ca9d3ba554d1771e7296280fe9b2749fe834ddc8045fc9587b5acc2705019f0065839690b3f65f9e4e2fab42d14e0f1267367fbf446993517e3531
diff --git a/dev-python/tagpy/files/tagpy-2022.1-fix-build-taglib2.patch b/dev-python/tagpy/files/tagpy-2022.1-fix-build-taglib2.patch
deleted file mode 100644
index 05512cbbc7f2..000000000000
--- a/dev-python/tagpy/files/tagpy-2022.1-fix-build-taglib2.patch
+++ /dev/null
@@ -1,235 +0,0 @@
-https://github.com/palfrey/tagpy/pull/16.patch
-diff --git a/src/wrapper/basics.cpp b/src/wrapper/basics.cpp
-index b84f672..d58f7e0 100644
---- a/src/wrapper/basics.cpp
-+++ b/src/wrapper/basics.cpp
-@@ -80,15 +80,15 @@ namespace
- String album() const { return this->get_override("album")(); }
- String comment() const { return this->get_override("comment")(); }
- String genre() const { return this->get_override("genre")(); }
-- TagLib::uint year() const { return this->get_override("year")(); }
-- TagLib::uint track() const { return this->get_override("track")(); }
-+ uint year() const { return this->get_override("year")(); }
-+ uint track() const { return this->get_override("track")(); }
- void setTitle(const String &v) const { this->get_override("setTitle")(v); }
- void setArtist(const String &v) const { this->get_override("setArtist")(v); }
- void setAlbum(const String &v) const { this->get_override("setAlbum")(v); }
- void setComment(const String &v) const { this->get_override("setComment")(v); }
- void setGenre(const String &v) const { this->get_override("setGenre")(v); }
-- void setYear(TagLib::uint i) const { this->get_override("setYear")(i); }
-- void setTrack(TagLib::uint i) const { this->get_override("setTrack")(i); }
-+ void setYear(uint i) const { this->get_override("setYear")(i); }
-+ void setTrack(uint i) const { this->get_override("setTrack")(i); }
- };
-
-
-@@ -169,7 +169,7 @@ BOOST_PYTHON_MODULE(_tagpy)
- {
- typedef AudioProperties cl;
- class_<AudioPropertiesWrap, boost::noncopyable>("AudioProperties", no_init)
-- .add_property("length", &cl::length)
-+ .add_property("length", &cl::lengthInSeconds)
- .add_property("bitrate", &cl::bitrate)
- .add_property("sampleRate", &cl::sampleRate)
- .add_property("channels", &cl::channels)
-diff --git a/src/wrapper/common.hpp b/src/wrapper/common.hpp
-index 2fbdf74..febaa16 100644
---- a/src/wrapper/common.hpp
-+++ b/src/wrapper/common.hpp
-@@ -129,7 +129,7 @@ namespace {
- // List
- // -------------------------------------------------------------
- template<typename Value>
-- Value &List_getitem(List<Value> &l, TagLib::uint i)
-+ Value &List_getitem(List<Value> &l, uint i)
- {
- if (i >= l.size())
- {
-@@ -140,7 +140,7 @@ namespace {
- }
-
- template<typename Value>
-- void List_setitem(List<Value> &l, TagLib::uint i, Value v)
-+ void List_setitem(List<Value> &l, uint i, Value v)
- {
- if (i >= l.size())
- {
-@@ -177,7 +177,7 @@ namespace {
- // PointerList
- // -------------------------------------------------------------
- template<typename Value>
-- Value *&PointerList_getitem(List<Value *> &l, TagLib::uint i)
-+ Value *&PointerList_getitem(List<Value *> &l, uint i)
- {
- if (i >= l.size())
- {
-@@ -188,7 +188,7 @@ namespace {
- }
-
- template<typename Value>
-- void PointerList_setitem(List<Value *> &l, TagLib::uint i, auto_ptr<Value> v)
-+ void PointerList_setitem(List<Value *> &l, uint i, auto_ptr<Value> v)
- {
- if (i >= l.size())
- {
-diff --git a/src/wrapper/id3.cpp b/src/wrapper/id3.cpp
-index cc0eb53..74d5923 100644
---- a/src/wrapper/id3.cpp
-+++ b/src/wrapper/id3.cpp
-@@ -58,7 +58,7 @@ namespace
-
- void id3v2_Tag_addFrame(ID3v2::Tag &t, ID3v2::Frame *f)
- {
-- ID3v2::Frame *f_clone = ID3v2::FrameFactory::instance()->createFrame(f->render());
-+ ID3v2::Frame *f_clone = ID3v2::FrameFactory::instance()->createFrame(f->render(), t.header());
- t.addFrame(f_clone);
- }
-
-@@ -71,7 +71,7 @@ namespace
- #define MF_OL(MF, MIN, MAX) \
- BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(MF##_overloads, MF, MIN, MAX);
-
-- MF_OL(createFrame, 1, 2);
-+ MF_OL(createFrame, 2, 2);
- MF_OL(volumeAdjustmentIndex, 0, 1);
- MF_OL(volumeAdjustment, 0, 1);
- MF_OL(peakVolume, 0, 1);
-@@ -121,15 +121,12 @@ void exposeID3()
- {
- typedef ID3v2::FrameFactory cl;
-
-- ID3v2::Frame *(ID3v2::FrameFactory::*cf1)(const ByteVector &, bool) const
-- = &cl::createFrame;
-- ID3v2::Frame *(ID3v2::FrameFactory::*cf2)(const ByteVector &, TagLib::uint) const
-+ ID3v2::Frame *(ID3v2::FrameFactory::*cf)(const ByteVector &, const ID3v2::Header *) const
- = &cl::createFrame;
-
- class_<ID3v2::FrameFactory, boost::noncopyable>
- ("id3v2_FrameFactory", no_init)
-- .def("createFrame", cf1, return_value_policy<manage_new_object>())
-- .def("createFrame", cf2, createFrame_overloads()[return_value_policy<manage_new_object>()])
-+ .def("createFrame", cf, createFrame_overloads()[return_value_policy<manage_new_object>()])
- .def("instance", &cl::instance,
- return_value_policy<reference_existing_object>())
- .staticmethod("instance")
-@@ -150,10 +147,10 @@ void exposeID3()
- .DEF_SIMPLE_METHOD(render)
-
- .def("headerSize",
-- (TagLib::uint (*)())
-+ (uint (*)())
- &ID3v2::Frame::headerSize)
- .def("headerSize",
-- (TagLib::uint (*)(TagLib::uint))
-+ (uint (*)(uint))
- &ID3v2::Frame::headerSize)
- // MISSING: textDelimiter
- ;
-@@ -210,7 +207,6 @@ void exposeID3()
- class_<cl, boost::noncopyable, bases<Tag> >("id3v2_Tag")
- .def("header", &ID3v2::Tag::header, return_internal_reference<>())
- .def("extendedHeader", &ID3v2::Tag::extendedHeader, return_internal_reference<>())
-- .def("footer", &ID3v2::Tag::footer, return_internal_reference<>())
-
- .def("frameListMap", &ID3v2::Tag::frameListMap, return_internal_reference<>())
- .def("frameList", fl1, return_internal_reference<>())
-@@ -224,7 +220,7 @@ void exposeID3()
- // Commented out following comment at:
- // https://github.com/inducer/tagpy/commit/fb6d9a95f8ed1b0f347a82569a13e60a75c7e6d6
- // .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)() const)
-- .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(int) const)
-+ .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(ID3v2::Version) const)
- #else
- .def("render", (ByteVector (cl::*)() const) &cl::render)
- #endif
-@@ -323,7 +319,6 @@ void exposeID3()
- ("id3v2_RelativeVolumeFrame", init<const ByteVector &>())
- // MISSING: Empty constructor, gives symbol errors
- .def("channels", id3v2_rvf_channels)
-- .DEF_SIMPLE_METHOD(setChannelType)
- .DEF_OVERLOADED_METHOD(volumeAdjustmentIndex, short (cl::*)(cl::ChannelType) const)
- .DEF_OVERLOADED_METHOD(setVolumeAdjustmentIndex, void (cl::*)(short, cl::ChannelType))
- .DEF_OVERLOADED_METHOD(volumeAdjustment, float (cl::*)(cl::ChannelType) const)
-@@ -424,7 +419,7 @@ void exposeID3()
- .def(init<const char *, ID3v2::FrameFactory *, optional<bool, AudioProperties::ReadStyle> >())
- .def("save",
- #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
-- (bool (MPEG::File::*)(int, bool, int))
-+ (bool (MPEG::File::*)(int, TagLib::File::StripTags, TagLib::ID3v2::Version, TagLib::File::DuplicateTags))
- #else
- (bool (MPEG::File::*)(int, bool))
- #endif
-@@ -444,7 +439,6 @@ void exposeID3()
- .def("strip",
- (bool (cl::*)(int)) &cl::strip,
- strip_overloads())
-- .DEF_SIMPLE_METHOD(setID3v2FrameFactory)
- .DEF_SIMPLE_METHOD(firstFrameOffset)
- .DEF_SIMPLE_METHOD(nextFrameOffset)
- .DEF_SIMPLE_METHOD(previousFrameOffset)
-diff --git a/src/wrapper/rest.cpp b/src/wrapper/rest.cpp
-index 0a94bc8..dd843bf 100644
---- a/src/wrapper/rest.cpp
-+++ b/src/wrapper/rest.cpp
-@@ -51,7 +51,7 @@ namespace
- // Ogg
- // -------------------------------------------------------------
- MF_OL(addField, 2, 3);
-- MF_OL(removeField, 1, 2);
-+ MF_OL(removeFields, 1, 2);
- MF_OL(render, 0, 1);
-
- // -------------------------------------------------------------
-@@ -62,7 +62,6 @@ namespace
- // -------------------------------------------------------------
- // MPC
- // -------------------------------------------------------------
-- MF_OL(remove, 0, 1);
- //MF_OL(ID3v1Tag, 0, 1);
- MF_OL(APETag, 0, 1);
-
-@@ -90,8 +89,8 @@ void exposeRest()
- return_internal_reference<>())
- .DEF_SIMPLE_METHOD(vendorID)
- .DEF_OVERLOADED_METHOD(addField, void (cl::*)(const String &, const String &, bool))
-- .DEF_OVERLOADED_METHOD(removeField, void (cl::*)(const String &, const String &))
-- .DEF_OVERLOADED_METHOD(removeField, void (cl::*)(const String &, const String &))
-+ .DEF_OVERLOADED_METHOD(removeFields, void (cl::*)(const String &, const String &))
-+ .DEF_OVERLOADED_METHOD(removeFields, void (cl::*)(const String &, const String &))
- .DEF_OVERLOADED_METHOD(render, ByteVector (cl::*)(bool) const)
- ;
- }
-@@ -159,10 +158,10 @@ void exposeRest()
- .def(init<const String &, const StringList &>())
- .def(init<const cl &>())
- .DEF_SIMPLE_METHOD(key)
-- .DEF_SIMPLE_METHOD(value)
-+ .DEF_SIMPLE_METHOD(binaryData)
- .DEF_SIMPLE_METHOD(size)
- .DEF_SIMPLE_METHOD(toString)
-- .DEF_SIMPLE_METHOD(toStringList)
-+ .DEF_SIMPLE_METHOD(values)
- .DEF_SIMPLE_METHOD(render)
- .DEF_SIMPLE_METHOD(parse)
- .DEF_SIMPLE_METHOD(setReadOnly)
-@@ -207,9 +206,6 @@ void exposeRest()
- (Ogg::XiphComment *(FLAC::File::*)(bool))
- &FLAC::File::xiphComment,
- xiphComment_overloads()[return_internal_reference<>()])
-- .DEF_SIMPLE_METHOD(setID3v2FrameFactory)
-- .DEF_SIMPLE_METHOD(streamInfoData)
-- .DEF_SIMPLE_METHOD(streamLength)
- ;
- }
-
-@@ -238,8 +234,8 @@ void exposeRest()
- APETag_overloads()[return_internal_reference<>()])
- .def("remove",
- (void (cl::*)(int))
-- &cl::remove,
-- remove_overloads())
-+ &cl::strip,
-+ strip_overloads())
- ;
- }
-
diff --git a/dev-python/tagpy/files/tagpy-2022.1-py3_13.patch b/dev-python/tagpy/files/tagpy-2022.1-py3_13.patch
deleted file mode 100644
index f415260daac5..000000000000
--- a/dev-python/tagpy/files/tagpy-2022.1-py3_13.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/wrapper/basics.cpp b/src/wrapper/basics.cpp
-index b84f672..ba037dc 100644
---- a/src/wrapper/basics.cpp
-+++ b/src/wrapper/basics.cpp
-@@ -51,7 +51,7 @@ namespace
- {
- static PyObject *convert(ByteVector const& s)
- {
-- return PyUnicode_FromStringAndSize(s.data(), s.size());
-+ return PyBytes_FromStringAndSize(s.data(), s.size());
- }
- };
-
diff --git a/dev-python/tagpy/tagpy-2022.1-r1.ebuild b/dev-python/tagpy/tagpy-2022.1-r1.ebuild
deleted file mode 100644
index 619d870002d8..000000000000
--- a/dev-python/tagpy/tagpy-2022.1-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2025 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_{10..13} )
-
-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=(
- "${FILESDIR}"/${P}-py3_13.patch
- "${FILESDIR}"/${P}-fix-build-taglib2.patch
-)
-
-distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-16 13:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-15 10:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/tagpy/files/, dev-python/tagpy/ Pacho Ramos
-- strict thread matches above, loose matches on Subject: below --
2023-02-16 14:13 Michał Górny
2025-02-16 13:52 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox