From 531458626fbced1d1402790d7623df10c4de29a4 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 6 Sep 2016 21:16:52 +0200 Subject: games-board/pysolfc: Simplify, remove python-single-r1 inherit Package-Manager: portage-2.3.0 --- games-board/pysolfc/pysolfc-2.0-r5.ebuild | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) (limited to 'games-board/pysolfc') diff --git a/games-board/pysolfc/pysolfc-2.0-r5.ebuild b/games-board/pysolfc/pysolfc-2.0-r5.ebuild index 6b7b75260a67..9dc1ce7e2070 100644 --- a/games-board/pysolfc/pysolfc-2.0-r5.ebuild +++ b/games-board/pysolfc/pysolfc-2.0-r5.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="tk" DISTUTILS_SINGLE_IMPL="1" -inherit eutils python-single-r1 distutils-r1 +inherit eutils distutils-r1 MY_PN=PySolFC SOL_URI="mirror://sourceforge/${PN}" @@ -31,23 +31,12 @@ RDEPEND="${RDEPEND} dev-tcltk/tktable ) sound? ( dev-python/pygame[${PYTHON_USEDEP}] )" -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/${PN}-PIL-imports.patch" #471514 - "${FILESDIR}/${PN}-gentoo.patch" #591904 - ) - - distutils-r1_python_prepare_all -} - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - default - distutils-r1_src_prepare +PATCHES=( + "${FILESDIR}/${PN}-PIL-imports.patch" #471514 + "${FILESDIR}/${PN}-gentoo.patch" #591904 +) +python_prepare_all() { sed -i \ -e "/pysol.desktop/d" \ -e "s:share/icons:share/pixmaps:" \ @@ -55,10 +44,8 @@ src_prepare() { setup.py || die mv docs/README{,.txt} || die -} -src_compile() { - distutils-r1_src_compile + distutils-r1_python_prepare_all } python_install_all() { @@ -76,7 +63,3 @@ python_install_all() { distutils-r1_python_install_all } - -src_install() { - distutils-r1_src_install -} -- cgit v1.2.3