mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00

python 2 is gone and we don't need the abstraction now, drop the remaining usage of this variable. The definition in python3-dir.bbclass is left for now for other layers. (From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70) 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] = "31d4583c4ed539cd037956140d695e42c033a19e984bfce9964a3f7d59bc2b40"
|
|
|
|
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}/
|
|
|
|
}
|