Files
guru/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild
Alessandro Barbieri 5430ac81f4 dev-python/stdio-mgr: doc deps, longdesc, drop py3.{7,8}
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2020-03-27 18:33:48 +01:00

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}"
}