summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-26 08:52:40 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-26 09:09:12 +0200
commit06a878910a184db3e7ed1954e6b3996551773822 (patch)
tree6da9d2b623302771448cc53d4c0c26c0c19aea6a /dev-python/pypng
parentapp-admin/awscli: Bump to 1.20.29 (diff)
downloadgentoo-06a878910a184db3e7ed1954e6b3996551773822.tar.gz
gentoo-06a878910a184db3e7ed1954e6b3996551773822.tar.bz2
gentoo-06a878910a184db3e7ed1954e6b3996551773822.zip
dev-python/pypng: Bump to 0.0.21
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.21.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/pypng/Manifest b/dev-python/pypng/Manifest
index e78f5c5a04e3..9987a295acfc 100644
--- a/dev-python/pypng/Manifest
+++ b/dev-python/pypng/Manifest
@@ -1 +1,2 @@
DIST pypng-0.0.20.tar.gz 649538 BLAKE2B 9a15923c7f4d06deb982dc0b70d7502d3a5189f06cd6cdd0b35e81fcba6ea6b8ef50a6ab1ea03d8ac69a5e4d712eb23d7e18a3f1641c5a51f6f4d287d2fb5e43 SHA512 4f84e9b9cc68c0ad7e4558f0f46c54b0f091561f1a3679ac0679d8a1f1ab9a06493d71bf9df4db5deb6bedbdfa53bb1775ee51204133309eba962077102fdcdd
+DIST pypng-0.0.21.tar.gz 111899 BLAKE2B b4b8f17b76918f415c02edc09a597af643615f46839fb4464f3116e4cefb0a251227f344ff2c1c51efb87933faf647bfa6a7c4d89bc91c8389a3dc71479e878d SHA512 b8f5f9be05aafe59aeb69462b7ccc9e5c4df8eb157731d888773f0ef223dc1c45db83daa51347b45dc3c59be5141c3fc4e031004ac28927b786d7e254ffff4fa
diff --git a/dev-python/pypng/pypng-0.0.21.ebuild b/dev-python/pypng/pypng-0.0.21.ebuild
new file mode 100644
index 000000000000..da8290ca6532
--- /dev/null
+++ b/dev-python/pypng/pypng-0.0.21.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure Python PNG image encoder/decoder"
+HOMEPAGE="
+ https://github.com/drj11/pypng/
+ https://pypi.org/project/pypng/"
+SRC_URI="https://github.com/drj11/pypng/archive/${P}.tar.gz"
+S=${WORKDIR}/pypng-${P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+python_test() {
+ "${EPYTHON}" code/test_png.py -v || die "Tests fail with ${EPYTHON}"
+}