public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytz/
Date: Mon, 29 Jan 2024 05:58:23 +0000 (UTC)	[thread overview]
Message-ID: <1706507452.df7525f95b18ce4acfd8526df6e27f7a66aeb280.mgorny@gentoo> (raw)

commit:     df7525f95b18ce4acfd8526df6e27f7a66aeb280
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 29 05:48:19 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 29 05:50:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7525f9

dev-python/pytz: Bump to 2023.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytz/Manifest           |  1 +
 dev-python/pytz/pytz-2023.4.ebuild | 51 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest
index d09ead4326bc..51503712917b 100644
--- a/dev-python/pytz/Manifest
+++ b/dev-python/pytz/Manifest
@@ -1 +1,2 @@
 DIST pytz-2023.3.post1.tar.gz 316899 BLAKE2B 3274e11c38b34eae42089cacf92e537f1376fa721294ea2da3a68fe3491e7e95d1c88cb4687d1e83965be4730504373c72960f5dc5e9b6a8a339e541476515f4 SHA512 c2f1bd52e42c7d1014b8aebf3544b865eb5ae5e17146253406def72785af14bcfe34b9db6b71ca91a3c988c496fbe93e5d1731bee66349463c992be619d21f2c
+DIST pytz-2023.4.tar.gz 319467 BLAKE2B 59c27d2b6b748808edf81649ba08ca9230e9a14936f2307918c57fa69e5ff379d2dee1288252112bd718483e84ad1fafb551da222d26b01c4dd7c86424533993 SHA512 dc132f305d6f8f491a004f65fa823aa76713d324592ef474abfd5c0aafdf722d22386cf7f9140b2868f48e1309a64385204a129c0ed6c0bf8356844b92f13bb0

diff --git a/dev-python/pytz/pytz-2023.4.ebuild b/dev-python/pytz/pytz-2023.4.ebuild
new file mode 100644
index 000000000000..dc593325174c
--- /dev/null
+++ b/dev-python/pytz/pytz-2023.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+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 ~ia64 ~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}"
+}


             reply	other threads:[~2024-01-29  5:58 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-29  5:58 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytz/ Michał Górny
2024-09-28 11:41 Arthur Zamarin
2024-09-11 18:39 Michał Górny
2024-05-08 18:31 Michał Górny
2024-02-18  3:28 Michał Górny
2024-02-17 22:26 Sam James
2024-02-14 12:36 Michał Górny
2024-02-14 12:26 Michał Górny
2024-02-02  4:12 Michał Górny
2023-10-06 15:08 Michał Górny
2023-10-06 14:29 Sam James
2023-09-05  5:54 Michał Górny
2023-05-25 16:27 Michał Górny
2023-04-29 17:52 Michał Górny
2023-04-29 13:05 Arthur Zamarin
2023-04-28 14:42 Arthur Zamarin
2023-04-27  5:31 Sam James
2023-04-26 19:48 Sam James
2023-04-26 14:29 Sam James
2023-04-26 14:26 Sam James
2023-04-26 14:26 Sam James
2023-04-26 14:26 Sam James
2023-03-29  6:03 Michał Górny
2023-03-25 16:21 Michał Górny
2023-03-25 15:49 Michał Górny
2023-03-16  4:07 Michał Górny
2023-02-16 20:28 Michał Górny
2023-02-16 17:22 Arthur Zamarin
2023-01-15  7:02 Michał Górny
2022-12-18  7:27 Michał Górny
2022-12-10  8:57 Michał Górny
2022-12-10  8:50 Arthur Zamarin
2022-11-03 19:41 Arthur Zamarin
2022-11-03 19:41 Arthur Zamarin
2022-11-03 19:28 Sam James
2022-11-01  5:19 Michał Górny
2022-10-02 18:54 Arthur Zamarin
2022-09-19 20:10 Jakov Smolić
2022-08-13  8:05 Michał Górny
2022-08-12 11:23 Arthur Zamarin
2022-05-10 20:31 Michał Górny
2022-04-19 13:39 Michał Górny
2022-04-19 11:54 Arthur Zamarin
2022-03-20  9:26 Michał Górny
2021-11-05  8:54 Michał Górny
2021-11-05  2:12 Sam James
2021-10-02  7:50 Michał Górny
2021-05-06 14:44 Michał Górny
2021-03-07 22:39 Michał Górny
2021-03-07 19:43 Sam James
2021-02-19  2:45 Sam James
2021-02-01  8:50 Michał Górny
2020-12-06 17:42 Michał Górny
2020-12-06 17:37 Sam James
2020-11-02  9:49 Michał Górny
2020-09-20 13:11 Michał Górny
2020-07-11  8:13 Michał Górny
2020-07-09  8:59 Agostino Sarubbo
2020-07-09  8:41 Agostino Sarubbo
2020-07-09  8:34 Agostino Sarubbo
2020-05-25 19:27 Michał Górny
2020-04-30  9:45 Michał Górny
2020-03-28 21:11 Michał Górny
2020-03-28 21:11 Michał Górny
2020-03-28 21:11 Michał Górny
2020-03-25 15:27 Agostino Sarubbo
2020-03-25 13:27 Agostino Sarubbo
2020-03-25 12:36 Agostino Sarubbo
2020-03-25 12:23 Agostino Sarubbo
2019-11-16 13:53 Michał Górny
2018-07-22  2:26 Mikle Kolyada
2018-07-20 15:53 Tobias Klausmann
2018-07-10 21:47 Michał Górny
2018-07-02  0:49 Thomas Deutschmann
2018-07-01 15:19 Pacho Ramos
2018-07-01  9:24 Sergei Trofimovich
2018-07-01  8:51 Sergei Trofimovich
2018-06-30 19:03 Sergei Trofimovich
2018-06-30 18:45 Mart Raudsepp
2018-06-30 14:45 Sergei Trofimovich
2018-04-29  7:35 Michał Górny
2018-01-29 20:12 Mike Frysinger
2017-09-12  9:13 Fabian Groffen
2017-06-21 11:57 Agostino Sarubbo
2017-06-15 16:04 Markus Meier
2017-06-13 12:31 Agostino Sarubbo
2017-06-10 15:10 Agostino Sarubbo
2017-06-10 13:45 Agostino Sarubbo
2017-06-04 19:20 Tobias Klausmann
2017-06-01  9:13 Agostino Sarubbo
2017-05-29 11:30 Agostino Sarubbo
2017-05-03 11:41 Michał Górny
2017-04-21 17:54 Mike Gilbert
2017-04-16  1:20 Manuel Rüger
2017-02-28 21:39 Michael Weber
2017-01-29 17:28 Fabian Groffen
2016-12-22 22:46 Lars Wendler
2016-12-22 22:46 Lars Wendler
2016-10-24 12:43 Lars Wendler
2016-10-02 10:02 Jeroen Roovers
2016-07-19 16:45 Mike Frysinger
2016-07-18 17:20 Markus Meier
2016-07-17 14:57 Tobias Klausmann
2016-04-03 21:07 Manuel Rüger
2015-11-11 17:27 Justin Lecher
2015-10-27  9:04 Justin Lecher
2015-10-27  4:32 Jeroen Roovers
2015-10-26 13:35 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-10-11 11:25 Justin Lecher
2015-09-29 10:07 Justin Lecher
2015-09-29  9:53 Agostino Sarubbo
2015-09-22  7:02 Justin Lecher
2015-08-28 23:58 Tim Harder
2015-08-28 23:58 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1706507452.df7525f95b18ce4acfd8526df6e27f7a66aeb280.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox