commit:     ba91aff32558c56ebf3579e75bffe87c0a7f7d85
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 05:40:24 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 18 05:58:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba91aff3

dev-python/exceptiongroup: Bump to 1.0.0_rc6

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/exceptiongroup/Manifest                 |  1 +
 .../exceptiongroup/exceptiongroup-1.0.0_rc6.ebuild | 34 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/exceptiongroup/Manifest 
b/dev-python/exceptiongroup/Manifest
index 136a2c4d5380..8d5ef4647b1c 100644
--- a/dev-python/exceptiongroup/Manifest
+++ b/dev-python/exceptiongroup/Manifest
@@ -1 +1,2 @@
 DIST exceptiongroup-1.0.0rc5.gh.tar.gz 16454 BLAKE2B 
55af4d2240e4a5567f5669d15e8507c454d47c1f7d8f72212afeecfa37e0c4a6b36f9176a87a48d3f9edf0628a8c99863670d24aca3770dd88abaa463784c731
 SHA512 
dd5ee895b4531524c4f0dfaedf818ac76a1b6fe74cd75bbce824b6a0d2b981673ffd6ba36f71b5dacf3e17c89d196a258400d04a64c71f28c221d7fb0f934ab7
+DIST exceptiongroup-1.0.0rc6.gh.tar.gz 17184 BLAKE2B 
75a1a07d683cbd4d23c25156f4ff3fbda3f08e7df3be67320b08e995f469a9cbd66ca90391fb586972c5c601aff60d44eba3ec5c2d3cccbc791a0482600caea2
 SHA512 
f74fe5b5df5c7ceb09076db4b7327e2a22202f61fbbfcaeef4f2ce7fb0725a8f57756473db6b2d92d3ee044e26c7ad135d8366944e0858439c4a77ed8b5b7362

diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc6.ebuild 
b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc6.ebuild
new file mode 100644
index 000000000000..2571619d98a3
--- /dev/null
+++ b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc6.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..10} )
+
+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="~amd64 ~x86"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_}
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to