summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-05-13 10:09:23 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-05-13 10:50:28 -0400
commit398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb (patch)
treebcd2f2222fc800455182c6cae9dd85054ddc1082 /dev-python/glob2
parentdev-python/boltons: enable py3.11 (diff)
downloadgentoo-398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb.tar.gz
gentoo-398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb.tar.bz2
gentoo-398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb.zip
dev-python/glob2: use pep517
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/glob2')
-rw-r--r--dev-python/glob2/glob2-0.7-r1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/glob2/glob2-0.7-r1.ebuild b/dev-python/glob2/glob2-0.7-r1.ebuild
new file mode 100644
index 000000000000..be6faa46ff0a
--- /dev/null
+++ b/dev-python/glob2/glob2-0.7-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Extended version of Python's builtin glob module"
+HOMEPAGE="https://pypi.org/project/glob2/"
+SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest test.py
+}