Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/pysize/files/, profiles/, sys-fs/pysize/
Date: Fri, 29 May 2020 22:12:53
Message-Id: 1590790294.5f8e0933bbba1e258a23dbc7a5116325f929fab5.asturm@gentoo
1 commit: 5f8e0933bbba1e258a23dbc7a5116325f929fab5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 29 19:43:03 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri May 29 22:11:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f8e0933
7
8 sys-fs/pysize: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/708068
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 profiles/package.mask | 5 --
14 sys-fs/pysize/Manifest | 1 -
15 sys-fs/pysize/files/0.2-setuptools-automagic.patch | 12 ----
16 sys-fs/pysize/files/psyco-0.2-automagic.patch | 20 -------
17 sys-fs/pysize/metadata.xml | 7 ---
18 sys-fs/pysize/pysize-0.2-r1.ebuild | 68 ----------------------
19 sys-fs/pysize/pysize-0.2-r2.ebuild | 68 ----------------------
20 7 files changed, 181 deletions(-)
21
22 diff --git a/profiles/package.mask b/profiles/package.mask
23 index a165a68f8e9..2c183bb6b87 100644
24 --- a/profiles/package.mask
25 +++ b/profiles/package.mask
26 @@ -229,11 +229,6 @@ app-misc/metromap
27 # Stuck on Python 2 and pygtk. Masked for removal in 30 days.
28 app-laptop/batti
29
30 -# Andreas Sturmlechner <asturm@g.o> (2020-04-30)
31 -# Maintainer timeout, unmaintained upstream, last release in 2009, bug #708068
32 -# Stuck on Python 2 and pygtk. Masked for removal in 30 days.
33 -sys-fs/pysize
34 -
35 # Matt Turner <mattst88@g.o> (2020-04-29)
36 # Masked for testing
37 >=dev-libs/gjs-1.64
38
39 diff --git a/sys-fs/pysize/Manifest b/sys-fs/pysize/Manifest
40 deleted file mode 100644
41 index 5f508057721..00000000000
42 --- a/sys-fs/pysize/Manifest
43 +++ /dev/null
44 @@ -1 +0,0 @@
45 -DIST pysize-0.2.tar.bz2 498930 BLAKE2B ada679a30073f7ac27e632be80f44891d6b84137db4a0ae27d406aaf36a9c8c90f9f1700da1a69615cf4f92ac4ae27f8b70cea5bfe06a3f48de25a58f507d39f SHA512 621e6e8de75d3486c196cf59e29f1c01eca151139a1d8518ace334d92533dd2df19fce52a3362c3b8abbb1e3b244148609a081832ae53f91bccc65f5f7fa57a5
46
47 diff --git a/sys-fs/pysize/files/0.2-setuptools-automagic.patch b/sys-fs/pysize/files/0.2-setuptools-automagic.patch
48 deleted file mode 100644
49 index 3e27c889f1a..00000000000
50 --- a/sys-fs/pysize/files/0.2-setuptools-automagic.patch
51 +++ /dev/null
52 @@ -1,12 +0,0 @@
53 -diff --git a/setup.py b/setup.py
54 -index 5550188..123d22c 100755
55 ---- a/setup.py
56 -+++ b/setup.py
57 -@@ -2,7 +2,6 @@
58 -
59 - import sys
60 -
61 --sys.path.append('setuptools-0.7a1dev_r53614-py2.4.egg')
62 - from setuptools import setup, find_packages
63 - from pysize.version import VERSION
64 -
65
66 diff --git a/sys-fs/pysize/files/psyco-0.2-automagic.patch b/sys-fs/pysize/files/psyco-0.2-automagic.patch
67 deleted file mode 100644
68 index 72129804b88..00000000000
69 --- a/sys-fs/pysize/files/psyco-0.2-automagic.patch
70 +++ /dev/null
71 @@ -1,20 +0,0 @@
72 ---- a/pysize/main.py 2007-03-11 16:09:53.000000000 +0100
73 -+++ b/pysize/main.py.new 2009-01-02 00:08:43.384827054 +0100
74 -@@ -69,17 +69,8 @@
75 - stats.print_stats(40)
76 - os.remove(prof_file)
77 -
78 --def _try_psyco():
79 -- try:
80 -- # Try to use psyco if available
81 -- import psyco
82 -- psyco.full()
83 -- except ImportError:
84 -- pass
85 --
86 - def main():
87 - install_sigquit_traceback()
88 -- _try_psyco()
89 - locale.setlocale(locale.LC_ALL, '')
90 - usage = '%s [OPTIONS] [DIRECTORIES...]' % (sys.argv[0])
91 - parser = optparse.OptionParser(usage=usage, version='pysize ' + VERSION)
92
93 diff --git a/sys-fs/pysize/metadata.xml b/sys-fs/pysize/metadata.xml
94 deleted file mode 100644
95 index 969a14ab6ca..00000000000
96 --- a/sys-fs/pysize/metadata.xml
97 +++ /dev/null
98 @@ -1,7 +0,0 @@
99 -<?xml version="1.0" encoding="UTF-8"?>
100 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
101 -<pkgmetadata>
102 - <maintainer type="person">
103 - <email>jlec@g.o</email>
104 - </maintainer>
105 -</pkgmetadata>
106
107 diff --git a/sys-fs/pysize/pysize-0.2-r1.ebuild b/sys-fs/pysize/pysize-0.2-r1.ebuild
108 deleted file mode 100644
109 index abf13864ccb..00000000000
110 --- a/sys-fs/pysize/pysize-0.2-r1.ebuild
111 +++ /dev/null
112 @@ -1,68 +0,0 @@
113 -# Copyright 1999-2020 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=5
117 -
118 -PYTHON_COMPAT=( python2_7 )
119 -
120 -inherit distutils-r1
121 -
122 -DESCRIPTION="A graphical and console tool for exploring the size of directories"
123 -HOMEPAGE="http://guichaz.free.fr/pysize/"
124 -SRC_URI="http://guichaz.free.fr/${PN}/files/${P}.tar.bz2"
125 -
126 -LICENSE="GPL-2"
127 -SLOT="0"
128 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
129 -IUSE="gtk ncurses"
130 -
131 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
132 -
133 -RESTRICT="test"
134 -
135 -RDEPEND="
136 - gtk? ( dev-python/pygtk:2 )
137 - ncurses? ( sys-libs/ncurses:0= )"
138 -DEPEND="${RDEPEND}
139 - dev-python/setuptools[${PYTHON_USEDEP}]"
140 -
141 -PATCHES=(
142 - "${FILESDIR}"/psyco-${PV}-automagic.patch
143 - "${FILESDIR}"/${PV}-setuptools-automagic.patch
144 - )
145 -
146 -python_prepare_all() {
147 - if ! use gtk; then
148 - sed \
149 - -e '/^from pysize.ui.gtk/d' \
150 - -e "s~'gtk': ui_gtk.run,~~g" \
151 - -e 's:ui_gtk.run,::g' \
152 - -i pysize/main.py || die "Failed to remove gtk support"
153 - rm -rf pysize/ui/gtk || die "Failed to remove gtk support"
154 - fi
155 -
156 - if ! use ncurses; then
157 - sed \
158 - -e '/^from pysize.ui.curses/d' \
159 - -e "s~'curses': ui_curses.run,~~g" \
160 - -e 's:ui_curses.run,::g' \
161 - -i pysize/main.py || die "Failed to remove ncurses support"
162 - rm -rf pysize/ui/curses || die "Failed to remove ncurses support"
163 - fi
164 -
165 - sed \
166 - -e "s:/tmp:${T}:g" \
167 - -i tests/tests/*.py tests/*py || die
168 -
169 - sed \
170 - -e '/for ui_run in/s:ui_ascii.run:ui_ascii.run, ui_ascii.run:g' \
171 - -i pysize/main.py || die
172 -
173 - distutils-r1_python_prepare_all
174 -}
175 -
176 -python_test() {
177 - pushd "${S}"/tests > /dev/null
178 - PYTHONPATH=.:../ "${PYTHON}" pysize_tests.py || die "tests failed under ${EPYTHON}"
179 - popd > /dev/null
180 -}
181
182 diff --git a/sys-fs/pysize/pysize-0.2-r2.ebuild b/sys-fs/pysize/pysize-0.2-r2.ebuild
183 deleted file mode 100644
184 index b95233617d6..00000000000
185 --- a/sys-fs/pysize/pysize-0.2-r2.ebuild
186 +++ /dev/null
187 @@ -1,68 +0,0 @@
188 -# Copyright 1999-2020 Gentoo Authors
189 -# Distributed under the terms of the GNU General Public License v2
190 -
191 -EAPI=7
192 -
193 -PYTHON_COMPAT=( python2_7 )
194 -
195 -inherit distutils-r1
196 -
197 -DESCRIPTION="A graphical and console tool for exploring the size of directories"
198 -HOMEPAGE="http://guichaz.free.fr/pysize/"
199 -SRC_URI="http://guichaz.free.fr/${PN}/files/${P}.tar.bz2"
200 -
201 -LICENSE="GPL-2"
202 -SLOT="0"
203 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
204 -IUSE="gtk ncurses"
205 -
206 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
207 -
208 -RESTRICT="test"
209 -
210 -RDEPEND="
211 - gtk? ( dev-python/pygtk:2 )
212 - ncurses? ( sys-libs/ncurses:0= )"
213 -DEPEND="${RDEPEND}
214 - dev-python/setuptools[${PYTHON_USEDEP}]"
215 -
216 -PATCHES=(
217 - "${FILESDIR}"/psyco-${PV}-automagic.patch
218 - "${FILESDIR}"/${PV}-setuptools-automagic.patch
219 - )
220 -
221 -python_prepare_all() {
222 - if ! use gtk; then
223 - sed \
224 - -e '/^from pysize.ui.gtk/d' \
225 - -e "s~'gtk': ui_gtk.run,~~g" \
226 - -e 's:ui_gtk.run,::g' \
227 - -i pysize/main.py || die "Failed to remove gtk support"
228 - rm -rf pysize/ui/gtk || die "Failed to remove gtk support"
229 - fi
230 -
231 - if ! use ncurses; then
232 - sed \
233 - -e '/^from pysize.ui.curses/d' \
234 - -e "s~'curses': ui_curses.run,~~g" \
235 - -e 's:ui_curses.run,::g' \
236 - -i pysize/main.py || die "Failed to remove ncurses support"
237 - rm -rf pysize/ui/curses || die "Failed to remove ncurses support"
238 - fi
239 -
240 - sed \
241 - -e "s:/tmp:${T}:g" \
242 - -i tests/tests/*.py tests/*py || die
243 -
244 - sed \
245 - -e '/for ui_run in/s:ui_ascii.run:ui_ascii.run, ui_ascii.run:g' \
246 - -i pysize/main.py || die
247 -
248 - distutils-r1_python_prepare_all
249 -}
250 -
251 -python_test() {
252 - pushd "${S}"/tests > /dev/null
253 - PYTHONPATH=.:../ "${PYTHON}" pysize_tests.py || die "tests failed under ${EPYTHON}"
254 - popd > /dev/null
255 -}