diff --git a/dev-python/flexmock/Manifest b/dev-python/flexmock/Manifest new file mode 100644 index 0000000000000..3d1cb4b697912 --- /dev/null +++ b/dev-python/flexmock/Manifest @@ -0,0 +1 @@ +DIST flexmock-0.10.2.tar.gz 44425 BLAKE2B e49db5b7a4a739f72a2560c52d0493cc284641f7c54d11e67a4c40ae3681ed2ca22fdc17c9f8ffc667bef409e1ecb5e36acdcd73a968984a38992927ff7c416f SHA512 6824da47af260a93ad685b66bcbd2d9a93f98eec218242e0dd9ef885594d9218e4c7170c832a0b3ea3cf201896ec1efc2afacbffe1fc5dab032240369d7b3ac3 diff --git a/dev-python/flexmock/flexmock-0.10.2.ebuild b/dev-python/flexmock/flexmock-0.10.2.ebuild new file mode 100644 index 0000000000000..21a1616d30e2e --- /dev/null +++ b/dev-python/flexmock/flexmock-0.10.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Testing library to create mocks, stubs and fakes" +HOMEPAGE="http://flexmock.readthedocs.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) + " +RDEPEND="" + +python_install_all() { + distutils-r1_python_install_all + dodoc -r docs +} + +python_test() { + pytest -vv tests || die "pytest failed" +} diff --git a/dev-python/flexmock/metadata.xml b/dev-python/flexmock/metadata.xml new file mode 100644 index 0000000000000..b15f95a46db55 --- /dev/null +++ b/dev-python/flexmock/metadata.xml @@ -0,0 +1,20 @@ + + + + + nelo@wallus.de + Nelo-Thara Wallus + + + polynomial-c@gentoo.org + Lars Wendler + + + proxy-maint@gentoo.org + Proxy Maintainers + + + bkabrda/flexmock + flexmock + +