1 |
commit: dde83ba7c4fe76f769c45fc05518f9552ce6a430 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 21 05:24:35 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 21 06:46:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde83ba7 |
7 |
|
8 |
dev-python/exceptiongroup: Bump to 1.0.0_rc7 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/exceptiongroup/Manifest | 1 + |
13 |
.../exceptiongroup/exceptiongroup-1.0.0_rc7.ebuild | 34 ++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest |
17 |
index 8d5ef4647b1c..6f00ff32de32 100644 |
18 |
--- a/dev-python/exceptiongroup/Manifest |
19 |
+++ b/dev-python/exceptiongroup/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST exceptiongroup-1.0.0rc5.gh.tar.gz 16454 BLAKE2B 55af4d2240e4a5567f5669d15e8507c454d47c1f7d8f72212afeecfa37e0c4a6b36f9176a87a48d3f9edf0628a8c99863670d24aca3770dd88abaa463784c731 SHA512 dd5ee895b4531524c4f0dfaedf818ac76a1b6fe74cd75bbce824b6a0d2b981673ffd6ba36f71b5dacf3e17c89d196a258400d04a64c71f28c221d7fb0f934ab7 |
22 |
DIST exceptiongroup-1.0.0rc6.gh.tar.gz 17184 BLAKE2B 75a1a07d683cbd4d23c25156f4ff3fbda3f08e7df3be67320b08e995f469a9cbd66ca90391fb586972c5c601aff60d44eba3ec5c2d3cccbc791a0482600caea2 SHA512 f74fe5b5df5c7ceb09076db4b7327e2a22202f61fbbfcaeef4f2ce7fb0725a8f57756473db6b2d92d3ee044e26c7ad135d8366944e0858439c4a77ed8b5b7362 |
23 |
+DIST exceptiongroup-1.0.0rc7.gh.tar.gz 17323 BLAKE2B fc96a1a7978c4ac403132fbb9fba57cd61e8078e1d99e7103e37d7273737c2d8fbf84441a9cfc3c21a355713b13ec78f9befedcc05a74d9bb954ca80965dc789 SHA512 272675f3322f904b6270689696b2a770d8a96f195d8b142986f574e9c67735865afbde8bba0c5bdd43d299fc1f44a3360d273f9b15097efdcfa46f21f40d62bf |
24 |
|
25 |
diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc7.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc7.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..2571619d98a3 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc7.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=flit_scm |
37 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_P=${P/_} |
42 |
+DESCRIPTION="Backport of PEP 654 (exception groups)" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/agronholm/exceptiongroup/ |
45 |
+ https://pypi.org/project/exceptiongroup/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz |
49 |
+ -> ${MY_P}.gh.tar.gz |
50 |
+" |
51 |
+S=${WORKDIR}/${MY_P} |
52 |
+ |
53 |
+LICENSE="MIT PSF-2.4" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~x86" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} |
60 |
+ |
61 |
+python_test() { |
62 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
63 |
+ epytest |
64 |
+} |