From c5bb261dd6dbbfaae42c7a0b413a40dbe0bb79c4 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 22 Mar 2020 07:11:14 +0100 Subject: media-gfx/cropgui: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/708098 Signed-off-by: Michał Górny --- media-gfx/cropgui/cropgui-0.2-r1.ebuild | 53 --------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 media-gfx/cropgui/cropgui-0.2-r1.ebuild (limited to 'media-gfx/cropgui/cropgui-0.2-r1.ebuild') diff --git a/media-gfx/cropgui/cropgui-0.2-r1.ebuild b/media-gfx/cropgui/cropgui-0.2-r1.ebuild deleted file mode 100644 index 4843bea19214..000000000000 --- a/media-gfx/cropgui/cropgui-0.2-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-r1 - -DESCRIPTION="GUI for lossless cropping of jpeg images" -HOMEPAGE="http://emergent.unpythonic.net/01248401946" -SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${PYTHON_DEPS} - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] -" - -src_prepare() { - sed -i -e '/Encoding/d' \ - -e '/Version/d' \ - -e '/MimeType/s/$/&;/' \ - -e '/Categories/s/Application;//' \ - cropgui.desktop || die 'sed on cropgui.desktop failed' - # bug 471530 - eapply "${FILESDIR}/${P}-PIL.patch" - # bug 616708 - eapply "${FILESDIR}/${P}-tobytes.patch" - - eapply_user -} - -install_cropgui_wrapper() { - python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade - make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py" - python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}" - rm "${ED%/}/usr/bin/${PN}.tmp" || die -} - -src_install() { - python_moduleinto "${PN}" - python_foreach_impl install_cropgui_wrapper - - domenu "${PN}.desktop" - doicon "${PN}.png" -} -- cgit v1.2.3-65-gdbad