blob: 301c2f82ff9984e03d20464ec6b236e5564a0f2f [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001DESCRIPTION = "Python HTTP for Humans."
2HOMEPAGE = "http://python-requests.org"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=bfbeafb85a2cee261510d65d5ec19156"
5
6FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
7
8SRC_URI += "file://0001-Strip-Authorization-header-whenever-root-URL-changes.patch \
9 file://0002-Rework-authorization-stripping-logic-as-discussed.patch \
10 "
11
12SRC_URI[md5sum] = "6c1a31afec9d614e2e71a91ee6ca2878"
13SRC_URI[sha256sum] = "ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a"
14
15inherit pypi
16
17RDEPENDS_${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
30BBCLASSEXTEND = "native nativesdk"