From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6C3B15812D for ; Tue, 31 Dec 2024 05:26:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0295CE079C; Tue, 31 Dec 2024 05:26:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD20EE077C for ; Tue, 31 Dec 2024 05:26:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22CAD33BF60 for ; Tue, 31 Dec 2024 05:26:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56977190F for ; Tue, 31 Dec 2024 05:26:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1735622783.319c730fa0859c5a4cee7a5ea7dc52b1a238b71f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tempora/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tempora/Manifest dev-python/tempora/tempora-5.7.1.ebuild X-VCS-Directories: dev-python/tempora/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 319c730fa0859c5a4cee7a5ea7dc52b1a238b71f X-VCS-Branch: master Date: Tue, 31 Dec 2024 05:26:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cddfbd1c-f294-45d6-9079-91c97e2e0ff2 X-Archives-Hash: 31aec0511e03ed266e8e0eba63e0e00d commit: 319c730fa0859c5a4cee7a5ea7dc52b1a238b71f Author: Michał Górny gentoo org> AuthorDate: Tue Dec 31 05:17:01 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Dec 31 05:26:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319c730f dev-python/tempora: Bump to 5.7.1 Signed-off-by: Michał Górny gentoo.org> dev-python/tempora/Manifest | 1 + dev-python/tempora/tempora-5.7.1.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index bbdcd5049cf9..9ffbb14c534c 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1 +1,2 @@ DIST tempora-5.7.0.tar.gz 22239 BLAKE2B 11c9ba681b1973b75e22cc4a2c8bcc1a2620e0284ce1b7d42fda25ce8c2a35bd4a9a4b329013143dbfd27613a327fb8d3d048d1230f679a240ed5ea6abc9761a SHA512 4c1bc7e45cfa1f415bfa6bcee3d6b82246477279b89328a98b8b944dddf7184a515e0733bb868321f63cbcb21fcb7847543a2643c059e6d2e0721c2e66ad4239 +DIST tempora-5.7.1.tar.gz 23234 BLAKE2B 882eef718f7f49b072de62d7bbdd023b11b602c173fd5e156d1b16176f9b5a5976b84966d8d07e2e27a87b49c3f79e7b043102ebb2f4b55f5c65e6ac6e17a5c8 SHA512 58d10ca6bc10994b65db1dc5d90af2446141ac0d7aef11459808c38bac76b775fbeefe11529a6c81d76659b8e2317f6a3de82ea94b300a0dab5596a16a1c7cea diff --git a/dev-python/tempora/tempora-5.7.1.ebuild b/dev-python/tempora/tempora-5.7.1.ebuild new file mode 100644 index 000000000000..fa874b15fdde --- /dev/null +++ b/dev-python/tempora/tempora-5.7.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( pypy3 python3_{10..13} python3_13t ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE=" + https://github.com/jaraco/tempora/ + https://pypi.org/project/tempora/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/pytest-freezer[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p freezer +}