Files
guru/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
Julien Roy d4603df909 dev-python/pytest-isort: add 3.1.0-r1
Add patch for stray files
Credits to Anton (anton.stay.connected@gmail.com)
for providing the patch on b.g.o

Closes: https://bugs.gentoo.org/901215
Signed-off-by: Julien Roy <julien@jroy.ca>
2023-04-04 22:38:00 -04:00

30 lines
630 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Plugin to check import ordering using isort"
HOMEPAGE="https://github.com/stephrdev/pytest-isort"
SRC_URI="https://github.com/stephrdev/pytest-isort/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
distutils_enable_tests pytest
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/stray-files.patch"
)