summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-10 20:07:50 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-10 20:11:02 +0200
commitcfa289ae5c41edfe12adf319709fc664d7608028 (patch)
treec9e9f7787c69df37cc7d9bdade5ad8989dae7068 /dev-python/croniter/croniter-2.0.0.ebuild
parentdev-python/mkdocs-material: Bump to 9.4.5 (diff)
downloadgentoo-cfa289ae5c41edfe12adf319709fc664d7608028.tar.gz
gentoo-cfa289ae5c41edfe12adf319709fc664d7608028.tar.bz2
gentoo-cfa289ae5c41edfe12adf319709fc664d7608028.zip
dev-python/croniter: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/croniter/croniter-2.0.0.ebuild')
-rw-r--r--dev-python/croniter/croniter-2.0.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/croniter/croniter-2.0.0.ebuild b/dev-python/croniter/croniter-2.0.0.ebuild
new file mode 100644
index 000000000000..00010b763290
--- /dev/null
+++ b/dev-python/croniter/croniter-2.0.0.ebuild
@@ -0,0 +1,31 @@
+# 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} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python module to provide iteration for datetime object"
+HOMEPAGE="
+ https://github.com/kiorky/croniter/
+ https://pypi.org/project/croniter/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/tzlocal[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest