git: d725f5349c8c - main - audio/py-tagpy: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 30 Sep 2024 19:06:13 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d725f5349c8c5c0950d2134b7671718675287f20

commit d725f5349c8c5c0950d2134b7671718675287f20
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-09-30 19:05:41 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-09-30 19:05:44 +0000

    audio/py-tagpy: Remove expired port
    
    2024-09-30 audio/py-tagpy: Abandonded upstream
---
 MOVED                                             |  1 +
 audio/Makefile                                    |  1 -
 audio/py-tagpy/Makefile                           | 33 ------------
 audio/py-tagpy/distinfo                           |  3 --
 audio/py-tagpy/files/patch-src_wrapper_common.hpp | 14 -----
 audio/py-tagpy/files/patch-src_wrapper_id3.cpp    | 58 --------------------
 audio/py-tagpy/files/patch-src_wrapper_rest.cpp   | 66 -----------------------
 audio/py-tagpy/pkg-descr                          | 10 ----
 8 files changed, 1 insertion(+), 185 deletions(-)

diff --git a/MOVED b/MOVED
index 3851073305cf..d8749b4bf43a 100644
--- a/MOVED
+++ b/MOVED
@@ -3490,3 +3490,4 @@ security/nextcloud-twofactor_nextcloud_notification||2024-09-27|Removed, bundled
 textproc/hs-pandoc32|textproc/hs-pandoc|2024-09-29|the only user changed to textproc/hs-pandoc
 archivers/librtfcomp||2024-09-30|Remove expired port. Latest version was released in 2013. There is no consumers in the ports tree
 misc/raspberrypi-userland||2024-09-30|Has expired: Deprecated by the upstream
+audio/py-tagpy||2024-09-30|Has expired: Abandonded upstream
diff --git a/audio/Makefile b/audio/Makefile
index d155bcd63639..e61104de9d6f 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -673,7 +673,6 @@
     SUBDIR += py-soxr
     SUBDIR += py-speechrecognition
     SUBDIR += py-spotipy
-    SUBDIR += py-tagpy
     SUBDIR += py-torchaudio
     SUBDIR += py-vosk
     SUBDIR += py-wavio
diff --git a/audio/py-tagpy/Makefile b/audio/py-tagpy/Makefile
deleted file mode 100644
index 2568ef1c795b..000000000000
--- a/audio/py-tagpy/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-PORTNAME=	tagpy
-PORTVERSION=	2022.1
-PORTREVISION=	0
-CATEGORIES=	audio python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER=	nivit@FreeBSD.org
-COMMENT=	Python bindings for Scott Wheeler's TagLib
-WWW=		https://mathema.tician.de/software/tagpy
-
-LICENSE=	MIT
-
-BROKEN=		does not build with audio/taglib 2.x
-EXPIRATION_DATE=2024-09-30
-
-LIB_DEPENDS=	${PY_BOOST} \
-		libtag.so:audio/taglib
-
-USES=		compiler:c++11-lang python shebangfix
-USE_PYTHON=	autoplist distutils
-
-PYDISTUTILS_BUILD_TARGET=	build_ext
-PYDISTUTILS_BUILDARGS=	--include-dirs="${LOCALBASE}/include/taglib" \
-			--include-dirs="${LOCALBASE}/include" \
-			--library-dirs="${LOCALBASE}/lib"
-
-CPPFLAGS+=	-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_tagpy.cpython-${PYTHON_SUFFIX}.so
-
-.include <bsd.port.mk>
diff --git a/audio/py-tagpy/distinfo b/audio/py-tagpy/distinfo
deleted file mode 100644
index 29877b76331a..000000000000
--- a/audio/py-tagpy/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1689488833
-SHA256 (tagpy-2022.1.tar.gz) = 8939bf0ccd7c4e776feccb1d5e7b72f31e11a0c8c5f9e37154bad6a9fa444bff
-SIZE (tagpy-2022.1.tar.gz) = 140786
diff --git a/audio/py-tagpy/files/patch-src_wrapper_common.hpp b/audio/py-tagpy/files/patch-src_wrapper_common.hpp
deleted file mode 100644
index b2b5789738db..000000000000
--- a/audio/py-tagpy/files/patch-src_wrapper_common.hpp
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/wrapper/common.hpp.orig	2008-04-24 19:44:50 UTC
-+++ src/wrapper/common.hpp
-@@ -50,10 +50,7 @@ using namespace std;
- 
- 
- 
--#define TAGPY_TAGLIB_HEX_VERSION \
--  (TAGLIB_MAJOR_VERSION << 16) + \
--  (TAGLIB_MINOR_VERSION << 8) + \
--  (TAGLIB_PATCH_VERSION << 0)
-+#define TAGPY_TAGLIB_HEX_VERSION 0x10800
- 
- #if (TAGPY_TAGLIB_HEX_VERSION < 0x10400)
- #warning !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
diff --git a/audio/py-tagpy/files/patch-src_wrapper_id3.cpp b/audio/py-tagpy/files/patch-src_wrapper_id3.cpp
deleted file mode 100644
index 166362a2bbf6..000000000000
--- a/audio/py-tagpy/files/patch-src_wrapper_id3.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
---- src/wrapper/id3.cpp.orig	2022-12-27 17:50:55 UTC
-+++ src/wrapper/id3.cpp
-@@ -265,7 +265,7 @@ void exposeID3()
-   {
-     typedef ID3v2::AttachedPictureFrame cl;
-     class_<cl, bases<ID3v2::Frame>, boost::noncopyable>
--      ("id3v2_AttachedPictureFrame", init<optional<const ByteVector &> >())
-+      ("id3v2_AttachedPictureFrame", init<boost::python::optional<const ByteVector &> >())
-       .DEF_SIMPLE_METHOD(textEncoding)
-       .DEF_SIMPLE_METHOD(setTextEncoding)
-       .DEF_SIMPLE_METHOD(mimeType)
-@@ -282,7 +282,7 @@ void exposeID3()
-   {
-     typedef ID3v2::CommentsFrame cl;
-     class_<cl, bases<ID3v2::Frame>, boost::noncopyable>
--      ("id3v2_CommentsFrame", init<optional<const ByteVector &> >())
-+      ("id3v2_CommentsFrame", init<boost::python::optional<const ByteVector &> >())
-       .def(init<String::Type>())
-       .DEF_SIMPLE_METHOD(language)
-       .DEF_SIMPLE_METHOD(setLanguage)
-@@ -336,7 +336,7 @@ void exposeID3()
-   {
-     typedef ID3v2::TextIdentificationFrame cl;
-     class_<cl, bases<ID3v2::Frame>, boost::noncopyable>
--      ("id3v2_TextIdentificationFrame", init<const ByteVector &, optional<String::Type> >())
-+      ("id3v2_TextIdentificationFrame", init<const ByteVector &, boost::python::optional<String::Type> >())
-       .def("setText", (void (cl::*)(const String &)) &cl::setText)
-       .def("setText", (void (cl::*)(const StringList &)) &cl::setText)
-       .DEF_SIMPLE_METHOD(textEncoding)
-@@ -348,7 +348,7 @@ void exposeID3()
-   {
-     typedef ID3v2::UnsynchronizedLyricsFrame cl;
-     class_<cl, bases<ID3v2::Frame>, boost::noncopyable>
--      ("id3v2_UnsynchronizedLyricsFrame", init<optional<const ByteVector &> >())
-+      ("id3v2_UnsynchronizedLyricsFrame", init<boost::python::optional<const ByteVector &> >())
-       .def(init<String::Type>())
-       .DEF_SIMPLE_METHOD(language)
-       .DEF_SIMPLE_METHOD(setLanguage)
-@@ -363,7 +363,7 @@ void exposeID3()
-     typedef ID3v2::UserTextIdentificationFrame cl;
-     class_<cl, bases<ID3v2::TextIdentificationFrame>, boost::noncopyable>
-       ("id3v2_UserTextIdentificationFrame", init<const ByteVector &>())
--      .def(init<optional<String::Type> >())
-+      .def(init<boost::python::optional<String::Type> >())
-       .DEF_SIMPLE_METHOD(description)
-       .DEF_SIMPLE_METHOD(setDescription)
-       .DEF_SIMPLE_METHOD(fieldList)
-@@ -420,8 +420,8 @@ void exposeID3()
-     typedef MPEG::File cl;
-     class_<MPEG::File, bases<File>, boost::noncopyable>
-       ("mpeg_File",
--       init<const char *, optional<bool, AudioProperties::ReadStyle> >())
--      .def(init<const char *, ID3v2::FrameFactory *, optional<bool, AudioProperties::ReadStyle> >())
-+       init<const char *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-+      .def(init<const char *, ID3v2::FrameFactory *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-       .def("save",
-            #if (TAGPY_TAGLIB_HEX_VERSION >= 0x10800)
-              (bool (MPEG::File::*)(int, bool, int))
diff --git a/audio/py-tagpy/files/patch-src_wrapper_rest.cpp b/audio/py-tagpy/files/patch-src_wrapper_rest.cpp
deleted file mode 100644
index f4a36d335f95..000000000000
--- a/audio/py-tagpy/files/patch-src_wrapper_rest.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
---- src/wrapper/rest.cpp.orig	2022-12-23 20:39:57 UTC
-+++ src/wrapper/rest.cpp
-@@ -84,7 +84,7 @@ void exposeRest()
-   {
-     typedef Ogg::XiphComment cl;
-     class_<cl, bases<Tag>, boost::noncopyable>
--      ("ogg_XiphComment", init<optional<const ByteVector &> >())
-+      ("ogg_XiphComment", init<boost::python::optional<const ByteVector &> >())
-       .DEF_SIMPLE_METHOD(fieldCount)
-       .def("fieldListMap", &cl::fieldListMap,
-            return_internal_reference<>())
-@@ -109,14 +109,14 @@ void exposeRest()
-   {
-     typedef Ogg::FLAC::File cl;
-     class_<cl, bases<Ogg::File>, boost::noncopyable>
--      ("ogg_flac_File", init<const char *, optional<bool, AudioProperties::ReadStyle> >())
-+      ("ogg_flac_File", init<const char *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-       ;
-   }
- 
-   {
-     typedef Ogg::Vorbis::File cl;
-     class_<cl, bases<Ogg::File>, boost::noncopyable>
--      ("ogg_vorbis_File", init<const char *, optional<bool, AudioProperties::ReadStyle> >())
-+      ("ogg_vorbis_File", init<const char *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-       ;
-   }
- 
-@@ -126,7 +126,7 @@ void exposeRest()
-   {
-     typedef APE::Footer cl;
-     class_<cl, boost::noncopyable>(
--      "ape_Footer", init<optional<const ByteVector &> >())
-+      "ape_Footer", init<boost::python::optional<const ByteVector &> >())
-       .DEF_SIMPLE_METHOD(version)
-       .DEF_SIMPLE_METHOD(headerPresent)
-       .DEF_SIMPLE_METHOD(footerPresent)
-@@ -193,8 +193,8 @@ void exposeRest()
-   {
-     typedef FLAC::File cl;
-     class_<cl, boost::noncopyable, bases<File> >("flac_File",
--                                   init<const char *, optional<bool, AudioProperties::ReadStyle> >())
--      .def(init<const char *, ID3v2::FrameFactory *, optional<bool, AudioProperties::ReadStyle> >())
-+                                   init<const char *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-+      .def(init<const char *, ID3v2::FrameFactory *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-       .def("ID3v1Tag",
-            (ID3v1::Tag *(FLAC::File::*)(bool))
-            &FLAC::File::ID3v1Tag,
-@@ -227,7 +227,7 @@ void exposeRest()
-   {
-     typedef MPC::File cl;
-     class_<MPC::File, bases<File>, boost::noncopyable>
--      ("mpc_File", init<const char *, optional<bool, AudioProperties::ReadStyle> >())
-+      ("mpc_File", init<const char *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-       .def("ID3v1Tag",
-            (ID3v1::Tag *(cl::*)(bool))
-            &cl::ID3v1Tag,
-@@ -255,7 +255,7 @@ void exposeRest()
-   {
-     typedef TagLib::RIFF::WAV::File cl;
-     class_<cl, bases<File>, boost::noncopyable>
--      ("wav_File", init<const char *, optional<bool, AudioProperties::ReadStyle> >())
-+      ("wav_File", init<const char *, boost::python::optional<bool, AudioProperties::ReadStyle> >())
-       .def("ID3v2Tag",
-            (ID3v2::Tag *(TagLib::RIFF::WAV::File::*)())
-            &cl::ID3v2Tag,
diff --git a/audio/py-tagpy/pkg-descr b/audio/py-tagpy/pkg-descr
deleted file mode 100644
index 67ee5aa76514..000000000000
--- a/audio/py-tagpy/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-TagPy is a Python crust (or a set of Python bindings) for
-Scott Wheeler's 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.