summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/lybniz/lybniz-1.3.2-r1.ebuild (renamed from sci-mathematics/lybniz/lybniz-1.3.2.ebuild)17
1 files 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
index 092755bd3a5..3feef439552 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
}