From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F60F158095 for ; Sat, 16 Jul 2022 08:02:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 496BBE0F45; Sat, 16 Jul 2022 08:02:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F4231E0F43 for ; Sat, 16 Jul 2022 08:02:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41755340D48 for ; Sat, 16 Jul 2022 08:02:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B409542 for ; Sat, 16 Jul 2022 08:02:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1657958528.44479f5056226957d6b7e85ccfda65ca19d06a2d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypng/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypng/Manifest dev-python/pypng/pypng-0.20220715.0.ebuild X-VCS-Directories: dev-python/pypng/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 44479f5056226957d6b7e85ccfda65ca19d06a2d X-VCS-Branch: master Date: Sat, 16 Jul 2022 08:02:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d5e6815f-62ad-4488-8a9c-0e83255cf3b6 X-Archives-Hash: 70cedd23a6ccfd87cc5eed1f10980131 commit: 44479f5056226957d6b7e85ccfda65ca19d06a2d Author: Michał Górny gentoo org> AuthorDate: Sat Jul 16 07:12:24 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jul 16 08:02:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44479f50 dev-python/pypng: Bump to 0.20220715.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pypng/Manifest | 1 + dev-python/pypng/pypng-0.20220715.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) 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}" +}