diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2020-07-09 23:00:37 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-07-12 19:04:17 -0700 |
commit | cb7cc760830ba07e8efb835d446eaf31c762dedc (patch) | |
tree | e2b87101ff29f8827598e23dc5f6940725cc37a2 /meta-python/recipes-devtools/python/python3-pytz_2020.1.bb | |
parent | 76e896fea321bd996f4477c76b2f0069579acb19 (diff) | |
download | meta-openembedded-cb7cc760830ba07e8efb835d446eaf31c762dedc.tar.gz |
python3-pytz: upgrade 2019.3 -> 2020.1
-License-Update: Copyright year updated to 2019.
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytz_2020.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytz_2020.1.bb | 36 |
1 files changed, 36 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "World timezone definitions, modern and historical" | ||
2 | HOMEPAGE = "http://pythonhosted.org/pytz" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" | ||
5 | |||
6 | inherit pypi setuptools3 ptest | ||
7 | |||
8 | SRC_URI[md5sum] = "0349106ac02f2bfe565dd6d5594e3a15" | ||
9 | SRC_URI[sha256sum] = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048" | ||
10 | |||
11 | RDEPENDS_${PN}_class-target += "\ | ||
12 | ${PYTHON_PN}-datetime \ | ||
13 | ${PYTHON_PN}-doctest \ | ||
14 | ${PYTHON_PN}-io \ | ||
15 | ${PYTHON_PN}-pickle \ | ||
16 | ${PYTHON_PN}-pprint \ | ||
17 | ${PYTHON_PN}-threading \ | ||
18 | " | ||
19 | |||
20 | BBCLASSEXTEND = "native nativesdk" | ||
21 | |||
22 | SRC_URI += " \ | ||
23 | file://run-ptest \ | ||
24 | " | ||
25 | |||
26 | RDEPENDS_${PN}-ptest += " \ | ||
27 | ${PYTHON_PN}-pytest \ | ||
28 | " | ||
29 | |||
30 | do_install_ptest() { | ||
31 | install -d ${D}${PTEST_PATH}/pytz | ||
32 | install -d ${D}${PTEST_PATH}/pytz/tests | ||
33 | cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/ | ||
34 | cp -f ${S}/README.rst ${D}${PTEST_PATH}/ | ||
35 | |||
36 | } | ||