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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E552A158091 for ; Mon, 6 Jun 2022 09:33:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A10FE08FA; Mon, 6 Jun 2022 09:33:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 20605E08FA for ; Mon, 6 Jun 2022 09:33:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39F9F341A26 for ; Mon, 6 Jun 2022 09:33:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C760344E for ; Mon, 6 Jun 2022 09:33:45 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1654507959.5c766ace6ff195dbff98b49c024c87aa79a6dbb8.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pendulum/pendulum-2.1.2-r1.ebuild X-VCS-Directories: dev-python/pendulum/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 5c766ace6ff195dbff98b49c024c87aa79a6dbb8 X-VCS-Branch: master Date: Mon, 6 Jun 2022 09:33:45 +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: 927aae64-4459-4e5c-a6a9-b360838d9ab1 X-Archives-Hash: 3e7babb47403f6c9df38ba6fdd5696c4 commit: 5c766ace6ff195dbff98b49c024c87aa79a6dbb8 Author: Jakov Smolić gentoo org> AuthorDate: Mon Jun 6 09:32:35 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Mon Jun 6 09:32:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c766ace dev-python/pendulum: enable py3.10 and disable py3.7 - Enable tests given they are fixed now and pass on all impls. Closes: https://bugs.gentoo.org/845777 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pendulum/pendulum-2.1.2-r1.ebuild | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild index 32b705122dca..602bea9a4764 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Drop-in replacement for the standard datetime class" @@ -15,22 +15,16 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~x86" -# Requires timezone information which is not installed by default -# with dev-python/pytzdata, and otherwise approx. 50 out of 1600 -# tests are failing for now. Keeping the test dependencies -# commented for future tests fixups -RESTRICT="test" - DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytzdata[${PYTHON_USEDEP}]" + dev-python/pytzdata[${PYTHON_USEDEP}] +" RDEPEND="${DEPEND}" - -#BDEPEND=" -# test? ( -# dev-python/babel[${PYTHON_USEDEP}] -# dev-python/freezegun[${PYTHON_USEDEP}] -# dev-python/pytz[${PYTHON_USEDEP}] -# )" - -# distutils_enable_tests pytest +BDEPEND=" + test? ( + dev-python/Babel[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest