summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb
blob: 614d813e846f69c229b404672d5defac3fe7d75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUMMARY = "Provider of IANA time zone data"
HOMEPAGE = "https://github.com/python/tzdata"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \
                    file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327"

SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc"

inherit pypi python_setuptools_build_meta

inherit ptest

SRC_URI += "file://run-ptest"

RDEPENDS:${PN}-ptest += "\
    python3-attrs \
    python3-pytest \
    python3-pytest-subtests \
    python3-unittest-automake-output \
"

do_install_ptest() {
    cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
	install ${S}/VERSION ${D}${PTEST_PATH}/
}