diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-python/pytest-freezegun | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-python/pytest-freezegun')
-rw-r--r-- | dev-python/pytest-freezegun/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pytest-freezegun/metadata.xml | 7 | ||||
-rw-r--r-- | dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild | 29 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pytest-freezegun/Manifest b/dev-python/pytest-freezegun/Manifest new file mode 100644 index 000000000000..3cb5b014dcc9 --- /dev/null +++ b/dev-python/pytest-freezegun/Manifest @@ -0,0 +1,3 @@ +DIST pytest-freezegun-0.4.2.gh.tar.gz 7058 BLAKE2B 1c89979d85dbdedf87a26de57d1cfe120ed52831e8d69c42b6117ac49c9eb7376bab018a23ca10b582fc583ca61a03930a86878c141b0c5bf4d807552484fe70 SHA512 2bea7746e4e6a7f2a979cbc5c6d7a2576e0e2631a4e1d5abb7f27f76d6c32b0520a277474c092c5e05ce257f2ba19091918f67e28b7a2da1d5829037c6b70c55 +EBUILD pytest-freezegun-0.4.2.ebuild 718 BLAKE2B 9df6f62483dc862312fc98d17951536c6bd86f171965a931e9f73ab3138b472608dcefd803f2c381630a548ce8d77f05a1c34e1809d6fe6740971b940caeff71 SHA512 6ad029714293f5c8d88db61a14f71db94b820f0a390f2089d75cb838558e4b40e911c855c2e8d1ea8bd6b419ee86e1f394ca6b473038801b1f0b477a1a7457a5 +MISC metadata.xml 218 BLAKE2B 086fdcf7b63ca7bd6c58e861d717bb375e1cd372eff26d5d2eeeb176d8c5e6f10e653562abafb50eae7d7508f8e3d421b87e6a749acd0490308672828d0da697 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781 diff --git a/dev-python/pytest-freezegun/metadata.xml b/dev-python/pytest-freezegun/metadata.xml new file mode 100644 index 000000000000..266e3f19ca59 --- /dev/null +++ b/dev-python/pytest-freezegun/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> +</pkgmetadata> 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..dc3914fb1791 --- /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}" +} |