sys-fs/pysize: Remove last-rited package
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 29 May 2020 19:43:03 +0000 (21:43 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 29 May 2020 22:11:34 +0000 (00:11 +0200)
Closes: https://bugs.gentoo.org/708068
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
profiles/package.mask
sys-fs/pysize/Manifest [deleted file]
sys-fs/pysize/files/0.2-setuptools-automagic.patch [deleted file]
sys-fs/pysize/files/psyco-0.2-automagic.patch [deleted file]
sys-fs/pysize/metadata.xml [deleted file]
sys-fs/pysize/pysize-0.2-r1.ebuild [deleted file]
sys-fs/pysize/pysize-0.2-r2.ebuild [deleted file]

index a165a68f8e978f63cd822fd7d90922120c0eec4d..2c183bb6b875b1c37fd261a78ee7bd640dcf7c8c 100644 (file)
@@ -229,11 +229,6 @@ app-misc/metromap
 # Stuck on Python 2 and pygtk. Masked for removal in 30 days.
 app-laptop/batti
 
-# Andreas Sturmlechner <asturm@gentoo.org> (2020-04-30)
-# Maintainer timeout, unmaintained upstream, last release in 2009, bug #708068
-# Stuck on Python 2 and pygtk. Masked for removal in 30 days.
-sys-fs/pysize
-
 # Matt Turner <mattst88@gentoo.org> (2020-04-29)
 # Masked for testing
 >=dev-libs/gjs-1.64
diff --git a/sys-fs/pysize/Manifest b/sys-fs/pysize/Manifest
deleted file mode 100644 (file)
index 5f50805..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST pysize-0.2.tar.bz2 498930 BLAKE2B ada679a30073f7ac27e632be80f44891d6b84137db4a0ae27d406aaf36a9c8c90f9f1700da1a69615cf4f92ac4ae27f8b70cea5bfe06a3f48de25a58f507d39f SHA512 621e6e8de75d3486c196cf59e29f1c01eca151139a1d8518ace334d92533dd2df19fce52a3362c3b8abbb1e3b244148609a081832ae53f91bccc65f5f7fa57a5
diff --git a/sys-fs/pysize/files/0.2-setuptools-automagic.patch b/sys-fs/pysize/files/0.2-setuptools-automagic.patch
deleted file mode 100644 (file)
index 3e27c88..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 5550188..123d22c 100755
---- a/setup.py
-+++ b/setup.py
-@@ -2,7 +2,6 @@
- import sys
--sys.path.append('setuptools-0.7a1dev_r53614-py2.4.egg')
- from setuptools import setup, find_packages
- from pysize.version import VERSION
diff --git a/sys-fs/pysize/files/psyco-0.2-automagic.patch b/sys-fs/pysize/files/psyco-0.2-automagic.patch
deleted file mode 100644 (file)
index 7212980..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/pysize/main.py   2007-03-11 16:09:53.000000000 +0100
-+++ b/pysize/main.py.new       2009-01-02 00:08:43.384827054 +0100
-@@ -69,17 +69,8 @@
-     stats.print_stats(40)
-     os.remove(prof_file)
--def _try_psyco():
--    try:
--        # Try to use psyco if available
--        import psyco
--        psyco.full()
--    except ImportError:
--        pass
--
- def main():
-     install_sigquit_traceback()
--    _try_psyco()
-     locale.setlocale(locale.LC_ALL, '')
-     usage = '%s [OPTIONS] [DIRECTORIES...]' % (sys.argv[0])
-     parser = optparse.OptionParser(usage=usage, version='pysize ' + VERSION)
diff --git a/sys-fs/pysize/metadata.xml b/sys-fs/pysize/metadata.xml
deleted file mode 100644 (file)
index 969a14a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="person">
-    <email>jlec@gentoo.org</email>
-  </maintainer>
-</pkgmetadata>
diff --git a/sys-fs/pysize/pysize-0.2-r1.ebuild b/sys-fs/pysize/pysize-0.2-r1.ebuild
deleted file mode 100644 (file)
index abf1386..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A graphical and console tool for exploring the size of directories"
-HOMEPAGE="http://guichaz.free.fr/pysize/"
-SRC_URI="http://guichaz.free.fr/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="gtk ncurses"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RESTRICT="test"
-
-RDEPEND="
-       gtk? ( dev-python/pygtk:2 )
-       ncurses? ( sys-libs/ncurses:0= )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=(
-       "${FILESDIR}"/psyco-${PV}-automagic.patch
-       "${FILESDIR}"/${PV}-setuptools-automagic.patch
-       )
-
-python_prepare_all() {
-       if ! use gtk; then
-               sed \
-                       -e '/^from pysize.ui.gtk/d' \
-                   -e "s~'gtk': ui_gtk.run,~~g" \
-                   -e 's:ui_gtk.run,::g' \
-                   -i pysize/main.py || die "Failed to remove gtk support"
-               rm -rf pysize/ui/gtk || die "Failed to remove gtk support"
-       fi
-
-       if ! use ncurses; then
-               sed \
-                       -e '/^from pysize.ui.curses/d' \
-                   -e "s~'curses': ui_curses.run,~~g" \
-                   -e 's:ui_curses.run,::g' \
-                   -i pysize/main.py || die "Failed to remove ncurses support"
-               rm -rf pysize/ui/curses || die "Failed to remove ncurses support"
-       fi
-
-       sed \
-               -e "s:/tmp:${T}:g" \
-               -i tests/tests/*.py tests/*py || die
-
-       sed \
-               -e '/for ui_run in/s:ui_ascii.run:ui_ascii.run, ui_ascii.run:g' \
-               -i pysize/main.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_test() {
-       pushd "${S}"/tests > /dev/null
-       PYTHONPATH=.:../ "${PYTHON}" pysize_tests.py || die "tests failed under ${EPYTHON}"
-       popd  > /dev/null
-}
diff --git a/sys-fs/pysize/pysize-0.2-r2.ebuild b/sys-fs/pysize/pysize-0.2-r2.ebuild
deleted file mode 100644 (file)
index b952336..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A graphical and console tool for exploring the size of directories"
-HOMEPAGE="http://guichaz.free.fr/pysize/"
-SRC_URI="http://guichaz.free.fr/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="gtk ncurses"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RESTRICT="test"
-
-RDEPEND="
-       gtk? ( dev-python/pygtk:2 )
-       ncurses? ( sys-libs/ncurses:0= )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=(
-       "${FILESDIR}"/psyco-${PV}-automagic.patch
-       "${FILESDIR}"/${PV}-setuptools-automagic.patch
-       )
-
-python_prepare_all() {
-       if ! use gtk; then
-               sed \
-                       -e '/^from pysize.ui.gtk/d' \
-                   -e "s~'gtk': ui_gtk.run,~~g" \
-                   -e 's:ui_gtk.run,::g' \
-                   -i pysize/main.py || die "Failed to remove gtk support"
-               rm -rf pysize/ui/gtk || die "Failed to remove gtk support"
-       fi
-
-       if ! use ncurses; then
-               sed \
-                       -e '/^from pysize.ui.curses/d' \
-                   -e "s~'curses': ui_curses.run,~~g" \
-                   -e 's:ui_curses.run,::g' \
-                   -i pysize/main.py || die "Failed to remove ncurses support"
-               rm -rf pysize/ui/curses || die "Failed to remove ncurses support"
-       fi
-
-       sed \
-               -e "s:/tmp:${T}:g" \
-               -i tests/tests/*.py tests/*py || die
-
-       sed \
-               -e '/for ui_run in/s:ui_ascii.run:ui_ascii.run, ui_ascii.run:g' \
-               -i pysize/main.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_test() {
-       pushd "${S}"/tests > /dev/null
-       PYTHONPATH=.:../ "${PYTHON}" pysize_tests.py || die "tests failed under ${EPYTHON}"
-       popd  > /dev/null
-}