mirror of
https://git.yoctoproject.org/poky
synced 2026-04-02 17:02:21 +02:00
python3-pytz: upgrade 2022.7.1 -> 2023.3
(From OE-Core rev: 932612c1034848f9d5da5b264a5859c02257d582) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b205ab58a6
commit
1419a694ac
36
meta/recipes-devtools/python/python3-pytz_2023.3.bb
Normal file
36
meta/recipes-devtools/python/python3-pytz_2023.3.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] = "1d8ce29db189191fb55338ee6d0387d82ab59f3d00eac103412d64e0ebd0c588"
|
||||
|
||||
RDEPENDS:${PN}:class-target += "\
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-doctest \
|
||||
${PYTHON_PN}-io \
|
||||
${PYTHON_PN}-pickle \
|
||||
${PYTHON_PN}-pprint \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-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