diff options
| author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2019-08-26 13:51:04 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-08-30 00:16:17 -0400 |
| commit | c84c2db95d744ad68526423a95d9c7db09abacc3 (patch) | |
| tree | cfea739d333fcea0da30bddd4baffa1a4057cd33 /meta-openstack/recipes-devtools/python/python-requestsexceptions.inc | |
| parent | c957a5b63d3c2b1535ae1a8fc17fab4a9ebe1204 (diff) | |
| download | meta-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.inc | 23 |
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 @@ | |||
| 1 | DESCRIPTION = "Import exceptions from potentially bundled packages in requests." | ||
| 2 | HOMEPAGE = "https://www.openstack.org/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "f43b246ccd7d5b618e6f0dc946a6c3f3" | ||
| 8 | SRC_URI[sha256sum] = "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | |||
| 12 | # conflicting file prevention | ||
| 13 | do_install_append() { | ||
| 14 | rm -f ${D}${libdir}/python*/site-packages/tests/* | ||
| 15 | } | ||
| 16 | |||
| 17 | DEPENDS += " \ | ||
| 18 | ${PYTHON_PN}-pbr-native \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS_${PN} += " \ | ||
| 22 | ${PYTHON_PN}-pbr \ | ||
| 23 | " | ||
