From 42810cb115791be03fba6a5f7e48b2e37e7396e5 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Tue, 27 Oct 2020 13:29:03 +0800 Subject: python3-requestsexceptions: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Zheng Ruoqin Signed-off-by: Bruce Ashfield --- .../python/python3-requestsexceptions_1.4.0.bb | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python3-requestsexceptions_1.4.0.bb') 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 @@ -inherit setuptools3 -require python-requestsexceptions.inc +DESCRIPTION = "Import exceptions from potentially bundled packages in requests." +HOMEPAGE = "https://www.openstack.org/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87" + +SRC_URI[md5sum] = "f43b246ccd7d5b618e6f0dc946a6c3f3" +SRC_URI[sha256sum] = "b095cbc77618f066d459a02b137b020c37da9f46d9b057704019c9f77dba3065" + +inherit setuptools3 pypi + +# conflicting file prevention +do_install_append() { + rm -f ${D}${libdir}/python*/site-packages/tests/* +} + +DEPENDS += " \ + ${PYTHON_PN}-pbr-native \ + " + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pbr \ + " -- cgit v1.2.3-54-g00ecf