commit: 5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 17 21:06:00 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 17 21:15:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5347139e
sci-mathematics/lybniz: distutils-r1, EAPI=6 .../{lybniz-1.3.2.ebuild => lybniz-1.3.2-r1.ebuild} | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) 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 092755bd3a..3feef43955 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 }