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: dev-python/pyvorbis/files/, profiles/, dev-python/pyvorbis/
Date: Wed, 02 Sep 2020 08:06:31
Message-Id: 1599033670.7cee2c736ee8c2bdd59f170b50c894cafe7dbc26.mgorny@gentoo
1 commit: 7cee2c736ee8c2bdd59f170b50c894cafe7dbc26
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 08:01:10 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 08:01:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cee2c73
7
8 dev-python/pyvorbis: Remove last-rited pkg
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyvorbis/Manifest | 1 -
13 .../pyvorbis/files/pyvorbis-1.4-python25.patch | 65 ----------------------
14 dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch | 20 -------
15 dev-python/pyvorbis/metadata.xml | 8 ---
16 dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild | 38 -------------
17 profiles/package.mask | 5 --
18 6 files changed, 137 deletions(-)
19
20 diff --git a/dev-python/pyvorbis/Manifest b/dev-python/pyvorbis/Manifest
21 deleted file mode 100644
22 index c00b273b08a..00000000000
23 --- a/dev-python/pyvorbis/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST pyvorbis-1.4.tar.gz 39045 BLAKE2B 57fe96085cfed822ee3277d59b6d8e0bb3c5b88a92c615da2159a23eab74b0ba30c693e1b3b41716c7eb4dcfbfe332956535845360a6c6b19df95c73f9634fba SHA512 c0b5ebb5d22f97b20f56a0b49e43675764fe057afa2d5de22eab9b8b73fb542186e7488cb0ba31b7af433cef1a88e815eb3e88a4609a2657ae5fba1017bdb89c
27
28 diff --git a/dev-python/pyvorbis/files/pyvorbis-1.4-python25.patch b/dev-python/pyvorbis/files/pyvorbis-1.4-python25.patch
29 deleted file mode 100644
30 index 18028dc7a8e..00000000000
31 --- a/dev-python/pyvorbis/files/pyvorbis-1.4-python25.patch
32 +++ /dev/null
33 @@ -1,65 +0,0 @@
34 -diff -ur pyvorbis-1.4-old/src/pyvorbiscodec.c pyvorbis-1.4/src/pyvorbiscodec.c
35 ---- pyvorbis-1.4-old/src/pyvorbiscodec.c 2003-05-13 11:17:13.000000000 +0300
36 -+++ pyvorbis-1.4/src/pyvorbiscodec.c 2007-09-20 01:57:54.000000000 +0300
37 -@@ -118,7 +118,7 @@
38 - {
39 - vorbis_dsp_clear(PY_DSP(self));
40 - Py_XDECREF(((py_dsp *)self)->parent);
41 -- PyMem_DEL(self);
42 -+ PyObject_Del(self);
43 - }
44 -
45 - static PyObject*
46 -@@ -447,7 +447,7 @@
47 - {
48 - vorbis_block_clear(PY_BLOCK(self));
49 - Py_XDECREF(((py_block *)self)->parent);
50 -- PyMem_DEL(self);
51 -+ PyObject_Del(self);
52 - }
53 -
54 - static PyObject*
55 -diff -ur pyvorbis-1.4-old/src/pyvorbisfile.c pyvorbis-1.4/src/pyvorbisfile.c
56 ---- pyvorbis-1.4-old/src/pyvorbisfile.c 2003-12-19 09:11:02.000000000 +0200
57 -+++ pyvorbis-1.4/src/pyvorbisfile.c 2007-09-20 01:59:41.000000000 +0300
58 -@@ -173,8 +173,7 @@
59 - if (ret == NULL) {
60 - PyMem_DEL(newobj);
61 - return NULL;
62 -- } else
63 -- Py_DECREF(ret);
64 -+ }
65 -
66 - return (PyObject *) newobj;
67 - }
68 -@@ -195,7 +194,8 @@
69 - fclose(py_self->c_file);
70 - }
71 -
72 -- PyMem_DEL(self);
73 -+ free(py_self->ovf);
74 -+ PyObject_Del(self);
75 - }
76 -
77 - static PyObject *
78 -diff -ur pyvorbis-1.4-old/src/pyvorbisinfo.c pyvorbis-1.4/src/pyvorbisinfo.c
79 ---- pyvorbis-1.4-old/src/pyvorbisinfo.c 2003-12-19 09:51:36.000000000 +0200
80 -+++ pyvorbis-1.4/src/pyvorbisinfo.c 2007-09-20 02:01:58.000000000 +0300
81 -@@ -134,7 +134,7 @@
82 - static void
83 - py_ov_info_dealloc(PyObject *self)
84 - {
85 -- PyMem_DEL(self);
86 -+ PyObject_Del(self);
87 - }
88 -
89 - #define CMP_RET(x) \
90 -@@ -418,7 +418,7 @@
91 - free(ovc_self->vc);
92 - }
93 -
94 -- PyMem_DEL(self);
95 -+ PyObject_Del(self);
96 - }
97 -
98 -
99
100 diff --git a/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch b/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch
101 deleted file mode 100644
102 index 5d1d8ffc7c7..00000000000
103 --- a/dev-python/pyvorbis/files/pyvorbisfile.c-1.4.patch
104 +++ /dev/null
105 @@ -1,20 +0,0 @@
106 ---- src/pyvorbisfile.c.orig 2003-12-19 07:11:02.000000000 +0000
107 -+++ src/pyvorbisfile.c 2005-09-03 20:02:19.000000000 +0100
108 -@@ -190,9 +190,6 @@
109 - /* If file was opened from a file object, decref it, so it can
110 - close */
111 - Py_DECREF(py_self->py_file);
112 -- } else {
113 -- /* Otherwise, we opened the file and should close it. */
114 -- fclose(py_self->c_file);
115 - }
116 -
117 - PyMem_DEL(self);
118 -@@ -260,7 +257,6 @@
119 -
120 - retval = ov_open(file, self->ovf, initial, ibytes);
121 -
122 -- self->c_file = file;
123 - if (retval < 0) {
124 - if (fname != NULL)
125 - fclose(file);
126
127 diff --git a/dev-python/pyvorbis/metadata.xml b/dev-python/pyvorbis/metadata.xml
128 deleted file mode 100644
129 index 9e5274c5b4a..00000000000
130 --- a/dev-python/pyvorbis/metadata.xml
131 +++ /dev/null
132 @@ -1,8 +0,0 @@
133 -<?xml version="1.0" encoding="UTF-8"?>
134 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
135 -<pkgmetadata>
136 -<maintainer type="project">
137 - <email>python@g.o</email>
138 - <name>Python</name>
139 -</maintainer>
140 -</pkgmetadata>
141
142 diff --git a/dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild b/dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild
143 deleted file mode 100644
144 index 8b1d096f03f..00000000000
145 --- a/dev-python/pyvorbis/pyvorbis-1.4-r4.ebuild
146 +++ /dev/null
147 @@ -1,38 +0,0 @@
148 -# Copyright 1999-2020 Gentoo Authors
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI="5"
152 -PYTHON_COMPAT=( python2_7 )
153 -
154 -inherit distutils-r1 toolchain-funcs
155 -
156 -DESCRIPTION="Python bindings for the ogg.vorbis library"
157 -HOMEPAGE="http://ekyo.nerim.net/software/pyogg/"
158 -SRC_URI="http://ekyo.nerim.net/software/pyogg/${P}.tar.gz"
159 -
160 -LICENSE="LGPL-2"
161 -SLOT="0"
162 -KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
163 -IUSE=""
164 -
165 -DEPEND=">=dev-python/pyogg-1.1[${PYTHON_USEDEP}]
166 - >=media-libs/libogg-1.0
167 - >=media-libs/libvorbis-1.0"
168 -RDEPEND="${DEPEND}"
169 -
170 -DOCS=( AUTHORS COPYING ChangeLog NEWS README )
171 -PATCHES=(
172 - "${FILESDIR}/pyvorbisfile.c-1.4.patch"
173 - "${FILESDIR}/${P}-python25.patch"
174 -)
175 -
176 -python_configure_all() {
177 - tc-export CC
178 - "${PYTHON}" config_unix.py --prefix /usr || die "Configuration failed"
179 -}
180 -
181 -python_install_all() {
182 - distutils-r1_python_install_all
183 - insinto /usr/share/doc/${PF}/examples
184 - doins test/*
185 -}
186
187 diff --git a/profiles/package.mask b/profiles/package.mask
188 index bbe6bfa45c7..5f7593a1931 100644
189 --- a/profiles/package.mask
190 +++ b/profiles/package.mask
191 @@ -751,11 +751,6 @@ app-crypt/ssh-multiadd
192 # Removal in 30 days. Bug #709278
193 media-gfx/printrun
194
195 -# Aaron Bauman <bman@g.o> (2020-08-01)
196 -# Py2 only. Dead upstream.
197 -# Removal in 30 days
198 -dev-python/pyvorbis
199 -
200 # Aaron Bauman <bman@g.o> (2020-08-01)
201 # Py2 only. Last upstream release 2013.
202 # Removal in 30 days. Last 2 have deps on cddb.