summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-01-24 01:10:30 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-24 01:10:30 +0100
commitf6aeafe652ed7d0b94c8f950d6afeb63f4e8d2bf (patch)
tree8a8251ecedd422a257f5c19f8b4be3a598a147d5 /dev-python/polygon
parentmedia-sound/dcaenc: Drop 2-r1 and unmaintained live ebuild (diff)
downloadgentoo-f6aeafe652ed7d0b94c8f950d6afeb63f4e8d2bf.tar.gz
gentoo-f6aeafe652ed7d0b94c8f950d6afeb63f4e8d2bf.tar.bz2
gentoo-f6aeafe652ed7d0b94c8f950d6afeb63f4e8d2bf.zip
dev-python/polygon: Add python 3.9
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/polygon')
-rw-r--r--dev-python/polygon/polygon-3.0.7.ebuild13
1 files 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 e9821f63b466..7e55b589af0f 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
}