Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "The module provides handy URL class for url parsing and changing" |
| 2 | HOMEPAGE = "https://github.com/aio-libs/yarl/" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b" |
| 5 | |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | |
| 8 | SRC_URI += " \ |
| 9 | file://run-ptest \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 10 | file://0001-Drop-tests-for-semicolon-as-a-separator.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | " |
| 12 | |
| 13 | PYPI_PACKAGE = "yarl" |
| 14 | |
| 15 | inherit pypi ptest setuptools3 |
| 16 | |
| 17 | RDEPENDS_${PN} = "\ |
| 18 | ${PYTHON_PN}-multidict \ |
| 19 | ${PYTHON_PN}-idna \ |
| 20 | " |
| 21 | |
| 22 | RDEPENDS_${PN}-ptest += " \ |
| 23 | ${PYTHON_PN}-pytest \ |
| 24 | " |
| 25 | |
| 26 | do_install_ptest() { |
| 27 | install -d ${D}${PTEST_PATH}/tests |
| 28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 29 | } |