dev-python/vecrec: enable py3.10

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-09-13 21:35:27 +03:00
parent 055e371df2
commit e6a4f6060a

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -11,13 +11,13 @@ DESCRIPTION="2D vector and rectangle classes"
HOMEPAGE="https://github.com/kxgames/vecrec
https://pypi.org/project/vecrec/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
distutils_enable_tests pytest
python_test() {
pytest -vv tests || die "Tests fail with ${EPYTHON}"
epytest tests
}