xref: /openbmc/openbmc/poky/meta/recipes-devtools/python/python3-pytz_2025.2.bb (revision c9537f57ab488bf5d90132917b0184e2527970a5)
1SUMMARY = "World timezone definitions, modern and historical"
2HOMEPAGE = "http://pythonhosted.org/pytz"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
5
6inherit pypi setuptools3 ptest-python-pytest
7
8PTEST_PYTEST_DIR = "pytz/tests"
9
10SRC_URI[sha256sum] = "360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3"
11
12RDEPENDS:${PN}:class-target += "\
13    python3-datetime \
14    python3-doctest \
15    python3-io \
16    python3-pickle \
17    python3-pprint \
18    python3-threading \
19"
20
21BBCLASSEXTEND = "native nativesdk"
22
23RDEPENDS:${PN}-ptest += " \
24	python3-pytest \
25	python3-unittest-automake-output \
26"
27
28do_install_ptest:append() {
29	cp -f ${S}/README.rst ${D}${PTEST_PATH}/
30}
31