1
0
mirror of synced 2024-12-22 12:50:33 +01:00

dev-python/subprocess-tee: PYTHON_COMPAT and code style

Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2023-05-10 05:12:13 -04:00
parent 851eb03927
commit 591f31f421
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3

View File

@ -1,9 +1,9 @@
# Copyright 2020 Gentoo Authors # Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{7,8,9} ) PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 inherit distutils-r1
DESCRIPTION="An drop-in alternative to subprocess.run that captures the output DESCRIPTION="An drop-in alternative to subprocess.run that captures the output
@ -12,19 +12,19 @@ HOMEPAGE="https://github.com/pycontribs/subprocess-tee"
#SRC_URI="https://github.com/pycontribs/${PN}/archive/${PV}.tar.gz" #SRC_URI="https://github.com/pycontribs/${PN}/archive/${PV}.tar.gz"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT License" LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="test" IUSE="test"
RESTRICT="!test? ( test )" RESTRICT="!test? ( test )"
DEPEND=" DEPEND="
test? ( test? (
dev-python/mock[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}] dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}]
) )
" "
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="" BDEPEND=""