commit:     f6aeafe652ed7d0b94c8f950d6afeb63f4e8d2bf
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 00:10:30 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 00:10:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6aeafe6

dev-python/polygon: Add python 3.9

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/polygon/polygon-3.0.7.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-python/polygon/polygon-3.0.7.ebuild 
b/dev-python/polygon/polygon-3.0.7.ebuild
index e9821f63b46..7e55b589af0 100644
--- a/dev-python/polygon/polygon-3.0.7.ebuild
+++ b/dev-python/polygon/polygon-3.0.7.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1
 
@@ -14,12 +14,12 @@ 
SRC_URI="https://www.bitbucket.org/jraedler/${PN}3/downloads/Polygon3-${PV}.zip";
 
 LICENSE="LGPL-2"
 SLOT="3"
-IUSE="examples"
 KEYWORDS="amd64 ppc x86"
+IUSE="examples"
 
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
 
-S=${WORKDIR}/Polygon3-${PV}
+S="${WORKDIR}/Polygon3-${PV}"
 
 DOCS=( doc/{Polygon.txt,Polygon.pdf} )
 
@@ -28,6 +28,7 @@ python_prepare_all() {
                mkdir examples || die
                mv doc/{Examples.py,testpoly.gpf} examples || die
        fi
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to