diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2019-12-05 09:43:34 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-12-06 14:10:45 -0500 |
| commit | 8c9c30a894d23c50da2b588216ccee794518ce2f (patch) | |
| tree | 198a6cc7217e0df7b28c4366ee655f6421921891 /meta-openstack/recipes-devtools/python | |
| parent | 6b73cbe165359eca0739949de51c79ae8c75bb58 (diff) | |
| download | meta-cloud-services-8c9c30a894d23c50da2b588216ccee794518ce2f.tar.gz | |
python-saharaclient: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
3 files changed, 31 insertions, 29 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-saharaclient.inc b/meta-openstack/recipes-devtools/python/python-saharaclient.inc new file mode 100644 index 0000000..91549ae --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-saharaclient.inc | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | DESCRIPTION = "CLI and python client library for OpenStack Sahara" | ||
| 2 | HOMEPAGE = "https://launchpad.net/sahara" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | ||
| 6 | |||
| 7 | DEPENDS += " \ | ||
| 8 | ${PYTHON_PN}-pip \ | ||
| 9 | ${PYTHON_PN}-pbr \ | ||
| 10 | " | ||
| 11 | |||
| 12 | # Satisfy setup.py 'setup_requires' | ||
| 13 | DEPENDS += " \ | ||
| 14 | ${PYTHON_PN}-pbr-native \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS_${PN} += " \ | ||
| 18 | ${PYTHON_PN}-pbr \ | ||
| 19 | " | ||
| 20 | |||
| 21 | SRCNAME = "saharaclient" | ||
| 22 | |||
| 23 | SRC_URI = "git://github.com/openstack/python-saharaclient.git;branch=master" | ||
| 24 | |||
| 25 | PV = "2.3.0+git${SRCPV}" | ||
| 26 | SRCREV = "3107b452467537f4eef3d9ecfb5e35d110d19662" | ||
| 27 | S = "${WORKDIR}/git" | ||
| 28 | |||
diff --git a/meta-openstack/recipes-devtools/python/python-saharaclient_git.bb b/meta-openstack/recipes-devtools/python/python-saharaclient_git.bb index 0d571c9..4b9587f 100644 --- a/meta-openstack/recipes-devtools/python/python-saharaclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-saharaclient_git.bb | |||
| @@ -1,30 +1,2 @@ | |||
| 1 | DESCRIPTION = "CLI and python client library for OpenStack Sahara" | 1 | require python-saharaclient.inc |
| 2 | HOMEPAGE = "https://launchpad.net/sahara" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | ||
| 6 | |||
| 7 | DEPENDS += " \ | ||
| 8 | python-pip \ | ||
| 9 | python-pbr \ | ||
| 10 | " | ||
| 11 | |||
| 12 | # Satisfy setup.py 'setup_requires' | ||
| 13 | DEPENDS += " \ | ||
| 14 | python-pbr-native \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS_${PN} += " \ | ||
| 18 | python-pbr \ | ||
| 19 | " | ||
| 20 | |||
| 21 | SRCNAME = "saharaclient" | ||
| 22 | |||
| 23 | SRC_URI = "git://github.com/openstack/python-saharaclient.git;branch=master" | ||
| 24 | |||
| 25 | PV = "2.3.0+git${SRCPV}" | ||
| 26 | SRCREV = "3107b452467537f4eef3d9ecfb5e35d110d19662" | ||
| 27 | S = "${WORKDIR}/git" | ||
| 28 | |||
| 29 | inherit setuptools | 2 | inherit setuptools |
| 30 | |||
diff --git a/meta-openstack/recipes-devtools/python/python3-saharaclient_git.bb b/meta-openstack/recipes-devtools/python/python3-saharaclient_git.bb new file mode 100644 index 0000000..806cd76 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-saharaclient_git.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | require python-saharaclient.inc | ||
| 2 | inherit setuptools3 | ||
