dev-python/mamba: py3.11, PEP517

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-02-15 15:15:34 +01:00
parent fc5a914577
commit cbbf2558d0
2 changed files with 45 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST mamba-0.11.2.gh.tar.gz 37370 BLAKE2B 90228aa9668c5c79161aee79d92a9409e5df5d9d71b94f2ae8401ec5eea32ed45cf1b1a72eb596b6e24f140bf053bca4cec848830ae83c24b108ddb4a2bcd148 SHA512 8ca6207c9df7b3388db8ecabd13456e54d8811c24f695ccc638c90bb2c975268f9e803533808f9b099651ee4744376fad3b58eaa84a6c97605631368f979915c
DIST mamba-0.11.2.tar.gz 37370 BLAKE2B 90228aa9668c5c79161aee79d92a9409e5df5d9d71b94f2ae8401ec5eea32ed45cf1b1a72eb596b6e24f140bf053bca4cec848830ae83c24b108ddb4a2bcd148 SHA512 8ca6207c9df7b3388db8ecabd13456e54d8811c24f695ccc638c90bb2c975268f9e803533808f9b099651ee4744376fad3b58eaa84a6c97605631368f979915c
+44
View File
@@ -0,0 +1,44 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Python test runner born under the banner of Behavior Driven Development"
HOMEPAGE="
https://nestorsalceda.com/mamba/
https://github.com/nestorsalceda/mamba/
https://pypi.org/project/mamba/
"
SRC_URI="
https://github.com/nestorsalceda/mamba/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/clint-0.3.1[${PYTHON_USEDEP}]
>=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
>=dev-python/doublex-expects-0.7.0_rc1[${PYTHON_USEDEP}]
>=dev-python/expects-0.8.0_rc2[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs --no-autodoc
python_test() {
"${EPYTHON}" -m mamba.cli || die "Tests failed under ${EPYTHON}"
}