dev-python/glob2: use pep517

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-05-13 10:09:23 -04:00
parent 54efb0cbca
commit 398e6da7a4

View File

@@ -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
}