Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/exceptiongroup/
Date: Wed, 28 Sep 2022 11:45:39
Message-Id: 1664364786.541aad237a5ae5ba9e1be700d75c67e45690d4e2.andrewammerlaan@gentoo
1 commit: 541aad237a5ae5ba9e1be700d75c67e45690d4e2
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 28 11:33:06 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 28 11:33:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541aad23
7
8 dev-python/exceptiongroup: add 1.0.0_rc9
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/exceptiongroup/Manifest | 1 +
13 .../exceptiongroup/exceptiongroup-1.0.0_rc9.ebuild | 34 ++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest
17 index 143a5cf6cb2d..4487b819155f 100644
18 --- a/dev-python/exceptiongroup/Manifest
19 +++ b/dev-python/exceptiongroup/Manifest
20 @@ -1 +1,2 @@
21 DIST exceptiongroup-1.0.0rc8.gh.tar.gz 17562 BLAKE2B 617e174e32f4c062f576b12c9dfe96e5495003097dc0da82e383019a65b2a043546d4b73181081defb641d453127e056be52e55e76fdf0ec0247513f5eb211ff SHA512 f7f1700403f345755a1e32c77eb43744b366b1f55446e1898dd960988d23396ad8334bef072ecc7ec5ac7075300f0f3e8e9a0d454d9dd80677ae55b4166fc6e4
22 +DIST exceptiongroup-1.0.0rc9.gh.tar.gz 19109 BLAKE2B b4a4c127909908aa2d9fb2bfff0f0ae6c6b9be88046a680b6b206164b0ec0d6bc325ec65ce3e61df2270e6b0397ff5f7f11c219a62dc4a3534b1564da64935b3 SHA512 43f0f7338f5e09d45a5b4e1723ecab6dcd1872a387eaf8483961b86db5f1b7c265798538726ec9f2d0d6bd289ff3124883f5095dd7f04fd9b64c9230ce454098
23
24 diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.ebuild
25 new file mode 100644
26 index 000000000000..b848cb3eea31
27 --- /dev/null
28 +++ b/dev-python/exceptiongroup/exceptiongroup-1.0.0_rc9.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..11} )
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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 +}