diff options
| author | wangmy <wangmy@fujitsu.com> | 2022-03-29 09:30:58 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-30 13:07:41 +0100 |
| commit | 6e3e008831679c909c3620ec0eafca14ae796846 (patch) | |
| tree | fb34cc31af8bb4915fed6e526075a3eb296fd596 /meta/recipes-devtools/python/python3-pytz_2022.1.bb | |
| parent | aedb0e59f37134e7a291e89849811a867b95a7e4 (diff) | |
| download | poky-6e3e008831679c909c3620ec0eafca14ae796846.tar.gz | |
python3-pytz: upgrade 2021.3 -> 2022.1
(From OE-Core rev: 6099720d01aaab4fd9c878e6026ab4fbb862421c)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pytz_2022.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pytz_2022.1.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pytz_2022.1.bb b/meta/recipes-devtools/python/python3-pytz_2022.1.bb new file mode 100644 index 0000000000..a4bb4f5c8f --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytz_2022.1.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 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[sha256sum] = "1e760e2fe6a8163bc0b3d9a19c4f84342afa0a2affebfaa84b01b978a02ecaa7" | ||
| 9 | |||
| 10 | RDEPENDS:${PN}:class-target += "\ | ||
| 11 | ${PYTHON_PN}-datetime \ | ||
| 12 | ${PYTHON_PN}-doctest \ | ||
| 13 | ${PYTHON_PN}-io \ | ||
| 14 | ${PYTHON_PN}-pickle \ | ||
| 15 | ${PYTHON_PN}-pprint \ | ||
| 16 | ${PYTHON_PN}-threading \ | ||
| 17 | " | ||
| 18 | |||
| 19 | BBCLASSEXTEND = "native nativesdk" | ||
| 20 | |||
| 21 | SRC_URI += " \ | ||
| 22 | file://run-ptest \ | ||
| 23 | " | ||
| 24 | |||
| 25 | RDEPENDS:${PN}-ptest += " \ | ||
| 26 | ${PYTHON_PN}-pytest \ | ||
| 27 | " | ||
| 28 | |||
| 29 | do_install_ptest() { | ||
| 30 | install -d ${D}${PTEST_PATH}/pytz | ||
| 31 | install -d ${D}${PTEST_PATH}/pytz/tests | ||
| 32 | cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/ | ||
| 33 | cp -f ${S}/README.rst ${D}${PTEST_PATH}/ | ||
| 34 | |||
| 35 | } | ||
