commit: 33402709c0f210dbab3768a6a688250aa63cbb84 Author: Nelo-T. Wallus <nelo <AT> wallus <DOT> de> AuthorDate: Mon Mar 25 19:54:22 2019 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Mar 26 08:58:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33402709
dev-python/flexmock: Bump to v0.10.4 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Nelo-T. Wallus <nelo <AT> wallus.de> Closes: https://github.com/gentoo/gentoo/pull/11507 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> dev-python/flexmock/Manifest | 1 + dev-python/flexmock/flexmock-0.10.4.ebuild | 33 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/flexmock/Manifest b/dev-python/flexmock/Manifest index 5733f144853..7d6098a560d 100644 --- a/dev-python/flexmock/Manifest +++ b/dev-python/flexmock/Manifest @@ -1,2 +1,3 @@ DIST flexmock-0.10.2.tar.gz 44425 BLAKE2B e49db5b7a4a739f72a2560c52d0493cc284641f7c54d11e67a4c40ae3681ed2ca22fdc17c9f8ffc667bef409e1ecb5e36acdcd73a968984a38992927ff7c416f SHA512 6824da47af260a93ad685b66bcbd2d9a93f98eec218242e0dd9ef885594d9218e4c7170c832a0b3ea3cf201896ec1efc2afacbffe1fc5dab032240369d7b3ac3 DIST flexmock-0.10.3.tar.gz 45017 BLAKE2B 03e6a709bd6c7889fa91692c27041f3d8109a57aa188a7043d5f45f757dd2bf929f80b9e57375bf7835ec4a88f032ed026c183320098546862f30c6bfedf6e8d SHA512 9c19e7a6765e57789065e6f5940270f5c0395194eddd8fedaf0abe52e0ffaaa33945385e981285caa1b7facb58be92b76dd0f370c242216626a30ab97b926bd1 +DIST flexmock-0.10.4.tar.gz 45362 BLAKE2B 4ff79cff3b0d8fb0c97bd60b0d5aa5555a7b939d3d6275a17c9bd1002b1d7acb53d4f63f5f834faf0d349d8b8d429eb063f121c4d7b6d12aa1bb3e7bdbadb861 SHA512 d190fcb66f0c2c4e3be2384d68b95a22c695ffa0fe8f8a218f2baa68c91683641396197cac69ddab21e4b0990b9930f56423bb7cd85770ceade9c22ece72cedc diff --git a/dev-python/flexmock/flexmock-0.10.4.ebuild b/dev-python/flexmock/flexmock-0.10.4.ebuild new file mode 100644 index 00000000000..59e66efe32a --- /dev/null +++ b/dev-python/flexmock/flexmock-0.10.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +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" +}
