Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 1 | SUMMARY = "Parse strings using a specification based on the Python format() syntax" |
| 2 | HOMEPAGE = "https://github.com/r1chardj0n3s/parse" |
| 3 | LICENSE = "MIT" |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05" |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 5 | |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "cc3a47236ff05da377617ddefa867b7ba983819c664e1afe46249e5b469be464" |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 7 | |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 8 | SRC_URI += " \ |
| 9 | git://github.com/r1chardj0n3s/parse.git;branch=master;protocol=https \ |
| 10 | file://run-ptest \ |
| 11 | " |
| 12 | |
| 13 | SRCREV ?= "72776522285d516032faa0f80c4ee6a8964075e8" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 16 | |
| 17 | inherit python_setuptools_build_meta ptest |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 18 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 19 | RDEPENDS:${PN} += "\ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 20 | python3-datetime \ |
| 21 | python3-logging \ |
| 22 | python3-numbers \ |
| 23 | " |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | RDEPENDS:${PN}-ptest += " \ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 26 | python3-pytest \ |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 27 | " |
| 28 | |
| 29 | do_install_ptest() { |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 30 | cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 31 | } |