dev-python/tzlocal: Bump to 5.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-10-05 04:57:22 +02:00
parent ee262039c4
commit a157b97556
2 changed files with 33 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST tzlocal-5.0.1.gh.tar.gz 25032 BLAKE2B a1b0d2d2d6422c91752332d789efddad5f14e02e0097deaea1b8df2de20686d1e73dddb1864c5c643b20f8cfce56ff28adb741f7ae74b58409a60bf0eb172057 SHA512 b89293180e82334e3c1627845516ac25d8862c799d6d56a9eff13549bfafef2e4e4b0a624e9455e4310429f50b9d82fa984b7dfe8cdd9ed3dc7325ea89c0c5b1
DIST tzlocal-5.1.gh.tar.gz 25413 BLAKE2B e4ed9c3161d049e9e00176d3ebf9a30db0f65b8c5141498d3a5d4df9e9bb299e6a307e462884640cbdaa781a3a5c07bc453e36d0eb772da0e22bbf6e474de187 SHA512 692d7ac8d04cdc3da43d75fbbd99b329b1436ef6b41540604bd65f667ac5f20219dc769d0379f41eb8723521e2ad4d2b9f399326f3d1a41b9f63c0db4341eb0d

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2023 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 )
inherit distutils-r1
DESCRIPTION="tzinfo object for the local timezone"
HOMEPAGE="
https://github.com/regebro/tzlocal/
https://pypi.org/project/tzlocal/
"
# symlinks aren't correctly preserved in sdist, as of 5.0.1
SRC_URI="
https://github.com/regebro/tzlocal/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
BDEPEND="
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest