python3-jdatetime: upgrade 5.3.0 -> 6.0.1

Changelog:
===========
- Add Persian short month names for %b
- Drop legacy Python 2 bytes support from strftime
- typing: align date/datetime dunder annotations with typeshed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Wang Mingyu
2026-07-22 18:23:06 +08:00
committed by Khem Raj
parent 6887dc53cd
commit 58053045ae
@@ -1,35 +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"
# The PyPI package omits some files for testing like tests/__init__.py
# so use the GitHub source instead.
SRCREV = "ea119aab729d4c48f797f3663a692680c93fb9f5"
SRC_URI = " \
git://github.com/slashmili/jdatetime;branch=main;protocol=https \
file://run-ptest \
"
inherit python_setuptools_build_meta ptest
CLEANBROKEN = "1"
RDEPENDS:${PN} += " \
python3-modules \
python3-jalali-core \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-core \
python3-pickle \
python3-unittest \
python3-zoneinfo \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}