From: Michał Górny Date: Fri, 17 Feb 2017 21:06:00 +0000 (+0100) Subject: sci-mathematics/lybniz: distutils-r1, EAPI=6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc;p=gentoo.git sci-mathematics/lybniz: distutils-r1, EAPI=6 --- diff --git a/sci-mathematics/lybniz/lybniz-1.3.2.ebuild b/sci-mathematics/lybniz/lybniz-1.3.2-r1.ebuild similarity index 69% rename from sci-mathematics/lybniz/lybniz-1.3.2.ebuild rename to sci-mathematics/lybniz/lybniz-1.3.2-r1.ebuild index 092755bd3a56..3feef439552f 100644 --- a/sci-mathematics/lybniz/lybniz-1.3.2.ebuild +++ b/sci-mathematics/lybniz/lybniz-1.3.2-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="3" -PYTHON_DEPEND="2" +EAPI=6 +PYTHON_COMPAT=( python2_7 ) -inherit distutils +inherit distutils-r1 DESCRIPTION="A function plotter program written in PyGTK" HOMEPAGE="http://lybniz2.sourceforge.net/" @@ -16,16 +16,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-python/pygtk:2" +DEPEND="dev-python/pygtk:2[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - src_prepare() { sed -i \ -e 's/Education;/Education;Math;/' \ ${PN}.desktop || die + + distutils-r1_src_prepare }