commit: fde87857aeed9917fd6bfcd755d9638361452463 Author: Henri Gasc <gasc <AT> eurecom <DOT> fr> AuthorDate: Tue Feb 7 14:04:29 2023 +0000 Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr> CommitDate: Wed Feb 8 15:59:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fde87857
dev-python/time-machine: new package, add 2.9.0 Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr> dev-python/time-machine/Manifest | 1 + dev-python/time-machine/metadata.xml | 12 +++++++++ dev-python/time-machine/time-machine-2.9.0.ebuild | 30 +++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest new file mode 100644 index 000000000..fe3c9dbbd --- /dev/null +++ b/dev-python/time-machine/Manifest @@ -0,0 +1 @@ +DIST time-machine-2.9.0.gh.tar.gz 28043 BLAKE2B 9a9a521c94b72a7464853661da791b6f57f5155ddc62ffceeb82f808903f4c337e6bf48fe8300bb4f9f5673fd175fd85038a4e80a39e8f3e096c12c27ee790ec SHA512 ecc780a72d279b49d026a8f3f89210cb4c90e02c5a517c08eadbabcb65216a24c603ace39afd76ea1e6ccdef589d5997581d0db7477bb28fe4d1e0510daf17a0 diff --git a/dev-python/time-machine/metadata.xml b/dev-python/time-machine/metadata.xml new file mode 100644 index 000000000..0000fbd69 --- /dev/null +++ b/dev-python/time-machine/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>g...@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + <upstream> + <remote-id type="pypi">time-machine</remote-id> + <remote-id type="github">adamchainz/time-machine</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/time-machine/time-machine-2.9.0.ebuild b/dev-python/time-machine/time-machine-2.9.0.ebuild new file mode 100644 index 000000000..caca61b8e --- /dev/null +++ b/dev-python/time-machine/time-machine-2.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Travel through time in your tests" +HOMEPAGE="https://github.com/adamchainz/time-machine https://pypi.org/project/time_machine" +SRC_URI="https://github.com/adamchainz/time-machine/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-randomly[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +DEPEND="${BDEPEND}" + +distutils_enable_tests pytest