From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 964561581EE for ; Tue, 25 Mar 2025 05:34:12 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7F4883433AB for ; Tue, 25 Mar 2025 05:34:12 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5A22D1104B6; Tue, 25 Mar 2025 05:33:59 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 51C7F1104B4 for ; Tue, 25 Mar 2025 05:33:59 +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 CD74B343346 for ; Tue, 25 Mar 2025 05:33:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8243284E for ; Tue, 25 Mar 2025 05:33:55 +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: <1742880822.0733ad489d21d1f3f4117e53edd32eeee6bd74e6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytz/Manifest dev-python/pytz/pytz-2025.2.ebuild X-VCS-Directories: dev-python/pytz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0733ad489d21d1f3f4117e53edd32eeee6bd74e6 X-VCS-Branch: master Date: Tue, 25 Mar 2025 05:33:55 +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: acfd9e8c-0af2-4588-a5b0-d9a69f8239d8 X-Archives-Hash: 639e5f27b4770c0c1ceb92c99ce80931 commit: 0733ad489d21d1f3f4117e53edd32eeee6bd74e6 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 25 05:08:55 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 25 05:33:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0733ad48 dev-python/pytz: Bump to 2025.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pytz/Manifest | 1 + dev-python/pytz/pytz-2025.2.ebuild | 51 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 31367c2a0559..0492ece58cbe 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1 +1,2 @@ DIST pytz-2025.1.tar.gz 319617 BLAKE2B 8d7d4c2f00a1cd124b8926984259d788438fa8387b16166d6f8ce0867516057859750baa3716d6ee2979f189cb7b1c76b227d93d9c32f062a2b8c71625e10cdd SHA512 d571c70c83c5ccc6db661e2f97e990a6490b07b7597ce5813e3a3a1e2e49cd83301f8f59205b9557f3f34e7bdc9435961cf55e630c4452d6e251e3f6db263659 +DIST pytz-2025.2.tar.gz 320884 BLAKE2B 4333c36395c8ef983d832d25d47ef1756ba2faf051bd68c188c7d99a40d63162ad8289852f34e9cd9ddbf00875b6f0190c402fb3632ee41dd586742d0dde8b0c SHA512 1ac84bd8d9a152b71b4de302a472e50619c901ad4c7747ddddbb780d8d3df07e5e18d3c68722eff08f8e8ff625d46133fe12bcf6f5210b69ce589051247cd4b6 diff --git a/dev-python/pytz/pytz-2025.2.ebuild b/dev-python/pytz/pytz-2025.2.ebuild new file mode 100644 index 000000000000..7b99d479e037 --- /dev/null +++ b/dev-python/pytz/pytz-2025.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE=" + https://pythonhosted.org/pytz/ + https://github.com/stub42/pytz/ + https://pypi.org/project/pytz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + || ( + >=sys-libs/timezone-data-2023b + sys-libs/glibc[vanilla] + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # unbundle timezone-data + rm -r pytz/zoneinfo || die + # remove hardcoded list of all timezones but leave subjective set + # of "common timezones" + sed -i -e '/^_all_timezones_unchecked/,/^all_timezones_set/d' pytz/__init__.py || die + eapply "${FILESDIR}"/pytz-2023.2-system-tzinfo.patch +} + +python_test() { + "${EPYTHON}" pytz/tests/test_tzinfo.py -v || + die "Tests fail with ${EPYTHON}" +}