diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2021-04-08 14:53:28 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-04-13 08:06:07 -0700 |
commit | 159df278565891aad0e68f8628c6435c36638772 (patch) | |
tree | 44ce5dc4c16886d257fcef82d52ec906e327a80c /meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb | |
parent | 5aaffd50a7df53f2b6b704a350d4a8cc37059eb5 (diff) | |
download | meta-openembedded-159df278565891aad0e68f8628c6435c36638772.tar.gz |
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-croniter_1.0.11.bb | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
1 | DESCRIPTION = "croniter provides iteration for datetime object with cron like format" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2" | ||
5 | |||
6 | PYPI_PACKAGE = "croniter" | ||
7 | |||
8 | SRC_URI[sha256sum] = "cd89bcbed4d79f56bbf2c9415c2bbbfd09fadc8a59dbae3898fbca5bab34103d" | ||
9 | |||
10 | inherit pypi setuptools3 | ||
11 | |||
12 | RDEPENDS_${PN} += " python3-dateutil python3-natsort" | ||