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 5759D1382C5 for ; Mon, 1 Feb 2021 08:50:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C6B4E0977; Mon, 1 Feb 2021 08:50:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 511A4E0977 for ; Mon, 1 Feb 2021 08:50:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AE86340AA7 for ; Mon, 1 Feb 2021 08:50:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 770BD478 for ; Mon, 1 Feb 2021 08:50:53 +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: <1612169439.ef1423b1cb601ab423f76ba5c38ea8ff7acb15f9.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.1.ebuild X-VCS-Directories: dev-python/pytz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ef1423b1cb601ab423f76ba5c38ea8ff7acb15f9 X-VCS-Branch: master Date: Mon, 1 Feb 2021 08:50:53 +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: b0bbfceb-8ce9-414a-8f56-a259807a58e3 X-Archives-Hash: 62471be7b72004abaa5c88e9d877b7f2 commit: ef1423b1cb601ab423f76ba5c38ea8ff7acb15f9 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 1 08:14:39 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 1 08:50:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1423b1 dev-python/pytz: Bump to 2021.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pytz/Manifest | 1 + dev-python/pytz/pytz-2021.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 13d5040e6f8..8cc3cd00a6d 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1,2 +1,3 @@ DIST pytz-2020.4.tar.gz 310941 BLAKE2B 8abe524ccb7ed676c64dbc129ade5d6562980ea28f8939a3a7a406acf16a8a936e79ff630bf37884610e8936dfe96311ecb752f3b79519a126e1f1ac48883842 SHA512 dcbe763bc6e48c52df855fe03a8109dc0656a0e851324c0468f4307e8aff60e577fe0c9f0b062319e90d2f639b96e98edf8346064705e244143386c863a0aa7c DIST pytz-2020.5.tar.gz 314194 BLAKE2B c374e0ee803878ad2dde1ef03c108f59f431d645d8067fb9f183b9feb029b4de283477e7f6c146a6d03462bd5cb4fc98118e03601c838f73903f5f7a7d28bf8f SHA512 0845c0b7cefb8732e3016568b17ae73232fe6537bac6da89cb1bf911ba5786ee1be6b5e3aa8767225291e3a7e9afd5b8e40e4051671a3a006f9e2f71c551e13e +DIST pytz-2021.1.tar.gz 317945 BLAKE2B 5d8b5ac80a9d5be56977df8a422e9f008ccb1afb9468155c53aa97f0bf43ba15c27fd30ee7be035be6fa590dcb272991a069cd1383f1c6c8d378958d7b0c4970 SHA512 507e24e3c5c2c619d9f3c7f4c33d44d262e33656b07701d0db78f5d67b263ad845dccc4ff50e48c580b0f295cf97ed146af7b9259890a50bb6da4c82b70c439b diff --git a/dev-python/pytz/pytz-2021.1.ebuild b/dev-python/pytz/pytz-2021.1.ebuild new file mode 100644 index 00000000000..876bb3d8bfa --- /dev/null +++ b/dev-python/pytz/pytz-2021.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} 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}" +}