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}] +"