From 545eb9110c141c758dab6d898a9ef4b60687418f 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_5.0.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-jdatetime_5.0.0.bb') 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