diff options
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-requestsexceptions.inc | 23 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python3-requestsexceptions_1.4.0.bb | 25 |
2 files changed, 23 insertions, 25 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc b/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc deleted file mode 100644 index bac99a3..0000000 --- a/meta-openstack/recipes-devtools/python/python-requestsexceptions.inc +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
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 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-requestsexceptions_1.4.0.bb b/meta-openstack/recipes-devtools/python/python3-requestsexceptions_1.4.0.bb index 1c049f3..4bf9c0e 100644 --- a/meta-openstack/recipes-devtools/python/python3-requestsexceptions_1.4.0.bb +++ b/meta-openstack/recipes-devtools/python/python3-requestsexceptions_1.4.0.bb | |||
@@ -1,2 +1,23 @@ | |||
1 | inherit setuptools3 | 1 | DESCRIPTION = "Import exceptions from potentially bundled packages in requests." |
2 | require python-requestsexceptions.inc | 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 setuptools3 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 | " | ||