diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-07-17 03:42:02 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-07-20 14:50:11 -0400 |
commit | ffb5a12986def8cbb47983686046ac776afb3015 (patch) | |
tree | 3a87991c3143e249a4cb7a67d4ae77985e9bad40 /meta-openstack | |
parent | dd2bc3c72e65bee24b544d472098e6fc29890715 (diff) | |
download | meta-cloud-services-ffb5a12986def8cbb47983686046ac776afb3015.tar.gz |
python3-cephclient: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-cephclient.inc | 26 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python3-cephclient_0.1.0.5.bb | 28 |
2 files changed, 26 insertions, 28 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cephclient.inc b/meta-openstack/recipes-devtools/python/python-cephclient.inc deleted file mode 100644 index e8e0d0a..0000000 --- a/meta-openstack/recipes-devtools/python/python-cephclient.inc +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | DESCRIPTION = "A client library in python for the Ceph REST API." | ||
2 | HOMEPAGE = "https://github.com/dmsimard/python-cephclient" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | ||
6 | |||
7 | PYPI_PACKAGE = "python-cephclient" | ||
8 | PYPI_SRC_URI = "https://pypi.python.org/packages/source/p/${PYPI_PACKAGE}/${PYPI_PACKAGE}-v${PV}.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "e3746607f1af1573a241b4995c10c938" | ||
11 | SRC_URI[sha256sum] = "9776b786da2aebdc0439ea2f809cc8923f52bc0cf610f77a9c1348466961134b" | ||
12 | |||
13 | inherit pypi | ||
14 | |||
15 | # DEPENDS_default: python-pip | ||
16 | |||
17 | DEPENDS += " \ | ||
18 | ${PYTHON_PN}-pip \ | ||
19 | " | ||
20 | |||
21 | # RDEPENDS_default: | ||
22 | RDEPENDS_${PN} += " \ | ||
23 | ${PYTHON_PN}-lxml \ | ||
24 | ${PYTHON_PN}-requests \ | ||
25 | ${PYTHON_PN}-cython \ | ||
26 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-cephclient_0.1.0.5.bb b/meta-openstack/recipes-devtools/python/python3-cephclient_0.1.0.5.bb index e05c1d5..65e84bf 100644 --- a/meta-openstack/recipes-devtools/python/python3-cephclient_0.1.0.5.bb +++ b/meta-openstack/recipes-devtools/python/python3-cephclient_0.1.0.5.bb | |||
@@ -1,2 +1,26 @@ | |||
1 | require python-cephclient.inc | 1 | DESCRIPTION = "A client library in python for the Ceph REST API." |
2 | inherit setuptools3 | 2 | HOMEPAGE = "https://github.com/dmsimard/python-cephclient" |
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | ||
6 | |||
7 | PYPI_PACKAGE = "python-cephclient" | ||
8 | PYPI_SRC_URI = "https://pypi.python.org/packages/source/p/${PYPI_PACKAGE}/${PYPI_PACKAGE}-v${PV}.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "e3746607f1af1573a241b4995c10c938" | ||
11 | SRC_URI[sha256sum] = "9776b786da2aebdc0439ea2f809cc8923f52bc0cf610f77a9c1348466961134b" | ||
12 | |||
13 | inherit setuptools3 pypi | ||
14 | |||
15 | # DEPENDS_default: python-pip | ||
16 | |||
17 | DEPENDS += " \ | ||
18 | ${PYTHON_PN}-pip \ | ||
19 | " | ||
20 | |||
21 | # RDEPENDS_default: | ||
22 | RDEPENDS_${PN} += " \ | ||
23 | ${PYTHON_PN}-lxml \ | ||
24 | ${PYTHON_PN}-requests \ | ||
25 | ${PYTHON_PN}-cython \ | ||
26 | " | ||