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 3FE5115838C for ; Tue, 23 Jan 2024 11:26:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D3DFE2A5B; Tue, 23 Jan 2024 11:26:42 +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 380B2E2A5B for ; Tue, 23 Jan 2024 11:26:42 +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 2DBA634330F for ; Tue, 23 Jan 2024 11:26:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89299F7D for ; Tue, 23 Jan 2024 11:26:39 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1706009118.388dedf047c2f00822f1358a994e0f53312d8f67.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-pw/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-pw/Manifest dev-vcs/git-pw/git-pw-2.6.0.ebuild X-VCS-Directories: dev-vcs/git-pw/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 388dedf047c2f00822f1358a994e0f53312d8f67 X-VCS-Branch: master Date: Tue, 23 Jan 2024 11:26:39 +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: c881a21f-e807-48fa-918d-5c345b28cde5 X-Archives-Hash: 15c54c586c60209c6df8e5951823e3cf commit: 388dedf047c2f00822f1358a994e0f53312d8f67 Author: Yixun Lan gentoo org> AuthorDate: Tue Jan 23 11:22:32 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Jan 23 11:25:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388dedf0 dev-vcs/git-pw: add 2.6.0 Signed-off-by: Yixun Lan gentoo.org> dev-vcs/git-pw/Manifest | 1 + dev-vcs/git-pw/git-pw-2.6.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-vcs/git-pw/Manifest b/dev-vcs/git-pw/Manifest index cd539f9d7ac9..f5d140e0bb1c 100644 --- a/dev-vcs/git-pw/Manifest +++ b/dev-vcs/git-pw/Manifest @@ -1,2 +1,3 @@ DIST git-pw-2.4.0.tar.gz 34874 BLAKE2B cc44b3e8660e8ede70a32b2e7d79dc000c050a7359b9d092df535bb0d79f79dc6c95f2b8563e7f750cc74618530db376a1dee08802bc1f2f4b7239b1f4fe57c3 SHA512 5a2b22d33903c779d319a40afbce8f7137272d5fcd4ebd62901b59468333523aea3c276b56cc7227d4aa2b53c30664ac07858bab2f80ef99a55a28af0feecefb DIST git-pw-2.5.0.tar.gz 35380 BLAKE2B 18b8e7eab4140b2e1010fb346e9dd3f39cf0c0b8d750c596590ecdb2693e8721834917680664ae166092addb6ea9d3bd67dc3060db7773ca488a8f714cfa248e SHA512 46d44187b4d5dd87b484461fa00fa805c475f32f40d2cb05fa3cdbeebd83f04636082af23e5cba7b07ecb89ad4ff81470da9b8fef3dccd50fbdcca48483c82e8 +DIST git-pw-2.6.0.tar.gz 35628 BLAKE2B 6f6b5200776eb88c9ab4fcb5149b2e95f90a5d8dcd7bb18b07f326454e8a397266976a8f7f6b635857ebf3da876f9a0c75cd195d731406ef89ef45fe21672ef1 SHA512 b99efa89a5efcf34bd53b0fd691bb9c86f7585f352faab99a795f0902801c95310a7ea1414f8eb0bfac73f8d6af9b4cc7897d7d33cbeb4f3a5faedd35e62af4f diff --git a/dev-vcs/git-pw/git-pw-2.6.0.ebuild b/dev-vcs/git-pw/git-pw-2.6.0.ebuild new file mode 100644 index 000000000000..ccb909f73e2f --- /dev/null +++ b/dev-vcs/git-pw/git-pw-2.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=pbr + +inherit distutils-r1 +if [[ "${PV}" == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/getpatchwork/git-pw.git" +else + SRC_URI="https://github.com/getpatchwork/git-pw/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="A tool for integrating Git with Patchwork" +HOMEPAGE="https://github.com/getpatchwork/git-pw" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/arrow-0.10[${PYTHON_USEDEP}] + >=dev-python/click-6.0[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + =dev-python/tabulate-0.8[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/mock-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-3.0[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-2.5[${PYTHON_USEDEP}] + ) +" + +src_compile() { + export PBR_VERSION=${PV} + distutils-r1_src_compile +} +distutils_enable_tests pytest