From fc69d55fc5109e545ae64d7103087b57f3399558 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 1 Apr 2024 22:50:57 +0800 Subject: python3-jdatetime: upgrade 4.1.1 -> 5.0.0 Changelog: =========== -tests(test_zoneinfo_as_timezone): skip if tzinfo is not available on windows -fix(strftime): treat %% as an escape sequence -chore(jalai.py): cleanup the code -fix(strftime): also escape %% before c, x, and X -fix(date, datetime): return NotImplemented for unknown type operations -docs(README.rst): use jdatetime.FA_LOCALE instead if fa_IR -Update python versions -update jalali license -update licences -Use jalali core Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-jdatetime_4.1.1.bb | 17 ----------------- .../recipes-devtools/python/python3-jdatetime_5.0.0.bb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-jdatetime_4.1.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-jdatetime_4.1.1.bb b/meta-python/recipes-devtools/python/python3-jdatetime_4.1.1.bb deleted file mode 100644 index 22a798529f..0000000000 --- a/meta-python/recipes-devtools/python/python3-jdatetime_4.1.1.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Jalali implementation of Python's datetime module" -HOMEPAGE = "https://github.com/slashmili/python-jalali" -LICENSE = "Python-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" - -SRC_URI[sha256sum] = "1dd0ee210160c7bd30002803c443e6260ac602ea65b065652a1d567d3bfdca7a" - -PYPI_PACKAGE = "jdatetime" - -inherit pypi setuptools3 - -CLEANBROKEN = "1" - -RDEPENDS:${PN} += " \ - python3-modules \ -" - diff --git a/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb b/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb new file mode 100644 index 0000000000..f1dd368ea0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Jalali implementation of Python's datetime module" +HOMEPAGE = "https://github.com/slashmili/python-jalali" +LICENSE = "Python-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" + +SRC_URI[sha256sum] = "2cc603d913c0d8e328928454d3d295261cb037e9950227f67c9629ab4710fdf9" + +PYPI_PACKAGE = "jdatetime" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS:${PN} += " \ + python3-modules \ +" + -- cgit v1.2.3-54-g00ecf