diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2020-08-16 23:23:16 +0200 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2020-08-16 23:24:16 +0200 |
commit | 1d0ca81b9cb0320fe0ef4920b8c97169f320aff8 (patch) | |
tree | efc1195577ebbaf689ac2c6042113cbe413fb30a /x11-misc | |
parent | x11-misc/sunflower: 0.4_p20200716 bump (diff) | |
download | gentoo-1d0ca81b9cb0320fe0ef4920b8c97169f320aff8.tar.gz gentoo-1d0ca81b9cb0320fe0ef4920b8c97169f320aff8.tar.bz2 gentoo-1d0ca81b9cb0320fe0ef4920b8c97169f320aff8.zip |
x11-misc/sunflower: Removal of old py2 versions.
Closes: https://bugs.gentoo.org/735512
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/sunflower/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/sunflower/files/sunflower | 5 | ||||
-rw-r--r-- | x11-misc/sunflower/sunflower-0.2_alpha59.ebuild | 89 | ||||
-rw-r--r-- | x11-misc/sunflower/sunflower-0.3.61.ebuild | 93 |
4 files changed, 0 insertions, 189 deletions
diff --git a/x11-misc/sunflower/Manifest b/x11-misc/sunflower/Manifest index 705cd77bead6..ecbe1e0c9ccc 100644 --- a/x11-misc/sunflower/Manifest +++ b/x11-misc/sunflower/Manifest @@ -1,3 +1 @@ -DIST sunflower-0.2-59.tgz 790126 BLAKE2B 32df1ced73ba0bf5e814e52010eefbbd10657bdbb602dd3a48dc08b865195c3d1efa631bfe2d421f0a12a2f01521a2c6248fe5b9ca8fcc268423f0c9aa3d252d SHA512 e97076eb1c57d52b8fd95501259acaaa9a429f9daacc30ef587cce2f3419433f5aa4554e0e86beeceda208b4be425b98c64c6ced04e36e86b2b4f803176c37f9 -DIST sunflower-0.3.61.tar.gz 975053 BLAKE2B 5845ce0e81cf98b7488c9c34b8a3b6702e01abe9976bd4186691ce3804164d707d3ca999896e3f8d60e5253891d94f39e2fabdb50170afa8ec0f937df141db89 SHA512 f55c2fb15889f903375776f989498827dcab287e87d4015c50f12780dd2f0271e1e127533a10ca94f44ebd44727018917cf92e828bbe82b7653d8ed559ee1cc3 DIST sunflower-0.4_p20200716.tar.xz 830248 BLAKE2B 673b320bf08c0e0600fae06a531f75403b0e76bd8a267918986da84537a5213f0a1d99c9de74820f15652b80959e9029566f4611138893f08919f389a66a8032 SHA512 0e30bbadb3d60a64e2a2b629104c2a3ad88d997d581c1c76ef593afa1d3c48aafd185b4cd36da25bed5c3e9b9d1389f0709aaa40e796e883dccfe71b214620ed diff --git a/x11-misc/sunflower/files/sunflower b/x11-misc/sunflower/files/sunflower deleted file mode 100644 index 192d4b99e1ae..000000000000 --- a/x11-misc/sunflower/files/sunflower +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python - -import os -os.chdir("@SITEDIR@") -import sunflower.Sunflower diff --git a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild deleted file mode 100644 index d1fea9c5a0c7..000000000000 --- a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit gnome2-utils python-r1 xdg-utils - -MY_PN="Sunflower" -DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support" -HOMEPAGE="https://github.com/MeanEYE/Sunflower - https://sunflower-fm.org/" -SRC_URI="http://sunflower-fm.org/pub/sunflower-${PV/_alpha/-}.tgz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - >=dev-python/pygtk-2.15.0[${PYTHON_USEDEP}] - >=dev-python/notify-python-0.1[${PYTHON_USEDEP}] - gnome-base/librsvg:2" - -S=${WORKDIR}/${MY_PN} - -src_prepare() { - default - find "${S}" -name "*.py[co]" -delete || die - find "${S}"/translations -name "*.po" -delete || die - rm "${S}"/translations/${PN}.pot || die - - sed -i \ - -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \ - ${MY_PN}.py || die -} - -src_install() { - touch __init__.py || die - installme() { - # install modules - python_moduleinto ${PN} - python_domodule images application ${MY_PN}.py \ - AUTHORS CHANGES COPYING DEPENDS TODO __init__.py - - # generate and install startup scripts - sed \ - -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \ - "${FILESDIR}"/${PN} > "${WORKDIR}"/${PN} || die - python_doscript "${WORKDIR}"/${PN} - } - - # install for all enabled implementations - python_foreach_impl installme - - insinto /usr/share/locale - # correct gettext behavior - if [[ -n "${LINGUAS+x}" ]] ; then - for i in $(cd "${S}"/translations ; echo *) ; do - if has ${i} ${LINGUAS} ; then - doins -r "${S}"/translations/${i} - fi - done - else - doins -r "${S}"/translations/* - fi - - newicon -s 64 images/${PN}_64.png ${PN}.png - doicon -s scalable images/${PN}.svg - newmenu ${MY_PN}.desktop ${PN}.desktop -} - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update - - # TODO: better description - elog "optional dependencies:" - elog " dev-python/libgnome-python" - elog " media-libs/mutagen" - elog " x11-libs/vte:0[python] (terminal support)" -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update -} diff --git a/x11-misc/sunflower/sunflower-0.3.61.ebuild b/x11-misc/sunflower/sunflower-0.3.61.ebuild deleted file mode 100644 index e632d371fb25..000000000000 --- a/x11-misc/sunflower/sunflower-0.3.61.ebuild +++ /dev/null @@ -1,93 +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 python-r1 xdg-utils desktop - -MY_PN="${PN^}" -MY_PV=$(ver_rs 2 '-') - -DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support" -HOMEPAGE="https://github.com/MeanEYE/Sunflower - https://sunflower-fm.org/" -SRC_URI="https://github.com/MeanEYE/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - >=dev-python/pygtk-2.15.0:2[${PYTHON_USEDEP}] - >=dev-python/notify-python-0.1[${PYTHON_USEDEP}] - gnome-base/librsvg:2 - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/pycairo[${PYTHON_USEDEP}] -" - -S=${WORKDIR}/${MY_PN}-$MY_PV - -src_prepare() { - default - find "${S}"/translations -name "*.po" -delete || die - rm "${S}"/translations/${PN}.pot || die - - sed -i \ - -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \ - ${MY_PN}.py || die -} - -src_install() { - touch __init__.py || die - installme() { - # install modules - python_moduleinto ${PN} - python_domodule images application ${MY_PN}.py \ - AUTHORS CHANGES COPYING DEPENDS TODO __init__.py - - # generate and install startup scripts - sed \ - -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \ - "${FILESDIR}"/${PN} > "${WORKDIR}"/${PN} || die - python_doscript "${WORKDIR}"/${PN} - } - - # install for all enabled implementations - python_foreach_impl installme - - insinto /usr/share/locale - # correct gettext behavior - if [[ -n "${LINGUAS+x}" ]] ; then - for i in $(cd "${S}"/translations ; echo *) ; do - if has ${i} ${LINGUAS} ; then - doins -r "${S}"/translations/${i} - fi - done - else - doins -r "${S}"/translations/* - fi - - newicon -s 64 images/${PN}_64.png ${PN}.png - doicon -s scalable images/${PN}.svg - newmenu ${MY_PN}.desktop ${PN}.desktop -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - - # TODO: better description - elog "optional dependencies:" - elog " dev-python/libgnome-python" - elog " media-libs/mutagen" - elog " x11-libs/vte:0[python] (terminal support)" -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} |