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/extras/
Date: Sat, 21 May 2022 06:47:25
Message-Id: 1653115632.f7ee93645d39443a1e692c967200117b873794c9.mgorny@gentoo
1 commit: f7ee93645d39443a1e692c967200117b873794c9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 21 06:13:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 21 06:47:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ee9364
7
8 dev-python/extras: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/extras/extras-1.0.0-r2.ebuild | 28 ++++++++++++++++++++++++++++
13 1 file changed, 28 insertions(+)
14
15 diff --git a/dev-python/extras/extras-1.0.0-r2.ebuild b/dev-python/extras/extras-1.0.0-r2.ebuild
16 new file mode 100644
17 index 000000000000..354e4692dc08
18 --- /dev/null
19 +++ b/dev-python/extras/extras-1.0.0-r2.ebuild
20 @@ -0,0 +1,28 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Useful extra bits for Python that should be in the standard library"
32 +HOMEPAGE="
33 + https://github.com/testing-cabal/extras/
34 + https://pypi.org/project/extras/
35 +"
36 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
41 +
42 +BDEPEND="
43 + test? (
44 + dev-python/testtools[${PYTHON_USEDEP}]
45 + )
46 +"
47 +
48 +distutils_enable_tests unittest