mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
(From OE-Core rev: 17b6104583bb6122ca051dcc004120c24b5579cf) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
841 B
BlitzBasic
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] = "2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"
|
|
|
|
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}/
|
|
|
|
}
|