From: Michał Górny Date: Mon, 9 Mar 2020 09:48:51 +0000 (+0100) Subject: dev-python/pypng: Bump to 0.0.20, py3.{7,8} X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4922ee067de30150895447ece61db9402d6c8c55;p=gentoo.git dev-python/pypng: Bump to 0.0.20, py3.{7,8} Signed-off-by: Michał Górny --- 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}" +}