commit:     531458626fbced1d1402790d7623df10c4de29a4
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 19:16:52 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 19:17:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53145862

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(-)

diff --git a/games-board/pysolfc/pysolfc-2.0-r5.ebuild 
b/games-board/pysolfc/pysolfc-2.0-r5.ebuild
index 6b7b752..9dc1ce7 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
-}

Reply via email to