summaryrefslogtreecommitdiff
path: root/dev-python/pytz
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytz')
-rw-r--r--dev-python/pytz/Manifest2
-rw-r--r--dev-python/pytz/pytz-2022.4.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest
index cb80c556ca34..0e7da957cfe7 100644
--- a/dev-python/pytz/Manifest
+++ b/dev-python/pytz/Manifest
@@ -1,3 +1,5 @@
DIST pytz-2022.2.1.tar.gz 316105 BLAKE2B 74a3f416c5e15a050cc62594851d80022c81cb611e6c1d1130cfc7e1bc9cb3b833edca9e67203695c50abb7587bf514216f8c0153890658bc8a9f1498e82f867 SHA512 9c78d9f484e2e0e101ca7e10fba8e6c9870255b2c320b3499a0cc9b480adac64b07f2f124048aa957c6bc9311a4ac43060368e1f0d85d8e8c8f7df598e47912b
+DIST pytz-2022.4.tar.gz 316055 BLAKE2B 795ac83f9d695f40d0675b8e53c8d573ba1799cb4037edd18974a1f5a5f5e1f73e871852ca4f4098facccf1589dfb22a4948375149a7ae790b98317d1442ec66 SHA512 4dc42def7743cacb13fc8c4b1f8f49b3a49c68c93e7444985eb7242c0d9fd0f95bb9d1be934c4ad5519c9fbdb2aea4d6b8b563d71153c86a40d2e1ee8abb6387
EBUILD pytz-2022.2.1.ebuild 797 BLAKE2B 4074092d41c3e2133a58d8a3ef75d3f0f349487b4f288c8c271c23acf0189dcc173dc925e36a6a426e6f551bc34c6497dd7cf41a5d56f04e51ae3a9e7d3a5edf SHA512 442747fd7f390b23b54257f90b87d9a374b28abff9cce1b2296bb5c2983c810317d89bd2071f791110ecb3d09a96109b755622583383fa01be1200cf5008a5e9
+EBUILD pytz-2022.4.ebuild 805 BLAKE2B 3c6565965f2e2b40b38e549724861b90b1bc69972fcf9aac3dc9b2fdf93bf8eb0ac3a740a402d0b2a1a9b43aebcf21ed1408b7a82d93bb8aea5add6e66ab44a7 SHA512 1b6b20b532ef5aa0d7bf8cfb60711e78d7e30818ba39f6e922546f5363e414baa60fa0def8ce8557cf57f87f3aadef01e894ad8f71a8302d35d9c5f2f0237dfe
MISC metadata.xml 765 BLAKE2B 437ebaaf2229928930ce99bed100856934d5dc4fcbbd5fda5b164041668404015421800f59c408168c83cdf8d8a5db126dc1f6261ac6a92398bdf0d733ca96d4 SHA512 dec5518cc05dc97ba6897a6d2f55933b2561153d55b60511183e4adf6d308e1a2213fd870b5ce7bae11c157d33ff1bcf0a37d7a2675e92a8b02eca0f660af29c
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}"
+}