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 B1258158094 for ; Sun, 2 Oct 2022 18:54:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6A71E0901; Sun, 2 Oct 2022 18:54:33 +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 A8F55E08EC for ; Sun, 2 Oct 2022 18:54:33 +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 A2BF3340AB5 for ; Sun, 2 Oct 2022 18:54:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D3175E0 for ; Sun, 2 Oct 2022 18:54:31 +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: <1664736860.16248d58313d573768d281d4524b5fe6dfe770f3.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.4.ebuild X-VCS-Directories: dev-python/pytz/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 16248d58313d573768d281d4524b5fe6dfe770f3 X-VCS-Branch: master Date: Sun, 2 Oct 2022 18:54:31 +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: c07c45e5-16d0-430c-8007-4c2d351f1ba5 X-Archives-Hash: 6d6d73fa495427de6d1972f9f1e5cda7 commit: 16248d58313d573768d281d4524b5fe6dfe770f3 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 2 17:41:50 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 2 18:54:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16248d58 dev-python/pytz: add 2022.4 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytz/Manifest | 1 + dev-python/pytz/pytz-2022.4.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 4863ccf5f897..cb737276d00a 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1 +1,2 @@ DIST pytz-2022.2.1.tar.gz 316105 BLAKE2B 74a3f416c5e15a050cc62594851d80022c81cb611e6c1d1130cfc7e1bc9cb3b833edca9e67203695c50abb7587bf514216f8c0153890658bc8a9f1498e82f867 SHA512 9c78d9f484e2e0e101ca7e10fba8e6c9870255b2c320b3499a0cc9b480adac64b07f2f124048aa957c6bc9311a4ac43060368e1f0d85d8e8c8f7df598e47912b +DIST pytz-2022.4.tar.gz 316055 BLAKE2B 795ac83f9d695f40d0675b8e53c8d573ba1799cb4037edd18974a1f5a5f5e1f73e871852ca4f4098facccf1589dfb22a4948375149a7ae790b98317d1442ec66 SHA512 4dc42def7743cacb13fc8c4b1f8f49b3a49c68c93e7444985eb7242c0d9fd0f95bb9d1be934c4ad5519c9fbdb2aea4d6b8b563d71153c86a40d2e1ee8abb6387 diff --git a/dev-python/pytz/pytz-2022.4.ebuild b/dev-python/pytz/pytz-2022.4.ebuild new file mode 100644 index 000000000000..02775780a89a --- /dev/null +++ b/dev-python/pytz/pytz-2022.4.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}" +}