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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5D21158018 for ; Sat, 2 Oct 2021 07:50:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 298B2E086A; Sat, 2 Oct 2021 07:50:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B271E086A for ; Sat, 2 Oct 2021 07:50:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 019BC342A5E for ; Sat, 2 Oct 2021 07:50:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82FEC105 for ; Sat, 2 Oct 2021 07:50:51 +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: <1633161031.28bff55c70a4f43475b1a6b37aa71dc4a3d583f2.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-2021.3.ebuild X-VCS-Directories: dev-python/pytz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 28bff55c70a4f43475b1a6b37aa71dc4a3d583f2 X-VCS-Branch: master Date: Sat, 2 Oct 2021 07:50:51 +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: aec0a5cc-9909-467e-8bed-2c8bc91bdf3a X-Archives-Hash: 811364c80be98fe78ae207c22af6fb32 commit: 28bff55c70a4f43475b1a6b37aa71dc4a3d583f2 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 2 06:24:36 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 2 07:50:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28bff55c dev-python/pytz: Bump to 2021.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pytz/Manifest | 1 + dev-python/pytz/pytz-2021.3.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 38741c888fd..9aa7cd846ee 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1 +1,2 @@ DIST pytz-2021.1.tar.gz 317945 BLAKE2B 5d8b5ac80a9d5be56977df8a422e9f008ccb1afb9468155c53aa97f0bf43ba15c27fd30ee7be035be6fa590dcb272991a069cd1383f1c6c8d378958d7b0c4970 SHA512 507e24e3c5c2c619d9f3c7f4c33d44d262e33656b07701d0db78f5d67b263ad845dccc4ff50e48c580b0f295cf97ed146af7b9259890a50bb6da4c82b70c439b +DIST pytz-2021.3.tar.gz 320512 BLAKE2B a5f67650cc4eeaa8030fc7d5b7a66bcc397b95e41b492367981580678e1d535cdb425066d4821d9c5f94e4fd813c669987560030c046fc63ecffa2f46e0c3f89 SHA512 c45099f319592976b7715d9973496a2c7438a1b958ef8b90a1ad1fb97e7035624fe6191796727d4b7edf3236271bea4d864e25d1d92431e8cf767ac798448882 diff --git a/dev-python/pytz/pytz-2021.3.ebuild b/dev-python/pytz/pytz-2021.3.ebuild new file mode 100644 index 00000000000..5f6844d5b80 --- /dev/null +++ b/dev-python/pytz/pytz-2021.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 + +DESCRIPTION="World timezone definitions for Python" +HOMEPAGE="https://pythonhosted.org/pytz/ https://pypi.org/project/pytz/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +DEPEND=" + || ( >=sys-libs/timezone-data-2017a sys-libs/glibc[vanilla] )" +RDEPEND="${DEPEND}" +BDEPEND="app-arch/unzip" + +PATCHES=( + # Use timezone-data zoneinfo. + "${FILESDIR}"/pytz-2020.5-system-zoneinfo.patch +) + +python_test() { + "${EPYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}" +}