summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb
new file mode 100644
index 0000000000..614d813e84
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tzdata_2024.2.bb
@@ -0,0 +1,25 @@
1SUMMARY = "Provider of IANA time zone data"
2HOMEPAGE = "https://github.com/python/tzdata"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48 \
5 file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327"
6
7SRC_URI[sha256sum] = "7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc"
8
9inherit pypi python_setuptools_build_meta
10
11inherit ptest
12
13SRC_URI += "file://run-ptest"
14
15RDEPENDS:${PN}-ptest += "\
16 python3-attrs \
17 python3-pytest \
18 python3-pytest-subtests \
19 python3-unittest-automake-output \
20"
21
22do_install_ptest() {
23 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
24 install ${S}/VERSION ${D}${PTEST_PATH}/
25}