From ea35f805b4795136a12758266c71540a139fd0ad Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Sat, 9 Apr 2022 03:40:47 +0200 Subject: [PATCH] dev-python/pytest-isort: add python3_10 compat, update EAPI 7 -> 8 Signed-off-by: Ronny (tastytea) Gutbrod --- .../pytest-isort/pytest-isort-1.3.0-r1.ebuild | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-python/pytest-isort/pytest-isort-1.3.0-r1.ebuild diff --git a/dev-python/pytest-isort/pytest-isort-1.3.0-r1.ebuild b/dev-python/pytest-isort/pytest-isort-1.3.0-r1.ebuild new file mode 100644 index 0000000000..274623001a --- /dev/null +++ b/dev-python/pytest-isort/pytest-isort-1.3.0-r1.ebuild @@ -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}] +"