From 6ab6892aaa0faab800a163eb11b63aa87c14050b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:11 +0800 Subject: python3-croniter: upgrade 5.0.1 -> 6.0.0 Changelog: ========== - Announce for now that croniter dev is ended (CRA). - Rework timestamp_to_datetime to use whatever timezone - Make datetime_to_timestamp & timestamp_to_datetime public - Fix EPOCH calculation in case of non UTC & 32 bits based systems - Apply isort formatter - Reintegrate test_speed - Apply black formatter - Code quality changes Remove unused _get_caller_globals_and_locals Remove single-use bad_length Remove unused days in proc_month Use field_index over i for readability Always use """ for docstrings Make helper instance methods that do not use self static Remove unusd call to sys.exc_info Remove unused ALPHAS Improve croniter.expand documentation Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-croniter_6.0.0.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb b/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb new file mode 100644 index 0000000000..201074e1e3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-croniter_6.0.0.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "croniter provides iteration for datetime object with cron like format" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b8ee59850b882cbf623188489ea748e2" + +PYPI_PACKAGE = "croniter" + +SRC_URI[sha256sum] = "37c504b313956114a983ece2c2b07790b1f1094fe9d81cc94739214748255577" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-dateutil \ + python3-natsort \ + python3-pytz \ +" -- cgit v1.2.3-54-g00ecf