mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7c26a7d57d
commit
8099ac60b9
36
meta/recipes-devtools/python/python3-pytz_2024.2.bb
Normal file
36
meta/recipes-devtools/python/python3-pytz_2024.2.bb
Normal file
@@ -0,0 +1,36 @@
|
||||
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}/
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user