From 398e6da7a4d68bf9a94cf8a50d5b502de5fe7deb Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 13 May 2022 10:09:23 -0400 Subject: [PATCH] dev-python/glob2: use pep517 Signed-off-by: Ionen Wolkens --- dev-python/glob2/glob2-0.7-r1.ebuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-python/glob2/glob2-0.7-r1.ebuild 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 0000000000000..be6faa46ff0ae --- /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 +}