dev-python/pytest-isort: add python3_10 compat, update EAPI 7 -> 8

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2022-04-09 03:40:47 +02:00
parent 8d7c6fc875
commit ea35f805b4

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Plugin to check import ordering using isort"
HOMEPAGE="https://github.com/moccu/pytest-isort"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
distutils_enable_tests pytest
# I don't know what's going on, so I took the easy route. 😝
EPYTEST_DESELECT=( test_isort.py::TestIsortItem::test_init )
RDEPEND="
>=dev-python/pytest-3.5[${PYTHON_USEDEP}]
>=dev-python/isort-4.0[${PYTHON_USEDEP}]
"