From 4554541b7038f94b94a094560b21c43dead1d0ea Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 14:22:25 +0800 Subject: python-cephclient: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-cephclient.inc | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-cephclient.inc (limited to 'meta-openstack/recipes-devtools/python/python-cephclient.inc') diff --git a/meta-openstack/recipes-devtools/python/python-cephclient.inc b/meta-openstack/recipes-devtools/python/python-cephclient.inc new file mode 100644 index 0000000..e8e0d0a --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cephclient.inc @@ -0,0 +1,26 @@ +DESCRIPTION = "A client library in python for the Ceph REST API." +HOMEPAGE = "https://github.com/dmsimard/python-cephclient" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +PYPI_PACKAGE = "python-cephclient" +PYPI_SRC_URI = "https://pypi.python.org/packages/source/p/${PYPI_PACKAGE}/${PYPI_PACKAGE}-v${PV}.tar.gz" + +SRC_URI[md5sum] = "e3746607f1af1573a241b4995c10c938" +SRC_URI[sha256sum] = "9776b786da2aebdc0439ea2f809cc8923f52bc0cf610f77a9c1348466961134b" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-lxml \ + ${PYTHON_PN}-requests \ + ${PYTHON_PN}-cython \ + " -- cgit v1.2.3-54-g00ecf