Files
poky/meta/recipes-devtools/python/python3-pytz_2024.2.bb
Wang Mingyu 8099ac60b9 python3-pytz: upgrade 2024.1 -> 2024.2
Changelog:
==========
- IANA 2024b
- Squashed 'tz/' changes from 380c07cef..923e54bae
- Stop testing unavailable and EOL Python 3.5
- Add support for Python 3.13
- Run other jobs if one fails

(From OE-Core rev: aa5000f6077010feba6fa311a281900c87014cf4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:00:51 +01:00

37 lines
841 B
BlitzBasic

SUMMARY = "World timezone definitions, modern and historical"
HOMEPAGE = "http://pythonhosted.org/pytz"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
inherit pypi setuptools3 ptest
SRC_URI[sha256sum] = "2aa355083c50a0f93fa581709deac0c9ad65cca8a9e9beac660adcbd493c798a"
RDEPENDS:${PN}:class-target += "\
python3-datetime \
python3-doctest \
python3-io \
python3-pickle \
python3-pprint \
python3-threading \
"
BBCLASSEXTEND = "native nativesdk"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/pytz
install -d ${D}${PTEST_PATH}/pytz/tests
cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/
cp -f ${S}/README.rst ${D}${PTEST_PATH}/
}