blob: c1b7c1a43328aa6b9bbcc3d287077082590486a3 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "Better dates and times for Python"
Patrick Williamsb58112e2024-03-07 11:16:36 -06002HOMEPAGE = "https://github.com/arrow-py/arrow"
Patrick Williamsac13d5f2023-11-24 18:59:46 -06003SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d"
6
7SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85"
8
Patrick Williamsb58112e2024-03-07 11:16:36 -06009inherit pypi python_flit_core ptest
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-dateutil-zoneinfo \
17 python3-pytest \
18 python3-pytest-mock \
19 python3-pytz \
20 python3-simplejson \
21 python3-unittest-automake-output \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}
Patrick Williamsac13d5f2023-11-24 18:59:46 -060028
29RDEPENDS:${PN} += " \
Patrick Williamsb58112e2024-03-07 11:16:36 -060030 python3-compression \
31 python3-dateutil \
32 python3-dateutil-zoneinfo \
33 python3-json \
34 python3-types-python-dateutil \
35"