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 8FD8A158089 for ; Tue, 31 Oct 2023 07:53:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E6642BC05C; Tue, 31 Oct 2023 07:53:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 EA9D42BC05C for ; Tue, 31 Oct 2023 07:53:13 +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 42D55335D2B for ; Tue, 31 Oct 2023 07:53:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8327F130F for ; Tue, 31 Oct 2023 07:53:10 +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: <1698738781.b253e11baea7c46775caf99f0e97eff9fe9e7245.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cleo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cleo/Manifest dev-python/cleo/cleo-2.1.0.ebuild X-VCS-Directories: dev-python/cleo/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b253e11baea7c46775caf99f0e97eff9fe9e7245 X-VCS-Branch: master Date: Tue, 31 Oct 2023 07:53:10 +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: fcaf3fa6-0498-47ed-8b3e-11ba0853c677 X-Archives-Hash: 81d1d0c5822290ab3d6dc05e4ec9fb11 commit: b253e11baea7c46775caf99f0e97eff9fe9e7245 Author: Michał Górny gentoo org> AuthorDate: Tue Oct 31 07:37:12 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 31 07:53:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b253e11b dev-python/cleo: Bump to 2.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/cleo/Manifest | 1 + dev-python/cleo/cleo-2.1.0.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest index 4145345ead73..977fafdac4b3 100644 --- a/dev-python/cleo/Manifest +++ b/dev-python/cleo/Manifest @@ -1 +1,2 @@ DIST cleo-2.0.1.gh.tar.gz 154222 BLAKE2B dcaeff38c2dcb13b3c11200aa97cb2a1c16004558aabf9b44f1ba7ddd5d9c8c7784ea0ba1c50c19b015a6ff0659cb116b8ee926670091e39fd2b1cfd426cb72a SHA512 57a8e9cfc5486f73ade424199aaeb3def787a958031691aba2c6a230323d1c816316e3639dee7a07111aa0fc852d7088756f515cb24fdc84a40056ce969e5884 +DIST cleo-2.1.0.gh.tar.gz 165795 BLAKE2B 7c9d0cc869d1e185c2c5a092a8aa1d1b3cce5fc25246939c0ff94920ac7070000b110be9f6cd9d1f827ed951ff22b9ad62e3c17a941022967b7599e456cda837 SHA512 e73a4c02470052f0f602fae8b5bf7073f3342d0816074398b19f0fb25caddda51b6d2fcb9ef57026638d0dc8861a2b5142d87551b105cefa5e54426e4aa1225c diff --git a/dev-python/cleo/cleo-2.1.0.ebuild b/dev-python/cleo/cleo-2.1.0.ebuild new file mode 100644 index 000000000000..eeb083c81bf9 --- /dev/null +++ b/dev-python/cleo/cleo-2.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python tool for building testable command-line interfaces" +HOMEPAGE=" + https://github.com/python-poetry/cleo/ + https://pypi.org/project/cleo/ +" +SRC_URI=" + https://github.com/python-poetry/cleo/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/crashtest[${PYTHON_USEDEP}] + dev-python/rapidfuzz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin rapidfuzz + sed -i -e '/rapidfuzz/s:\^:>=:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock + epytest +}