diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-16 09:12:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-16 10:02:08 +0200 |
commit | 44479f5056226957d6b7e85ccfda65ca19d06a2d (patch) | |
tree | e60d2dc330845f43e9b3973373670588e09516c3 /dev-python/pypng | |
parent | dev-python/inflect: Bump to 5.6.2 (diff) | |
download | gentoo-44479f5056226957d6b7e85ccfda65ca19d06a2d.tar.gz gentoo-44479f5056226957d6b7e85ccfda65ca19d06a2d.tar.bz2 gentoo-44479f5056226957d6b7e85ccfda65ca19d06a2d.zip |
dev-python/pypng: Bump to 0.20220715.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pypng')
-rw-r--r-- | dev-python/pypng/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pypng/pypng-0.20220715.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pypng/Manifest b/dev-python/pypng/Manifest index bf24b244d0ea..824b61ec3591 100644 --- a/dev-python/pypng/Manifest +++ b/dev-python/pypng/Manifest @@ -1 +1,2 @@ DIST pypng-0.0.21.tar.gz 111899 BLAKE2B b4b8f17b76918f415c02edc09a597af643615f46839fb4464f3116e4cefb0a251227f344ff2c1c51efb87933faf647bfa6a7c4d89bc91c8389a3dc71479e878d SHA512 b8f5f9be05aafe59aeb69462b7ccc9e5c4df8eb157731d888773f0ef223dc1c45db83daa51347b45dc3c59be5141c3fc4e031004ac28927b786d7e254ffff4fa +DIST pypng-pypng-0.20220715.0.tar.bz2 103437 BLAKE2B 4079df64f54a2f7f38ac0515c6be7d1b1048d5662c4bee78d0d1cbc014b3a560c7458845b8be07d499644e112a5b92aac890d887c0165577daeded09ca69a69d SHA512 48e254be1631c626bea366bcac5d8123bda14378d27ee95b4b80ae172821a9b194f136be315ae3539a6d1ad3e712a795f5cc60938b55941e441c64ec40feccb0 diff --git a/dev-python/pypng/pypng-0.20220715.0.ebuild b/dev-python/pypng/pypng-0.20220715.0.ebuild new file mode 100644 index 000000000000..920f985e1ef7 --- /dev/null +++ b/dev-python/pypng/pypng-0.20220715.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +MY_P=pypng-${P} +DESCRIPTION="Pure Python PNG image encoder/decoder" +HOMEPAGE=" + https://gitlab.com/drj11/pypng/ + https://pypi.org/project/pypng/ +" +SRC_URI=" + https://gitlab.com/drj11/pypng/-/archive/${P}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +python_test() { + # let's talk about code quality + local -x PYTHONPATH=code PATH=code:${PATH} + "${EPYTHON}" code/test_png.py -v || die "Tests fail with ${EPYTHON}" +} |