mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 03:23:20 -04:00
dev-python/stdio-mgr: Context manager for mocking/wrapping
stdin/stdout/stderr Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
22
dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild
Normal file
22
dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Context manager for mocking/wrapping stdin/stdout/stderr"
|
||||
HOMEPAGE="https://github.com/bskinn/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
|
||||
|
||||
python_test() {
|
||||
pytest -vv tests || "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user