blob: fea071449c3059a938fd645f98cec51f6beaf95a [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
2HOMEPAGE = "https://github.com/idan/oauthlib"
3
Brad Bishop2d39a062019-10-28 08:33:36 -04004LICENSE = "BSD-3-Clause"
Brad Bishop316dfdd2018-06-25 12:45:53 -04005LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b"
6
7SRC_URI = "https://pypi.python.org/packages/a5/8a/212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754/oauthlib-${PV}.tar.gz"
8SRC_URI[md5sum] = "277a9a966cc8c72e492b4eeb41332445"
9SRC_URI[sha256sum] = "ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1"
10
11S = "${WORKDIR}/oauthlib-${PV}"
12
13# The following configs & dependencies are from setuptools extras_require.
14# These dependencies are optional, hence can be controlled via PACKAGECONFIG.
15# The upstream names may not correspond exactly to bitbake package names.
16#
17# Uncomment this line to enable all the optional features.
18#PACKAGECONFIG ?= "test signedtoken signals rsa"
19PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography ${PYTHON_PN}-nose ${PYTHON_PN}-pyjwt"
20PACKAGECONFIG[signedtoken] = ",,,${PYTHON_PN}-cryptography ${PYTHON_PN}-pyjwt"
21PACKAGECONFIG[signals] = ",,,${PYTHON_PN}-blinker"
22PACKAGECONFIG[rsa] = ",,,${PYTHON_PN}-cryptography"
23
24RDEPENDS_${PN} += "${PYTHON_PN}-core ${PYTHON_PN}-crypt ${PYTHON_PN}-datetime ${PYTHON_PN}-json ${PYTHON_PN}-logging ${PYTHON_PN}-math ${PYTHON_PN}-netclient ${PYTHON_PN}-unittest"
25