Created attachment 399996 [details, diff] diff -u patch of ebuilds lybniz-1.3.2.ebuild inherit distutils and require conversion to the new eclass and EAPI upgrade. Patches to be committed if there is no response in 2 weeks.
Comment on attachment 399996 [details, diff] diff -u patch of ebuilds >--- lybniz-1.3.2.ebuild 2011-03-03 05:20:18.000000000 +0800 >+++ lybniz-1.3.2-r1.ebuild 2015-03-29 09:39:24.290113868 +0800 >@@ -1,11 +1,13 @@ >-# Copyright 1999-2011 Gentoo Foundation >+# Copyright 1999-2015 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/lybniz/lybniz-1.3.2.ebuild,v 1.3 2011/03/02 21:20:18 jlec Exp $ > >-EAPI="3" >-PYTHON_DEPEND="2" >+EAPI=5 > >-inherit distutils >+PYTHON_COMPAT=( python2_7 ) >+DISTUTILS_SINGLE_IMPL=1 no need for single_impl.
DISTUTILS_SINGLE_IMPL=1 is an optional var yes. I have elected to use it in conversions of old packages of this type. mgorny made it and I use it. Before I came across it I did conversions without it. Both work. Take you choice. It doesn't matter to me to use straight distutils-r1, however the point is that, without fail, these old ebuilds support only python2.7. Its use although arbitrary is totally apt.
commit 5347139ebc8b23689d7dbfff6f4ad6a1c5ae17fc Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Fri Feb 17 22:06:00 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Fri Feb 17 22:15:22 2017 sci-mathematics/lybniz: distutils-r1, EAPI=6