From cb7cc760830ba07e8efb835d446eaf31c762dedc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 9 Jul 2020 23:00:37 +0800 Subject: python3-pytz: upgrade 2019.3 -> 2020.1 -License-Update: Copyright year updated to 2019. Signed-off-by: Wang Mingyu Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pytz_2020.1.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytz_2020.1.bb (limited to 'meta-python/recipes-devtools/python/python3-pytz_2020.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb b/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb new file mode 100644 index 0000000000..1986263117 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb @@ -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[md5sum] = "0349106ac02f2bfe565dd6d5594e3a15" +SRC_URI[sha256sum] = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048" + +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}/ + +} -- cgit v1.2.3-54-g00ecf