mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
python3-pytz: move to oe-core
This recipe has been moved to oe-core in support of python3-cryptography. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
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] = "acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"
|
|
||||||
|
|
||||||
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 \
|
|
||||||
"
|
|
||||||
|
|
||||||
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