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