mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 00:53:02 -04:00
Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
30 lines
675 B
Bash
30 lines
675 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_6 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Context manager for mocking/wrapping stdin/stdout/stderr"
|
|
HOMEPAGE="
|
|
https://github.com/bskinn/stdio-mgr
|
|
https://pypi.org/project/stdio-mgr
|
|
"
|
|
SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
KEYWORDS="~amd64 ~x86 "
|
|
SLOT="0"
|
|
|
|
distutils_enable_tests pytest
|
|
distutils_enable_sphinx doc \
|
|
dev-python/sphinxcontrib-programoutput \
|
|
dev-python/sphinx_rtd_theme
|
|
|
|
#is this necessary?
|
|
python_test() {
|
|
pytest -vv tests || "Tests fail with ${EPYTHON}"
|
|
}
|