rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | DESCRIPTION = "Python HTTP for Humans." |
| 2 | HOMEPAGE = "http://python-requests.org" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bfbeafb85a2cee261510d65d5ec19156" |
| 5 | |
| 6 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:" |
| 7 | |
| 8 | SRC_URI += "file://0001-Strip-Authorization-header-whenever-root-URL-changes.patch \ |
| 9 | file://0002-Rework-authorization-stripping-logic-as-discussed.patch \ |
| 10 | " |
| 11 | |
| 12 | SRC_URI[md5sum] = "6c1a31afec9d614e2e71a91ee6ca2878" |
| 13 | SRC_URI[sha256sum] = "ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a" |
| 14 | |
| 15 | inherit pypi |
| 16 | |
| 17 | RDEPENDS_${PN} += " \ |
| 18 | ${PYTHON_PN}-email \ |
| 19 | ${PYTHON_PN}-json \ |
| 20 | ${PYTHON_PN}-ndg-httpsclient \ |
| 21 | ${PYTHON_PN}-netserver \ |
| 22 | ${PYTHON_PN}-pyasn1 \ |
| 23 | ${PYTHON_PN}-pyopenssl \ |
| 24 | ${PYTHON_PN}-pysocks \ |
| 25 | ${PYTHON_PN}-urllib3 \ |
| 26 | ${PYTHON_PN}-chardet \ |
| 27 | ${PYTHON_PN}-idna \ |
| 28 | " |
| 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |