diff options
author | Sebastian Pipping <sping@gentoo.org> | 2020-02-29 23:03:02 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2020-02-29 23:03:25 +0100 |
commit | 1e409299a685bd90282e4345c54559509e256a8b (patch) | |
tree | 0f818b2240bec4d82cbbcfa0f3ef53bf4fb75155 /dev-python/mamba | |
parent | dev-python/doublex: 1.9.2 + EAPI 7 + py37 (diff) | |
download | gentoo-1e409299a685bd90282e4345c54559509e256a8b.tar.gz gentoo-1e409299a685bd90282e4345c54559509e256a8b.tar.bz2 gentoo-1e409299a685bd90282e4345c54559509e256a8b.zip |
dev-python/{doublex-expects,expects,mamba}: EAPI 7 + py37
All in one commit because of this depenceny graph:
- doublex-expects: RDEPEND expects, DEPEND mamba
- expects: DEPEND mamba
- mamba: DEPEND expects, doublex-expects
Bug: https://bugs.gentoo.org/711092
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-python/mamba')
-rw-r--r-- | dev-python/mamba/mamba-0.8.6-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/mamba/mamba-0.8.6-r1.ebuild b/dev-python/mamba/mamba-0.8.6-r1.ebuild new file mode 100644 index 000000000000..fae6d37a3789 --- /dev/null +++ b/dev-python/mamba/mamba-0.8.6-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="... testing tool ... Born under the banner of Behavior Driven Development" +HOMEPAGE="http://nestorsalceda.github.io/mamba" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + >=dev-python/doublex-expects-0.7.0_rc1[${PYTHON_USEDEP}] + >=dev-python/expects-0.8.0_rc2[${PYTHON_USEDEP}] + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/clint-0.3.1[${PYTHON_USEDEP}] + >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.8.1[${PYTHON_USEDEP}] +" + +python_test() { + "${PYTHON}" -m mamba.cli || die "Tests failed under ${EPYTHON}" +} |