diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-02 20:41:50 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-02 21:54:20 +0300 |
commit | 16248d58313d573768d281d4524b5fe6dfe770f3 (patch) | |
tree | 1a3d07eb6ad3665e37c95ddc0068ee075a6a19de /dev-python | |
parent | dev-python/rich: add 12.6.0 (diff) | |
download | gentoo-16248d58313d573768d281d4524b5fe6dfe770f3.tar.gz gentoo-16248d58313d573768d281d4524b5fe6dfe770f3.tar.bz2 gentoo-16248d58313d573768d281d4524b5fe6dfe770f3.zip |
dev-python/pytz: add 2022.4
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytz/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2022.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest index 4863ccf5f897..cb737276d00a 100644 --- a/dev-python/pytz/Manifest +++ b/dev-python/pytz/Manifest @@ -1 +1,2 @@ DIST pytz-2022.2.1.tar.gz 316105 BLAKE2B 74a3f416c5e15a050cc62594851d80022c81cb611e6c1d1130cfc7e1bc9cb3b833edca9e67203695c50abb7587bf514216f8c0153890658bc8a9f1498e82f867 SHA512 9c78d9f484e2e0e101ca7e10fba8e6c9870255b2c320b3499a0cc9b480adac64b07f2f124048aa957c6bc9311a4ac43060368e1f0d85d8e8c8f7df598e47912b +DIST pytz-2022.4.tar.gz 316055 BLAKE2B 795ac83f9d695f40d0675b8e53c8d573ba1799cb4037edd18974a1f5a5f5e1f73e871852ca4f4098facccf1589dfb22a4948375149a7ae790b98317d1442ec66 SHA512 4dc42def7743cacb13fc8c4b1f8f49b3a49c68c93e7444985eb7242c0d9fd0f95bb9d1be934c4ad5519c9fbdb2aea4d6b8b563d71153c86a40d2e1ee8abb6387 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}" +} |