diff options
author | 2020-05-01 23:40:11 -0500 | |
---|---|---|
committer | 2020-05-05 14:50:46 +0300 | |
commit | 4c4d3924825515bc717d967d54023996cfe1a5c0 (patch) | |
tree | 3c3140cbf73d5f194d486e9ae7ebe7b46623f691 /dev-python/mamba/mamba-0.11.0.ebuild | |
parent | dev-python/expects: Add python3_8 (diff) | |
download | gentoo-4c4d3924825515bc717d967d54023996cfe1a5c0.tar.gz gentoo-4c4d3924825515bc717d967d54023996cfe1a5c0.tar.bz2 gentoo-4c4d3924825515bc717d967d54023996cfe1a5c0.zip |
dev-python/mamba: Add version 0.11.0 for python3_8
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: John Helmert III <jchelmertt3@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15606
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/mamba/mamba-0.11.0.ebuild')
-rw-r--r-- | dev-python/mamba/mamba-0.11.0.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/mamba/mamba-0.11.0.ebuild b/dev-python/mamba/mamba-0.11.0.ebuild new file mode 100644 index 000000000000..c0c67a7b7de3 --- /dev/null +++ b/dev-python/mamba/mamba-0.11.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Python test runner born under the banner of Behavior Driven Development" +HOMEPAGE="https://nestorsalceda.github.io/mamba" +SRC_URI="https://github.com/nestorsalceda/${PN}/archive/v${PV}.tar.gz -> ${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_install() { + distutils-r1_python_install + python_optimize +} + +python_test() { + "${EPYTHON}" -m mamba.cli || die "Tests failed under ${EPYTHON}" +} |