summaryrefslogtreecommitdiff
path: root/dev-python/tzlocal
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-16 10:06:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-16 10:06:32 +0100
commit11263cb7c372230b9e5c0195c24692e299887573 (patch)
tree6da3f9cf32762190d60c9dc5f5665b6f6b112833 /dev-python/tzlocal
parentd7665b9dae37c3b9a1c72157fdf49c101bd6495e (diff)
gentoo auto-resync : 16:05:2023 - 10:06:32
Diffstat (limited to 'dev-python/tzlocal')
-rw-r--r--dev-python/tzlocal/Manifest2
-rw-r--r--dev-python/tzlocal/tzlocal-5.0.1.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/tzlocal/Manifest b/dev-python/tzlocal/Manifest
index afd1974e7933..37ff437a8d08 100644
--- a/dev-python/tzlocal/Manifest
+++ b/dev-python/tzlocal/Manifest
@@ -1,3 +1,5 @@
DIST tzlocal-4.3.gh.tar.gz 24147 BLAKE2B 41ed6338b97f1f6c4a5cb64b82f6a93c4e68f275c2d593c774592998a7c63d1c8470fcd5babc13679092da4f92edeb798bfe80186628cb6c34b7fa595a21daf7 SHA512 b93541951c90ef59a0d9b224c75170a0857723ee0f50782980a78a003b1040b7ceef3bbadd2cabde2a8599cecdd7644ccd1431eb8e4d33cd9e4e9d980c048736
+DIST tzlocal-5.0.1.gh.tar.gz 25032 BLAKE2B a1b0d2d2d6422c91752332d789efddad5f14e02e0097deaea1b8df2de20686d1e73dddb1864c5c643b20f8cfce56ff28adb741f7ae74b58409a60bf0eb172057 SHA512 b89293180e82334e3c1627845516ac25d8862c799d6d56a9eff13549bfafef2e4e4b0a624e9455e4310429f50b9d82fa984b7dfe8cdd9ed3dc7325ea89c0c5b1
EBUILD tzlocal-4.3.ebuild 798 BLAKE2B 847a27a4eb2728cd966330135ce2e6bca0e4529122924cbe3e828412d923560042ce5ebb973969270635c22c261b32dde7e43fb511bb9225823f9ee4e44b5049 SHA512 2d203736837f391ecaef2621e37a2a8e3cc1ba6e7445e212abbec71ce07f6d3803ac90a7630e2b63904a59a57d32e5d812204d2ac25985932d7edd7b313222ab
+EBUILD tzlocal-5.0.1.ebuild 810 BLAKE2B b0782bee16609e3ef977779561636c2d552c94f8508819470b2efe2814ee2df75a45802fd80d08b1724ef619a74b976135495249ba31d846ef2d8076a98e8f38 SHA512 8bbd4ee8d7287aca4c6ea6da0b2dccc00f75585837d6750de1748c308abbcbfec210cd91db6146a78a28ed2494d72e368e396a79429c4e72c6de699fb335feb1
MISC metadata.xml 403 BLAKE2B c2fbd81151ee69075c53b7c7d353ac2eb207e92b5bee234591f839c751c54e20abfeb10a8ef1c7cf074d5b94c4745dd23ca1e935b41619dfdc551d2fbb955ac5 SHA512 73c29b14ace10a0b23ef59f9a10abf5f9367dfecc89743cd29a01ece71689c08f83a14612fd3a4779fcbe5382e4e33f6ffbae183c498cba8ba7776d2afbea8ab
diff --git a/dev-python/tzlocal/tzlocal-5.0.1.ebuild b/dev-python/tzlocal/tzlocal-5.0.1.ebuild
new file mode 100644
index 000000000000..cb2fc8a0b84b
--- /dev/null
+++ b/dev-python/tzlocal/tzlocal-5.0.1.ebuild
@@ -0,0 +1,37 @@
+# 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..11} 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"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
+ ' 3.8)
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest