summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-09-28 13:33:06 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-09-28 13:33:06 +0200
commit541aad237a5ae5ba9e1be700d75c67e45690d4e2 (patch)
tree6e3daf3cee2cf47356762c00616a1ea77e0dc1ab /dev-python/exceptiongroup
parentwww-client/microsoft-edge-dev: force removal of _gpgorigin (diff)
downloadgentoo-541aad237a5ae5ba9e1be700d75c67e45690d4e2.tar.gz
gentoo-541aad237a5ae5ba9e1be700d75c67e45690d4e2.tar.bz2
gentoo-541aad237a5ae5ba9e1be700d75c67e45690d4e2.zip
dev-python/exceptiongroup: add 1.0.0_rc9
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/exceptiongroup')
-rw-r--r--dev-python/exceptiongroup/Manifest1
-rw-r--r--dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest
index 143a5cf6cb2d..4487b819155f 100644
--- a/dev-python/exceptiongroup/Manifest
+++ b/dev-python/exceptiongroup/Manifest
@@ -1 +1,2 @@
DIST exceptiongroup-1.0.0rc8.gh.tar.gz 17562 BLAKE2B 617e174e32f4c062f576b12c9dfe96e5495003097dc0da82e383019a65b2a043546d4b73181081defb641d453127e056be52e55e76fdf0ec0247513f5eb211ff SHA512 f7f1700403f345755a1e32c77eb43744b366b1f55446e1898dd960988d23396ad8334bef072ecc7ec5ac7075300f0f3e8e9a0d454d9dd80677ae55b4166fc6e4
+DIST exceptiongroup-1.0.0rc9.gh.tar.gz 19109 BLAKE2B b4a4c127909908aa2d9fb2bfff0f0ae6c6b9be88046a680b6b206164b0ec0d6bc325ec65ce3e61df2270e6b0397ff5f7f11c219a62dc4a3534b1564da64935b3 SHA512 43f0f7338f5e09d45a5b4e1723ecab6dcd1872a387eaf8483961b86db5f1b7c265798538726ec9f2d0d6bd289ff3124883f5095dd7f04fd9b64c9230ce454098
diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.ebuild
new file mode 100644
index 000000000000..b848cb3eea31
--- /dev/null
+++ b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.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
+}