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 5336C158020 for ; Fri, 4 Nov 2022 18:06:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F010E0809; Fri, 4 Nov 2022 18:06:45 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 166F6E0809 for ; Fri, 4 Nov 2022 18:06:45 +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 0ACCA340AC0 for ; Fri, 4 Nov 2022 18:06:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 928766E8 for ; Fri, 4 Nov 2022 18:06:42 +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: <1667585193.7b5ca2360ca1ed89774c3dce38e943071500a4f2.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/exceptiongroup/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/exceptiongroup/Manifest dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild X-VCS-Directories: dev-python/exceptiongroup/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 7b5ca2360ca1ed89774c3dce38e943071500a4f2 X-VCS-Branch: master Date: Fri, 4 Nov 2022 18:06:42 +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: 5ccb16bf-d26b-4442-bc96-7c504807e7e4 X-Archives-Hash: 33403e861bea7efb9d68f6e22debe9c6 commit: 7b5ca2360ca1ed89774c3dce38e943071500a4f2 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 4 17:33:06 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 4 18:06:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5ca236 dev-python/exceptiongroup: add 1.0.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/exceptiongroup/Manifest | 1 + .../exceptiongroup/exceptiongroup-1.0.1.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index b4f69ffa63aa..c3ac5386c6cb 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -1 +1,2 @@ DIST exceptiongroup-1.0.0.gh.tar.gz 19766 BLAKE2B 2c4aa2c7c096b91971872b2236fad211a1bd7cb8ae921f5a0255b5a534eefdb5033bbca4c562ff7045acf30e13371a38d52851749cd5bca4df6adfe359a43012 SHA512 e2e05066c0c7664bb36696737c0c33abd811637c5f0ae7e70a20525283d4db4667fa814b15cb6b21165416ae1a0c47f22250a2ed9be4be99b6237e0c1b45fdd4 +DIST exceptiongroup-1.0.1.gh.tar.gz 20267 BLAKE2B 1438e88a51034acd8b032339097640862da323dc46aaab4f64e53a3e8c3ce8a7bbda16cc72eff9c4f3ac44d8c239b9e51d3561781bbd0ed88fe9e1db78e95c2b SHA512 79a678b6d3d152334ff593d15047e4b4c8714d50bd667ff2c878617512fe78b0c1d9df113db221d9ac7ea1e4522427747d85e26ae2d46b16f15538e1a638cc38 diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild new file mode 100644 index 000000000000..b848cb3eea31 --- /dev/null +++ b/dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit_scm +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Backport of PEP 654 (exception groups)" +HOMEPAGE=" + https://github.com/agronholm/exceptiongroup/ + https://pypi.org/project/exceptiongroup/ +" +SRC_URI=" + https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}