From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1615176-garchives=archives.gentoo.org@lists.gentoo.org> 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 81A24158041 for <garchives@archives.gentoo.org>; Wed, 27 Mar 2024 12:25:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DDC3E2A4B; Wed, 27 Mar 2024 12:25:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 770F8E2A4B for <gentoo-commits@lists.gentoo.org>; Wed, 27 Mar 2024 12:25:06 +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 961CC335C36 for <gentoo-commits@lists.gentoo.org>; Wed, 27 Mar 2024 12:25:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A0CBB29 for <gentoo-commits@lists.gentoo.org>; Wed, 27 Mar 2024 12:25:04 +0000 (UTC) From: "Alexey Shvetsov" <alexxy@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" <alexxy@gentoo.org> Message-ID: <1711542298.79d4d97f2d8d6299bec282110448c078af577050.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pmw/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pmw/Manifest dev-python/pmw/pmw-2.1.1.ebuild X-VCS-Directories: dev-python/pmw/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 79d4d97f2d8d6299bec282110448c078af577050 X-VCS-Branch: master Date: Wed, 27 Mar 2024 12:25:04 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bf0f2018-9fe8-4cce-8fdd-8a2f8cec5c30 X-Archives-Hash: b22a68473add3ab47f00afe31bdf4436 commit: 79d4d97f2d8d6299bec282110448c078af577050 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> AuthorDate: Wed Mar 27 12:23:48 2024 +0000 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> CommitDate: Wed Mar 27 12:24:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d4d97f dev-python/pmw: add 2.1.1 Closes: https://bugs.gentoo.org/905446 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> dev-python/pmw/Manifest | 1 + dev-python/pmw/pmw-2.1.1.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/pmw/Manifest b/dev-python/pmw/Manifest index 42cbe402c60e..db7c6f3cc171 100644 --- a/dev-python/pmw/Manifest +++ b/dev-python/pmw/Manifest @@ -1 +1,2 @@ DIST Pmw-2.0.1.tar.gz 830448 BLAKE2B c78fef1570a34b9784f936f16856c4450164d8a232770e59cc084c1113888af8ee002cd1c7ddeadcddaacb5eae9ff58fcbfc270fc066875523e31a9d26770cd3 SHA512 99654e961aa40a64eebc08fe473e94da0ce431e6465255c68c251dfd544a51edef1a5d97dfd89ce756eb5f7fcf917dbef27f646ba9451ab72f3d460daa09a556 +DIST Pmw-2.1.1.tar.gz 1077119 BLAKE2B 3e78796489d996df8fbcaca119f03b718f5457d38af175232c055c1c94e6c98c3f198e3dd0859a4af1cc88f36df83ed57c0d8ee67f90362a8590de5a37d2f669 SHA512 7f4c3181b0ae546f9f89cf666917fd9ea0161a2c4a4e6b5756e0aeb543fcd3ed4598c83e294b04312fea6a386b06b370668b4400f1497cc8b2fc2ab19a3fdd3d diff --git a/dev-python/pmw/pmw-2.1.1.ebuild b/dev-python/pmw/pmw-2.1.1.ebuild new file mode 100644 index 000000000000..b9c3e6317b8c --- /dev/null +++ b/dev-python/pmw/pmw-2.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="tk" + +inherit distutils-r1 virtualx pypi + +DESCRIPTION="Toolkit for building high-level compound Python widgets using the Tkinter module" +HOMEPAGE="https://pypi.org/project/Pmw/" + +LICENSE="BSD" +SLOT="py3" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc test" +# https://sourceforge.net/p/pmw/bugs/39/ +RESTRICT="test" + +DEPEND="!dev-python/pmw:0" +RDEPEND="${DEPEND}" + +python_test() { + VIRTUALX_COMMAND="${PYTHON}" + cd "${BUILD_DIR}/lib/Pmw/Pmw_${PV//./_}/" || die + cp tests/{flagup.bmp,earthris.gif} . || die + for test in tests/*_test.py; do + echo "running test "$test + PYTHONPATH=tests:../../ virtx emake -j1 $test || die + done +} + +python_install_all() { + local DIR="Pmw/Pmw_${PV//./_}" + + use doc && HTML_DOCS=( "${DIR}"/doc/. ) + + distutils-r1_python_install_all +}