diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-requestsexceptions_1.3.0.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-requestsexceptions_1.3.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-requestsexceptions_1.3.0.bb b/meta-openstack/recipes-devtools/python/python-requestsexceptions_1.3.0.bb new file mode 100644 index 0000000..33a5fc6 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-requestsexceptions_1.3.0.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 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 | SRCNAME = "requestsexceptions" | ||
| 8 | SRC_URI = "http://pypi.io/packages/source/r/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" | ||
| 9 | |||
| 10 | SRC_URI[md5sum] = "85c9a2c5c5ecbd2deb0a491613fbdd12" | ||
| 11 | SRC_URI[sha256sum] = "8f141ba636d6748cd29208c1955bde38bf00fcdda1a685bc09d8ed133700353e" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 14 | |||
| 15 | inherit setuptools | ||
| 16 | |||
| 17 | # conflicting file prevention | ||
| 18 | do_install_append() { | ||
| 19 | rm -f ${D}${libdir}/python*/site-packages/tests/* | ||
| 20 | } | ||
| 21 | |||
| 22 | DEPENDS += " \ | ||
| 23 | python-pbr-native \ | ||
| 24 | " | ||
| 25 | |||
| 26 | RDEPENDS_${PN} += " \ | ||
| 27 | python-pbr \ | ||
| 28 | " | ||
