Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/exceptiongroup/
Date: Wed, 18 May 2022 05:58:56
Message-Id: 1652853522.ba91aff32558c56ebf3579e75bffe87c0a7f7d85.mgorny@gentoo
1 commit: ba91aff32558c56ebf3579e75bffe87c0a7f7d85
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 18 05:40:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 18 05:58:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba91aff3
7
8 dev-python/exceptiongroup: Bump to 1.0.0_rc6
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_rc6.ebuild | 34 ++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest
17 index 136a2c4d5380..8d5ef4647b1c 100644
18 --- a/dev-python/exceptiongroup/Manifest
19 +++ b/dev-python/exceptiongroup/Manifest
20 @@ -1 +1,2 @@
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
24 diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc6.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc6.ebuild
25 new file mode 100644
26 index 000000000000..2571619d98a3
27 --- /dev/null
28 +++ b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc6.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 +}