Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/glob2/
Date: Fri, 13 May 2022 14:51:27
Message-Id: 1652453428.398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb.ionen@gentoo
1 commit: 398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 13 14:09:23 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 14:50:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398e6da7
7
8 dev-python/glob2: use pep517
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 dev-python/glob2/glob2-0.7-r1.ebuild | 22 ++++++++++++++++++++++
13 1 file changed, 22 insertions(+)
14
15 diff --git a/dev-python/glob2/glob2-0.7-r1.ebuild b/dev-python/glob2/glob2-0.7-r1.ebuild
16 new file mode 100644
17 index 000000000000..be6faa46ff0a
18 --- /dev/null
19 +++ b/dev-python/glob2/glob2-0.7-r1.ebuild
20 @@ -0,0 +1,22 @@
21 +# Copyright 2021-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} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Extended version of Python's builtin glob module"
31 +HOMEPAGE="https://pypi.org/project/glob2/"
32 +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz"
33 +
34 +LICENSE="BSD-2"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~arm64 ~x86"
37 +
38 +distutils_enable_tests pytest
39 +
40 +python_test() {
41 + epytest test.py
42 +}