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 4EE65158094 for ; Fri, 12 Aug 2022 11:23:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9835DE0B0F; Fri, 12 Aug 2022 11:23:50 +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 75382E0B0F for ; Fri, 12 Aug 2022 11:23:50 +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 4F0FA340FBA for ; Fri, 12 Aug 2022 11:23:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A4F8574 for ; Fri, 12 Aug 2022 11:23:46 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1660303417.cbbe971347c88594b7cef88c650b3230c994bb0d.arthurzam@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-2022.2.ebuild X-VCS-Directories: dev-python/pytz/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: cbbe971347c88594b7cef88c650b3230c994bb0d X-VCS-Branch: master Date: Fri, 12 Aug 2022 11:23:46 +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: f82899d2-4443-4027-a4e8-c0bf781e8dc8 X-Archives-Hash: a8e73e1b8257f498f3e5ca9aaaf99312 commit: cbbe971347c88594b7cef88c650b3230c994bb0d Author: Arthur Zamarin gentoo org> AuthorDate: Fri Aug 12 11:20:16 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Aug 12 11:23:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbbe9713 dev-python/pytz: add 2022.2 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytz/Manifest | 1 + dev-python/pytz/pytz-2022.2.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index a693901d112f..21b9d82fa36e 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1 +1,2 @@ DIST pytz-2022.1.tar.gz 320473 BLAKE2B 9a745629a9e4547f8c8765353e58baa6d63e3e6b357e9ca88f69928fb9350cebb6bb3371eee419b4b92b29e6253f8c24af8c781f10d72211d78cb699043496fe SHA512 7737aa28626743026b7de932b27bf44d7b209f495d9dd7f90c6448ec271e007f23004fcd04982e2ca6d0a4075206e1dae7b8836319c299b5559c514366d518a6 +DIST pytz-2022.2.tar.gz 322487 BLAKE2B 37aa920a571b751e7fe55140561f9d895273c63c5ec4f0ce32e12a9966c903de590d1bbeb8c3d29eeb6ffa46ecf68584128aefc4349c3fde2af923f275c1c01c SHA512 7a908801585f95dc7e19756b454b38ca991e3c280ab4d946152ff0ecfb5ac89e266b21c5a165797ec64c9aaaaadf729f935d7eebd3f918df3143bd68b23876cf diff --git a/dev-python/pytz/pytz-2022.2.ebuild b/dev-python/pytz/pytz-2022.2.ebuild new file mode 100644 index 000000000000..02775780a89a --- /dev/null +++ b/dev-python/pytz/pytz-2022.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=" + || ( + >=sys-libs/timezone-data-2017a + sys-libs/glibc[vanilla] + ) +" +RDEPEND="${DEPEND}" + +python_test() { + "${EPYTHON}" pytz/tests/test_tzinfo.py -v || + die "Tests fail with ${EPYTHON}" +}