summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-17 22:06:00 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-17 22:15:22 +0100
commit5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc (patch)
tree079acc358c30332db2e20cee1a7efa0b89d31c54 /sci-mathematics
parentdev-python/pytest-xdist: fix typo in HOMEPAGE (diff)
downloadgentoo-5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc.tar.gz
gentoo-5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc.tar.bz2
gentoo-5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc.zip
sci-mathematics/lybniz: distutils-r1, EAPI=6
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 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
}