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