From b51dcf7d0452037ee4898f0a3de94c24fb61ab8e Mon Sep 17 00:00:00 2001 From: Martin Kelly Date: Tue, 24 Mar 2020 15:48:43 -0700 Subject: python3-cachecontrol: add recipe for 0.12.6 This recipe originally comes from meta-openstack, but it's dependency-less, so it may as well live here and get wider use. meta-openstack is MIT-licensed, so the recipe is compatible. Signed-off-by: Martin Kelly Signed-off-by: Khem Raj --- .../python/python3-cachecontrol_0.12.6.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb b/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb new file mode 100644 index 0000000000..7c45ed3300 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb @@ -0,0 +1,29 @@ +SUMMARY = "httplib2 caching for requests" +HOMEPAGE = "https://pypi.org/project/CacheControl/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6dc7e1b428eda03d850209fdbd6c71f1" + +# On PyPi, this is "CacheControl", rather than "cachecontrol", so we need to +# override PYPI_PACKAGE so fetch succeeds. +PYPI_PACKAGE = "CacheControl" + +SRC_URI[md5sum] = "5890b797f9b48b2b4cd1448cca89e396" +SRC_URI[sha256sum] = "be9aa45477a134aee56c8fac518627e1154df063e85f67d4f83ce0ccc23688e8" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-crypt \ + python3-datetime \ + python3-email \ + python3-lockfile \ + python3-json \ + python3-logging \ + python3-msgpack \ + python3-netclient \ + python3-pickle \ + python3-requests \ + python3-urllib3 \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf