commit:     75e4633e9111b961dfe17fcd6c14a361a8ae242e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  4 02:39:20 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul  4 02:39:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e4633e

dev-python/exceptiongroup: Bump to 1.1.2

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

 dev-python/exceptiongroup/Manifest                 |  1 +
 .../exceptiongroup/exceptiongroup-1.1.2.ebuild     | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/exceptiongroup/Manifest 
b/dev-python/exceptiongroup/Manifest
index fa6a3db98534..cb338eb5af2e 100644
--- a/dev-python/exceptiongroup/Manifest
+++ b/dev-python/exceptiongroup/Manifest
@@ -1 +1,2 @@
 DIST exceptiongroup-1.1.1.gh.tar.gz 23107 BLAKE2B 
d68778e4a4d14add65ee2300fd15308c17b2cae1733bf4e8938e88b5cf76b9f19d8f9c102c06298769ff9541ded02868763d9c4aac776d22f78c250ea2d942ce
 SHA512 
eb072fef6160cc6d332ae6e08ee7a34ce478188d143f97daae3f8251a8253a7b460249a121af27d66953ff8000ea5ef43a6dee145b14ba7b2968790132a766bf
+DIST exceptiongroup-1.1.2.gh.tar.gz 23079 BLAKE2B 
f6bce757f1a2672956bf919f3ef0c9c6ea1034bf176e2ed8f3fa92c3fe34974885c59fa9915a42b8d5673b077d48fea3179e12cbd0c39f4277090fdbb3803d08
 SHA512 
432768f97e3468546b71993fd20ed98d85eb15170228cef8fe39d7c2232d0249c29f6fe1c991313742ee3a22a73cc91336d54ef278337b20e0e2ba296cf7102e

diff --git a/dev-python/exceptiongroup/exceptiongroup-1.1.2.ebuild 
b/dev-python/exceptiongroup/exceptiongroup-1.1.2.ebuild
new file mode 100644
index 000000000000..0726291913a8
--- /dev/null
+++ b/dev-python/exceptiongroup/exceptiongroup-1.1.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit_scm
+PYTHON_COMPAT=( pypy3 python3_{10..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/
+"
+# pypi sdist does not include tests as of 1.1.1
+# https://github.com/agronholm/exceptiongroup/pull/59
+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 ~loong ~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
+}

Reply via email to