diff options
Diffstat (limited to 'dev-python/pytz')
-rw-r--r-- | dev-python/pytz/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch | 7 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2023.2-r2.ebuild (renamed from dev-python/pytz/pytz-2023.2-r1.ebuild) | 0 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2023.3-r1.ebuild (renamed from dev-python/pytz/pytz-2023.3.ebuild) | 0 |
4 files changed, 7 insertions, 6 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index e3b26bc3c56b..7254b506aa69 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1,9 +1,9 @@ -AUX pytz-2023.2-system-tzinfo.patch 1743 BLAKE2B 4ee31a0bf91dd8ddb5fe8d27f5cd7a276fb0fae0aee9b5344ff3b1db475647f2665a510cdf065a67fd909041d2180ce0bd8f5f6abb2622cc518a4393aea442e5 SHA512 1ca832cb516aabfa6dec4c9ba4bbd25926af7ecdb5b5e5c78d9e2c3cd35361ac7fcde2190ec39ca8fbef1da49d4a7c7d83e20133b86dee60be0de52e26e03daf +AUX pytz-2023.2-system-tzinfo.patch 1787 BLAKE2B 52026a74040573aa97a86ee6e8c5afb56114297182116a375b9b9fc5e8840edba4e4e5eeeadf386a9f9d84302d71ec4ab55098b4b9d3d67db73043d7c0a52f79 SHA512 23fce20b8d91bdd1436efb611c5593340984ad27ed5a5fbcebb7472b189e7e66a391c6e6925f3f4a33cae49f527453fdc1075c162ef6976614d1b398d5abe625 DIST pytz-2022.7.1.tar.gz 313522 BLAKE2B f0e787438f56bb33e0681f28392ddcb8dde41e51437caf34de8c9891af468a1b60f845d393d300c408af598aa93463f2a66848a8d20754bd7980d44cac0f4216 SHA512 c70b9ef9c6e6a7dd50fc80a58bf068af33dbcdc83c3f2f44b0726e696927e17d843f2f0438392b6f34738a63aa51c5025e6aa4bcbb9e43400b9d68334ff05c18 DIST pytz-2023.2.tar.gz 316321 BLAKE2B 62f1896100f78d30953e40239b43cd9a53f365506bd56d0ed2ca21a31f1d5510e492e8751acfc44cb0a41e0db9125b454b9512f2b39be5fadfd366683738b893 SHA512 f0b7884bdad4ac367e1a812ff0402ad343592b062d6067d41133802972faf290a602e037686b28fc62574da49c4365b8a9213b3b02ad251835ceca692809355d DIST pytz-2023.3.tar.gz 317095 BLAKE2B dd2fe27471f641382667ddac77216f9e0e22dd0059b78ecb14be5490dd568cc4865a5624f8e89534a868fde5ea9c51fd3620a3cc1ed30ab32fc5b39445abeb14 SHA512 3a39e9ec22bf1468e7415f60f10bf4a4e5b0b12bea2aeec45c5e63a916136c747fa0abd1b0612a99da962e743f28f24ebc43c1d73d96f0e98f7fb0ae6b62e319 EBUILD pytz-2022.7.1.ebuild 779 BLAKE2B 385bd8561698a862d2c897b0efb2b1217e9966ec7b07cc8c8757fed57e033326534b54cc5dd182c989cd4c18ee908c053e95179379643c56c73644c6a6411987 SHA512 f274dc7caabb2aaeca437931b3100bf1d2b8824ef9e94d1bf2bc27eddf3078b99c4cb2d97a45eeb4794107322bd2b15a0ebb58162fea2c16c1ddd3ddfe6d04f6 -EBUILD pytz-2023.2-r1.ebuild 1181 BLAKE2B bf265f98c94ec1e736985ca43093ea7165d4c2244a80e9fa041b9f3cd3488319467af0f971054509aff00434bfb95ddb6229ed80a1e01a1d4cf3c7ffb35d95d1 SHA512 1b55ce4c86663dbd18e3f4f16dd4276d823309d54acc752f7642e7049e67a8f0bbd38d3aca217c71c7da6112c4da288c0ecfec0834e23d24fead2372c49dc2d1 +EBUILD pytz-2023.2-r2.ebuild 1181 BLAKE2B bf265f98c94ec1e736985ca43093ea7165d4c2244a80e9fa041b9f3cd3488319467af0f971054509aff00434bfb95ddb6229ed80a1e01a1d4cf3c7ffb35d95d1 SHA512 1b55ce4c86663dbd18e3f4f16dd4276d823309d54acc752f7642e7049e67a8f0bbd38d3aca217c71c7da6112c4da288c0ecfec0834e23d24fead2372c49dc2d1 EBUILD pytz-2023.2.ebuild 787 BLAKE2B 5bb9d1edc4b62b13a44008a63456e84ff83c00b1eb40139e4cb59f8315f84e6f7fe15ec0ca17c66e86862d2c69724258f3f86feb85ced5648768702d0180c539 SHA512 8d551fe07bb7e33c2fb301c2d37ddc70904c58821cfe548ed64cf673db5648ce8bc1b06b16063b5a06b1cc8fbbd2d026367ca36f46be09948c8f3c22bb957738 -EBUILD pytz-2023.3.ebuild 1181 BLAKE2B bf265f98c94ec1e736985ca43093ea7165d4c2244a80e9fa041b9f3cd3488319467af0f971054509aff00434bfb95ddb6229ed80a1e01a1d4cf3c7ffb35d95d1 SHA512 1b55ce4c86663dbd18e3f4f16dd4276d823309d54acc752f7642e7049e67a8f0bbd38d3aca217c71c7da6112c4da288c0ecfec0834e23d24fead2372c49dc2d1 +EBUILD pytz-2023.3-r1.ebuild 1181 BLAKE2B bf265f98c94ec1e736985ca43093ea7165d4c2244a80e9fa041b9f3cd3488319467af0f971054509aff00434bfb95ddb6229ed80a1e01a1d4cf3c7ffb35d95d1 SHA512 1b55ce4c86663dbd18e3f4f16dd4276d823309d54acc752f7642e7049e67a8f0bbd38d3aca217c71c7da6112c4da288c0ecfec0834e23d24fead2372c49dc2d1 MISC metadata.xml 820 BLAKE2B 224acaf3f2b85e717829a59108a4053e9a60bc710c330b12dc3f181685d5c8ab1b090105796f092004b1a70781882438b0c0a27bc96ef0116b33fe7051cc6ad5 SHA512 c9a677d89a9f831f3a9833b02e6cec36adbb27688e117b66caad32d3be10fca19787dd85eb14e21eb95d6ed8ba6ff02122ad9f54aa175252834dc4c219b7c219 diff --git a/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch b/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch index 1e64f1bd2fa4..85b639f0e615 100644 --- a/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch +++ b/dev-python/pytz/files/pytz-2023.2-system-tzinfo.patch @@ -7,7 +7,7 @@ diff --git a/pytz/__init__.py b/pytz/__init__.py index f89d0eb..d00f3bb 100644 --- a/pytz/__init__.py +++ b/pytz/__init__.py -@@ -75,6 +75,20 @@ else: # Python 2.x +@@ -75,6 +75,21 @@ else: # Python 2.x return s.encode('ASCII') @@ -15,8 +15,9 @@ index f89d0eb..d00f3bb 100644 + for dirpath, dirnames, filenames in os.walk(_PYTZ_TZDATADIR): + for f in filenames: + p = os.path.join(dirpath, f) -+ if open(p, 'rb').read(4) == b'TZif': -+ yield os.path.relpath(p, _PYTZ_TZDATADIR) ++ with open(p, 'rb') as tzfile: ++ if tzfile.read(4) == b'TZif': ++ yield os.path.relpath(p, _PYTZ_TZDATADIR) + + +_PYTZ_TZDATADIR = os.environ.get('PYTZ_TZDATADIR', '/usr/share/zoneinfo') diff --git a/dev-python/pytz/pytz-2023.2-r1.ebuild b/dev-python/pytz/pytz-2023.2-r2.ebuild index eea96064ba6e..eea96064ba6e 100644 --- a/dev-python/pytz/pytz-2023.2-r1.ebuild +++ b/dev-python/pytz/pytz-2023.2-r2.ebuild diff --git a/dev-python/pytz/pytz-2023.3.ebuild b/dev-python/pytz/pytz-2023.3-r1.ebuild index eea96064ba6e..eea96064ba6e 100644 --- a/dev-python/pytz/pytz-2023.3.ebuild +++ b/dev-python/pytz/pytz-2023.3-r1.ebuild |