Files
gentoo/dev-python/sh/sh-2.3.0.ebuild
Michał Górny 51277ccdd1 dev-python/sh: Run tests via pytest
Closes: https://bugs.gentoo.org/979404
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2026-07-17 14:42:46 +02:00

29 lines
595 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/amoffat/sh
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Python subprocess interface"
HOMEPAGE="
https://github.com/amoffat/sh/
https://pypi.org/project/sh/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
local -x SH_TESTS_RUNNING=1
epytest
}