summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-09 10:48:51 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-09 11:16:53 +0100
commit4922ee067de30150895447ece61db9402d6c8c55 (patch)
tree737e94a08bf735be8e4e7ded161af5bbb07be6f2 /dev-python/pypng
parentpackage.mask: Last rite dev-python/tweepy (diff)
downloadgentoo-4922ee067de30150895447ece61db9402d6c8c55.tar.gz
gentoo-4922ee067de30150895447ece61db9402d6c8c55.tar.bz2
gentoo-4922ee067de30150895447ece61db9402d6c8c55.zip
dev-python/pypng: Bump to 0.0.20, py3.{7,8}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypng')
-rw-r--r--dev-python/pypng/Manifest1
-rw-r--r--dev-python/pypng/pypng-0.0.20.ebuild21
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/pypng/Manifest b/dev-python/pypng/Manifest
index 5f383052296e..2beb1e4c1f6a 100644
--- a/dev-python/pypng/Manifest
+++ b/dev-python/pypng/Manifest
@@ -1 +1,2 @@
DIST pypng-0.0.18.tar.gz 377942 BLAKE2B e27540cabc4b872af5779a128b3213745ff173fd4c0c94ef7b7e9868b84a58beaca40e0ec6c5886a6a6f8652118bd792a0b61275920e1991cafb1568af8a5312 SHA512 3e44b0c86c3ff042c7e4bf03e82281c6807c4eae432c45b9bf4bf9fc844e24031a17245410e9060e6912ef77a30b9ea956422a3d9aac4331e7e81323da632e47
+DIST pypng-0.0.20.tar.gz 649538 BLAKE2B 9a15923c7f4d06deb982dc0b70d7502d3a5189f06cd6cdd0b35e81fcba6ea6b8ef50a6ab1ea03d8ac69a5e4d712eb23d7e18a3f1641c5a51f6f4d287d2fb5e43 SHA512 4f84e9b9cc68c0ad7e4558f0f46c54b0f091561f1a3679ac0679d8a1f1ab9a06493d71bf9df4db5deb6bedbdfa53bb1775ee51204133309eba962077102fdcdd
diff --git a/dev-python/pypng/pypng-0.0.20.ebuild b/dev-python/pypng/pypng-0.0.20.ebuild
new file mode 100644
index 000000000000..34b8f0314bb6
--- /dev/null
+++ b/dev-python/pypng/pypng-0.0.20.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure Python PNG image encoder/decoder"
+HOMEPAGE="https://github.com/drj11/pypng https://pypi.org/project/pypng/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+python_test() {
+ "${EPYTHON}" code/test_png.py -v || die "Tests fail with ${EPYTHON}"
+}