From 26fb3297b49ccd2462abdd727cae4db599ccbf70 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 8 Apr 2021 14:53:28 +0300 Subject: python3-croniter: Upgrade 1.0.10 -> 1.0.11 Upgrade to release 1.0.11: - fix bug: bad case:0 6 30 3 * - Add support for L in the day_of_week component. This enable expressions like * * * * L4, which means last Thursday of the month. - Create CroniterUnsupportedSyntaxError exception for situations where CRON syntax may be valid but some combinations of features is not supported. Currently, this is used when the day_of_week component has a combination of literal values and nth/last syntax at the same time. For example, 0 0 * * 1,L6 or 0 0 * * 15,sat#1 will both raise this exception because of mixing literal days of the week with nth-weekday or last-weekday syntax. This may impact existing cron expressions in prior releases, because 0 0 * * 15,sat#1 was previously allowed but incorrectly handled. - Update croniter_range() to allow an alternate croniter class to be used. Helpful when using a custom class derived from croniter. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin (cherry picked from commit 159df278565891aad0e68f8628c6435c36638772) Signed-off-by: Armin Kuster --- .../recipes-devtools/python/python3-croniter_1.0.10.bb | 12 ------------ .../recipes-devtools/python/python3-croniter_1.0.11.bb | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-croniter_1.0.10.bb create mode 100644 meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-croniter_1.0.10.bb b/meta-python/recipes-devtools/python/python3-croniter_1.0.10.bb deleted file mode 100644 index 6cd87fea9d..0000000000 --- a/meta-python/recipes-devtools/python/python3-croniter_1.0.10.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "croniter provides iteration for datetime object with cron like format" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2" - -PYPI_PACKAGE = "croniter" - -SRC_URI[sha256sum] = "364c48e393060295c3161588a6556d5c890b5c34299973c393adbe4488ca1ecb" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += " python3-dateutil python3-natsort" diff --git a/meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb b/meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb new file mode 100644 index 0000000000..ca9bf71a56 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "croniter provides iteration for datetime object with cron like format" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2" + +PYPI_PACKAGE = "croniter" + +SRC_URI[sha256sum] = "cd89bcbed4d79f56bbf2c9415c2bbbfd09fadc8a59dbae3898fbca5bab34103d" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " python3-dateutil python3-natsort" -- cgit 1.2.3-korg