summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc
diff options
context:
space:
mode:
authorZheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>2019-08-26 13:51:04 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-08-30 00:16:17 -0400
commitc84c2db95d744ad68526423a95d9c7db09abacc3 (patch)
treecfea739d333fcea0da30bddd4baffa1a4057cd33 /meta-openstack/recipes-devtools/python/python-requestsexceptions.inc
parentc957a5b63d3c2b1535ae1a8fc17fab4a9ebe1204 (diff)
downloadmeta-cloud-services-c84c2db95d744ad68526423a95d9c7db09abacc3.tar.gz
python-requestsexceptions: Add python3 version
Providing a python3 version of python-requestsexceptions. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-requestsexceptions.inc')
-rw-r--r--meta-openstack/recipes-devtools/python/python-requestsexceptions.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc b/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc
new file mode 100644
index 0000000..bac99a3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc
@@ -0,0 +1,23 @@
1DESCRIPTION = "Import exceptions from potentially bundled packages in requests."
2HOMEPAGE = "https://www.openstack.org/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87"
6
7SRC_URI[md5sum] = "f43b246ccd7d5b618e6f0dc946a6c3f3"
8SRC_URI[sha256sum] = "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065"
9
10inherit pypi
11
12# conflicting file prevention
13do_install_append() {
14 rm -f ${D}${libdir}/python*/site-packages/tests/*
15}
16
17DEPENDS += " \
18 ${PYTHON_PN}-pbr-native \
19 "
20
21RDEPENDS_${PN} += " \
22 ${PYTHON_PN}-pbr \
23 "