summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-15 07:56:46 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-15 07:58:27 +0200
commiteb03926764b273698c16e5ae6b15dc0ee2c88e84 (patch)
tree615d138e5dc4f108e913637c500fac1fe26cbaed /dev-python/pypng/pypng-0.0.20.ebuild
parentdev-python/peewee: Port to py3.9 (diff)
downloadgentoo-eb03926764b273698c16e5ae6b15dc0ee2c88e84.tar.gz
gentoo-eb03926764b273698c16e5ae6b15dc0ee2c88e84.tar.bz2
gentoo-eb03926764b273698c16e5ae6b15dc0ee2c88e84.zip
dev-python/pypng: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypng/pypng-0.0.20.ebuild')
-rw-r--r--dev-python/pypng/pypng-0.0.20.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/pypng/pypng-0.0.20.ebuild b/dev-python/pypng/pypng-0.0.20.ebuild
index 9bb9cf785ed9..48293ee70a3f 100644
--- a/dev-python/pypng/pypng-0.0.20.ebuild
+++ b/dev-python/pypng/pypng-0.0.20.ebuild
@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -16,6 +16,10 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-py39.patch
+)
+
python_test() {
"${EPYTHON}" code/test_png.py -v || die "Tests fail with ${EPYTHON}"
}