diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-11-04 10:40:58 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-11-04 20:38:20 -0500 |
commit | f87f69fee25b89e767d3c4e66757b19cbbe1c0a3 (patch) | |
tree | 74521418a7b9e04b59cc8af577c5d52a1ffdbda9 /dev-python | |
parent | dev-python/qtawesome: clean up 1.0.0 (diff) | |
download | gentoo-f87f69fee25b89e767d3c4e66757b19cbbe1c0a3.tar.gz gentoo-f87f69fee25b89e767d3c4e66757b19cbbe1c0a3.tar.bz2 gentoo-f87f69fee25b89e767d3c4e66757b19cbbe1c0a3.zip |
dev-python/pytest-regressions: version bump 2.0.2
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytest-regressions/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pytest-regressions/Manifest b/dev-python/pytest-regressions/Manifest index 939a2ea0cd1b..c6a37346fed9 100644 --- a/dev-python/pytest-regressions/Manifest +++ b/dev-python/pytest-regressions/Manifest @@ -1 +1,2 @@ DIST pytest-regressions-2.0.1.tar.gz 77934 BLAKE2B 4bf9868afd3bae1ab1668a6cb75bbc661336b3bd7dca23b0b6e0ab810cb60645737e45008c74a09f90763869982db5d819f170f6b251d9419681ceee810c4657 SHA512 9c35f356ef2c2914674b022b4a357ec75a4a12c8090c44d959111f1eaa1f10f492f8103098b273292bff08a5957d7f2ae3f0b0bd051438d6467ce1491f234d97 +DIST pytest-regressions-2.0.2.tar.gz 78362 BLAKE2B 67c37c49230d5b84869b0743ef5e4c6b83cc7869ab12832cef9ac4a09c7199d141e064809e6532e325c3b4b22385468ecdde3ea0a021523930c849b78e4bd8f7 SHA512 8c9959a9d84fb6c055b90b38ad6aabdf8e9459931ca50c959f395280199aaa707844330d26b33467119e77f3d50a51d76dd648fdb351de9228c8d54dc047c92e diff --git a/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild new file mode 100644 index 000000000000..c182743328e5 --- /dev/null +++ b/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Easy to use fixtures to write regression tests" +HOMEPAGE="https://github.com/ESSS/pytest-regressions" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] +)" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-datadir[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} |