diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-21 13:35:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-21 14:39:32 +0200 |
commit | 6cd82474f96194563458558289d215eaf30fbd7b (patch) | |
tree | 30c2264203b5f1ca1b8558896dca1818b2f45497 /dev-python/pytest-freezegun | |
parent | dev-python/cryptography: Bump to 3.0 (diff) | |
download | gentoo-6cd82474f96194563458558289d215eaf30fbd7b.tar.gz gentoo-6cd82474f96194563458558289d215eaf30fbd7b.tar.bz2 gentoo-6cd82474f96194563458558289d215eaf30fbd7b.zip |
dev-python/pytest-freezegun: Bump to 0.4.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-freezegun')
-rw-r--r-- | dev-python/pytest-freezegun/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pytest-freezegun/Manifest b/dev-python/pytest-freezegun/Manifest index ba7dfadd97b4..4033e7c882b5 100644 --- a/dev-python/pytest-freezegun/Manifest +++ b/dev-python/pytest-freezegun/Manifest @@ -1 +1,2 @@ DIST pytest-freezegun-0.4.1.gh.tar.gz 6809 BLAKE2B 258fcc5976c50dbc923ebbf7ba552b2ff2a058e5864f9b2c4a1339e585e0e245ba2346ff65a284fed71fec388a48dbf66e81a752d3b53b65897f3a687e05ed92 SHA512 42cebf13538e9a8aa992555e086886210dfb40b95fd8a4bb8bb79c5968e08aafa1979ff3cb28425993b71f5df91d77012946e36f14ad512a9d3d856eddb5fe3e +DIST pytest-freezegun-0.4.2.gh.tar.gz 7058 BLAKE2B 1c89979d85dbdedf87a26de57d1cfe120ed52831e8d69c42b6117ac49c9eb7376bab018a23ca10b582fc583ca61a03930a86878c141b0c5bf4d807552484fe70 SHA512 2bea7746e4e6a7f2a979cbc5c6d7a2576e0e2631a4e1d5abb7f27f76d6c32b0520a277474c092c5e05ce257f2ba19091918f67e28b7a2da1d5829037c6b70c55 diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild new file mode 100644 index 000000000000..5b7906df5ca8 --- /dev/null +++ b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Easily freeze time in pytest test + fixtures" +HOMEPAGE="https://github.com/ktosiek/pytest-freezegun" +SRC_URI=" + https://github.com/ktosiek/pytest-freezegun/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +} |