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 0AF50158041 for ; Fri, 1 Mar 2024 16:44:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2968CE2A07; Fri, 1 Mar 2024 16:44:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08163E2A07 for ; Fri, 1 Mar 2024 16:44:12 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 037CC3430D4 for ; Fri, 1 Mar 2024 16:44:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60203E95 for ; Fri, 1 Mar 2024 16:44:09 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1709311436.f13f2c80cc1dac586270f3629ec77633fb8f055e.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/pybugz/Manifest www-client/pybugz/pybugz-0.14.ebuild X-VCS-Directories: www-client/pybugz/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f13f2c80cc1dac586270f3629ec77633fb8f055e X-VCS-Branch: master Date: Fri, 1 Mar 2024 16:44:09 +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: bf6bf5d9-a0f6-4441-a92a-1d426a2cb6a4 X-Archives-Hash: c54ceeba658f55e08abc27abdd437948 commit: f13f2c80cc1dac586270f3629ec77633fb8f055e Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 1 16:42:52 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 1 16:43:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13f2c80 www-client/pybugz: add 0.14, flit, add test, enable py3.12 Thanks to moving to flit upstream, the install is much simpler. Add a basic test for verifying the tools works (needs network). Enable py3.12 Remove dep on python[readline] - not used upstream. Closes: https://bugs.gentoo.org/604826 Closes: https://bugs.gentoo.org/847301 Closes: https://bugs.gentoo.org/919903 Signed-off-by: Arthur Zamarin gentoo.org> www-client/pybugz/Manifest | 1 + www-client/pybugz/pybugz-0.14.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/www-client/pybugz/Manifest b/www-client/pybugz/Manifest index ba05047de28c..e15b1c517db8 100644 --- a/www-client/pybugz/Manifest +++ b/www-client/pybugz/Manifest @@ -1 +1,2 @@ DIST pybugz-0.13.tar.gz 26876 BLAKE2B fbab5ff308e137bf590620362fe102408444c7c1cb375f2c2d426cf5873fba5cf8759d7083be4c6bd305191680af8d1afc3aaf0648e186a93af4dd0b60442093 SHA512 2cbbd32b44d0d513e91e5c35dca5c68e34a963190c31f9139922f6b8ba69c7362063155b35833a00c2bd064f94d99367e2941a573aed4488f9a71a3b163d4b54 +DIST pybugz-0.14.tar.gz 26589 BLAKE2B 7d18060f0398869d8420013b298fd1899b89e9136332b961b289bbc93894d020ef3c6a5af90ddc5966e14a3eb65880fa5751d15011621177ee09176148d845f9 SHA512 4701b7e67bb922f3fcf5158449a07a872723347e83ff654ce93f8f2fdb495d720bcc387b74b68429fe48beb8b2acf98ad3ce77720e99dfffaba92cbc97052cdd diff --git a/www-client/pybugz/pybugz-0.14.ebuild b/www-client/pybugz/pybugz-0.14.ebuild new file mode 100644 index 000000000000..6583a278f92d --- /dev/null +++ b/www-client/pybugz/pybugz-0.14.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ssl(+)" + +if [[ ${PV} = "9999" ]]; then + EGIT_REPO_URI="https://github.com/williamh/pybugz.git" + inherit git-r3 +else + SRC_URI="https://github.com/williamh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi + +inherit distutils-r1 + +DESCRIPTION="Command line interface to (Gentoo) Bugzilla" +HOMEPAGE="https://github.com/williamh/pybugz" + +LICENSE="GPL-2" +SLOT="0" +RESTRICT="test" +PROPERTIES="test_network" + +python_test() { + # not the highest quality of test, but checks many parts of the code work. + # good enough for PYTHON_COMPAT checks. + "${EPYTHON}" lbugz get 784263 || die "Tests failed with ${EPYTHON}" +}