Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/pyid3lib/files/, dev-python/pyid3lib/
Date: Wed, 02 Sep 2020 07:54:54
Message-Id: 1599033279.21716e741cc2b6b9bac30fa734a59635e6d790e9.mgorny@gentoo
1 commit: 21716e741cc2b6b9bac30fa734a59635e6d790e9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 07:54:07 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 07:54:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21716e74
7
8 dev-python/pyid3lib: Remove last-rited pkg
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyid3lib/Manifest | 1 -
13 .../pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch | 20 --------
14 .../pyid3lib/files/pyid3lib-0.5.1-py25.patch | 57 ----------------------
15 dev-python/pyid3lib/metadata.xml | 11 -----
16 dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild | 33 -------------
17 profiles/package.mask | 5 --
18 6 files changed, 127 deletions(-)
19
20 diff --git a/dev-python/pyid3lib/Manifest b/dev-python/pyid3lib/Manifest
21 deleted file mode 100644
22 index 116437c47ce..00000000000
23 --- a/dev-python/pyid3lib/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST pyid3lib-0.5.1.tar.bz2 21207 BLAKE2B 762baa0d463c587d06eb12d84a25d5105f7f2a11e60ff7b8153f45a3bb5076b622297cbbbff7c01ce4cf3c9dea96f714c0787e990630e3addfa85dc79553662e SHA512 fee073a7bd87540a186122b477e918b2c3d8a234ea5ebd83207115b9d0503cc22645b93f6702b79a1b41104d0cbcaa3c47900bba27ce52d44195a8f8a6331c57
27
28 diff --git a/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch b/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch
29 deleted file mode 100644
30 index 04df9e0a6c9..00000000000
31 --- a/dev-python/pyid3lib/files/pyid3lib-0.5.1-gcc-4.4.patch
32 +++ /dev/null
33 @@ -1,20 +0,0 @@
34 ---- pyid3lib.cc
35 -+++ pyid3lib.cc
36 -@@ -920,7 +920,7 @@ enum frame_type
37 -
38 - typedef struct
39 - {
40 -- char* name;
41 -+ const char* name;
42 - ID3_FrameID fid;
43 - frame_type type;
44 - } magic_attribute;
45 -@@ -1030,7 +1030,7 @@ static PyObject* id3_getattr( ID3Object* self, char* attrname )
46 - {
47 - ID3_Frame* frame;
48 - const char* str;
49 -- char* slash;
50 -+ const char* slash;
51 - ID3_Field* fld;
52 - int i;
53 -
54
55 diff --git a/dev-python/pyid3lib/files/pyid3lib-0.5.1-py25.patch b/dev-python/pyid3lib/files/pyid3lib-0.5.1-py25.patch
56 deleted file mode 100644
57 index c24cfc97d5a..00000000000
58 --- a/dev-python/pyid3lib/files/pyid3lib-0.5.1-py25.patch
59 +++ /dev/null
60 @@ -1,57 +0,0 @@
61 ---- pyid3lib-0.5.1/pyid3lib.cc.orig 2007-08-08 23:53:08.000000000 +0300
62 -+++ pyid3lib-0.5.1/pyid3lib.cc 2007-08-08 23:53:12.000000000 +0300
63 -@@ -10,13 +10,19 @@
64 - #include <id3/id3lib_frame.h>
65 - #include <id3/tag.h>
66 -
67 -+#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
68 -+typedef int Py_ssize_t;
69 -+#define PY_SSIZE_T_MAX INT_MAX
70 -+#define PY_SSIZE_T_MIN INT_MIN
71 -+#endif
72 -+
73 - typedef struct
74 - {
75 - PyObject_HEAD
76 -
77 - ID3_Tag* tag;
78 - ID3_Frame** frames;
79 -- int size, alloc;
80 -+ Py_ssize_t size, alloc;
81 - } ID3Object;
82 -
83 - typedef struct
84 -@@ -80,13 +86,24 @@
85 -
86 -
87 - static PySequenceMethods tag_as_sequence = {
88 -+#if PY_VERSION_HEX >= 0x02050000
89 -+ (lenfunc)id3_length,
90 -+#else
91 - (inquiry)id3_length,
92 -+#endif
93 - NULL,
94 - NULL,
95 -+#if PY_VERSION_HEX >= 0x02050000
96 -+ (ssizeargfunc)id3_item,
97 -+ (ssizessizeargfunc)id3_slice,
98 -+ (ssizeobjargproc)id3_ass_item,
99 -+ (ssizessizeobjargproc)id3_ass_slice,
100 -+#else
101 - (intargfunc)id3_item,
102 - (intintargfunc)id3_slice,
103 - (intobjargproc)id3_ass_item,
104 - (intintobjargproc)id3_ass_slice,
105 -+#endif
106 - (objobjproc)id3_contains,
107 - NULL,
108 - NULL,
109 -@@ -824,7 +841,7 @@
110 - static ID3_Frame* frame_from_dict( ID3_FrameID fid, PyObject* dict )
111 - {
112 - char* data;
113 -- int size;
114 -+ Py_ssize_t size;
115 -
116 - ID3_Field* field;
117 - ID3_FieldID flid;
118
119 diff --git a/dev-python/pyid3lib/metadata.xml b/dev-python/pyid3lib/metadata.xml
120 deleted file mode 100644
121 index 23324cab512..00000000000
122 --- a/dev-python/pyid3lib/metadata.xml
123 +++ /dev/null
124 @@ -1,11 +0,0 @@
125 -<?xml version="1.0" encoding="UTF-8"?>
126 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
127 -<pkgmetadata>
128 - <maintainer type="project">
129 - <email>python@g.o</email>
130 - <name>Python</name>
131 - </maintainer>
132 - <upstream>
133 - <remote-id type="sourceforge">pyid3lib</remote-id>
134 - </upstream>
135 -</pkgmetadata>
136
137 diff --git a/dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild b/dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild
138 deleted file mode 100644
139 index 3c7fa8639da..00000000000
140 --- a/dev-python/pyid3lib/pyid3lib-0.5.1-r2.ebuild
141 +++ /dev/null
142 @@ -1,33 +0,0 @@
143 -# Copyright 1999-2017 Gentoo Foundation
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=5
147 -
148 -PYTHON_COMPAT=( python2_7 )
149 -
150 -inherit distutils-r1 flag-o-matic
151 -
152 -DESCRIPTION="Module for manipulating ID3 tags in Python"
153 -HOMEPAGE="http://pyid3lib.sourceforge.net/"
154 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
155 -
156 -LICENSE="LGPL-2.1"
157 -SLOT="0"
158 -KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"
159 -IUSE=""
160 -
161 -DEPEND="media-libs/id3lib"
162 -RDEPEND="${DEPEND}"
163 -
164 -HTML_DOCS=( doc.html )
165 -
166 -src_prepare() {
167 - local PATCHES=(
168 - "${FILESDIR}/${P}-gcc-4.4.patch"
169 - "${FILESDIR}/${P}-py25.patch"
170 - )
171 -
172 - distutils-r1_src_prepare
173 -
174 - append-flags -fno-strict-aliasing
175 -}
176
177 diff --git a/profiles/package.mask b/profiles/package.mask
178 index 107ced85013..3176a6f7e0a 100644
179 --- a/profiles/package.mask
180 +++ b/profiles/package.mask
181 @@ -771,11 +771,6 @@ dev-python/pyode
182 # Removal in 30 days
183 dev-python/pylzma
184
185 -# Aaron Bauman <bman@g.o> (2020-08-01)
186 -# Py2 only. Dead upstream
187 -# Removal in 30 days
188 -dev-python/pyid3lib
189 -
190 # Aaron Bauman <bman@g.o> (2020-08-01)
191 # Py2 only. Last upstream release 2013.
192 # Removal in 30 days. Last 2 have deps on cddb.