summaryrefslogtreecommitdiff
path: root/dev-python/pytz
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-26 03:04:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-26 03:04:34 -0500
commit704373259ee68c274d8ce04949a32d64de4b6014 (patch)
tree7a0e8486e2a8a023587be7210e8ee21355d86ee9 /dev-python/pytz
parentf1b8e4e12c5e5f7dc09790bb9915ce4855b5d9ea (diff)
downloadbaldeagleos-repo-704373259ee68c274d8ce04949a32d64de4b6014.tar.gz
baldeagleos-repo-704373259ee68c274d8ce04949a32d64de4b6014.tar.xz
baldeagleos-repo-704373259ee68c274d8ce04949a32d64de4b6014.zip
Adding metadata
Diffstat (limited to 'dev-python/pytz')
-rw-r--r--dev-python/pytz/Manifest2
-rw-r--r--dev-python/pytz/pytz-2026.3_p1.ebuild52
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest
index 10ac78cad9a4..95584c7f4f85 100644
--- a/dev-python/pytz/Manifest
+++ b/dev-python/pytz/Manifest
@@ -1,2 +1,4 @@
DIST pytz-2026.2.tar.gz 320861 BLAKE2B b05b2e3852595dc2b42d38e3c9604410af5889e4110cb28918874e9fe4a6340bda2bbfb469b8f5832d1cb6adb3ac19cc427d5b1d5361927d3a978c1cdeb134cc SHA512 b980715c2bf344734c7c2b1b83e94297a8a501b76e6e728553d99ddc1726aff4eb972c025e482d7dbbd4f11f706b573b5e7a1c030c315fdf556f7ca524436989
DIST pytz-2026.2.tar.gz.provenance 9433 BLAKE2B 326250578fc445ebae1443b137243391a17b4d86c1a2ed3735676d89bfecd7626ee582f232901134038cea1ebea79a2e9331d94e655dce474fe165d9deee328a SHA512 655c17ef02c19c46689a2a450b8969b4fe74e01988f3a7e2994b343dadb2b509479dfa0467c5a379060ec52bab7823f5c52912e83e7bf6b9ad19885f1934c7e4
+DIST pytz-2026.3.post1.tar.gz 319745 BLAKE2B 7df0b649e2f68e4e4a43326e5b0d83e604ddf40628dfa20d33c3b89cd2ef0814825b3c7b98ccaeb03116482f0d37d4969bd25c9b899d44ae613dda65225ca1e7 SHA512 0b76709e7cfa79e88642b45150e74c217cd7262b1ef978f3b6054ce360b39a1cb096ab1e6f8e3d0781e4555ae0e2f672d04d8ed0ed6eacd436cbff993cd02176
+DIST pytz-2026.3.post1.tar.gz.provenance 9941 BLAKE2B 327fd3e70fcceccb875ce2fa7df179a1f5094c36379b32e84f3b00f16638d6a5ff1bf766bf86d4d5e2d993e2789dc5b79681d12752d4add21fdca5189f0297ba SHA512 df3e2d681fe5df3e07edf98188ed4485bdc92dc025cff2a716c5b1a3e204f9c4f1e0afdc32dbfc690000bede60ca45ca3258f0fa3707543701c18eae3755ec88
diff --git a/dev-python/pytz/pytz-2026.3_p1.ebuild b/dev-python/pytz/pytz-2026.3_p1.ebuild
new file mode 100644
index 000000000000..25e025d264d4
--- /dev/null
+++ b/dev-python/pytz/pytz-2026.3_p1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/stub42/pytz
+PYTHON_COMPAT=( python3_{13..14} )
+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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-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}"
+}