Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [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" |
Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 5 | |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 7 | |
| 8 | SRC_URI += "file://run-ptest" |
| 9 | |
| 10 | PYPI_PACKAGE = "yarl" |
| 11 | |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 12 | inherit pypi ptest python_setuptools_build_meta |
| 13 | |
| 14 | DEPENDS += " \ |
| 15 | ${PYTHON_PN}-expandvars-native \ |
| 16 | ${PYTHON_PN}-cython-native \ |
| 17 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 18 | |
| 19 | RDEPENDS:${PN} = "\ |
| 20 | ${PYTHON_PN}-multidict \ |
| 21 | ${PYTHON_PN}-idna \ |
| 22 | ${PYTHON_PN}-io \ |
| 23 | " |
| 24 | |
| 25 | RDEPENDS:${PN}-ptest += " \ |
| 26 | ${PYTHON_PN}-pytest \ |
| 27 | " |
| 28 | |
| 29 | do_install_ptest() { |
| 30 | install -d ${D}${PTEST_PATH}/tests |
| 31 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 32 | } |