mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
34 lines
831 B
Bash
34 lines
831 B
Bash
# Copyright 2024-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
DISTUTILS_USE_PEP517=poetry
|
|
DISTUTILS_SINGLE_IMPL=1
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Functional testing framework for command line applications (cram fork)"
|
|
HOMEPAGE="https://www.prysk.net/"
|
|
# pypi doesn't includes tests
|
|
SRC_URI="https://github.com/prysk/prysk/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
|
|
|
|
RDEPEND="
|
|
$(python_gen_cond_dep '>=dev-python/rich-13.3.1[${PYTHON_USEDEP}]')
|
|
"
|
|
|
|
DOCS=( README.rst docs examples )
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
python_test() {
|
|
distutils-r1_python_test
|
|
|
|
"${EPYTHON}" -m prysk test/integration || die "Tests fail with ${EPYTHON}"
|
|
}
|