diff options
| author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2019-09-12 10:36:31 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-09-15 00:03:03 -0400 |
| commit | 41c040887bdf1cf07ec541d6d0a3b6941778690a (patch) | |
| tree | 65918502bf5bc45b79878b796b986a28a684c386 | |
| parent | 66b832d862301d352bf2dc6d0b3d2ef27c80fc00 (diff) | |
| download | meta-cloud-services-41c040887bdf1cf07ec541d6d0a3b6941778690a.tar.gz | |
python-cliff: Add python3 version
Providing a python3 version of python-cliff.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
3 files changed, 36 insertions, 28 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cliff.inc b/meta-openstack/recipes-devtools/python/python-cliff.inc new file mode 100644 index 0000000..cc66717 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-cliff.inc | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | DESCRIPTION = "Command Line Interface Formulation Framework" | ||
| 2 | HOMEPAGE = "https://github.com/dreamhost/cliff" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "89e96c6c8c5922832e124ed81c21a55b" | ||
| 8 | SRC_URI[sha256sum] = "622e777b8ac2eb479708fe53893c37b2fd5469ce2c6c5b794a658246f05c6b81" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | |||
| 12 | DEPENDS += "\ | ||
| 13 | ${PYTHON_PN}-pbr \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # Satisfy setup.py 'setup_requires' | ||
| 17 | DEPENDS += " \ | ||
| 18 | ${PYTHON_PN}-pbr-native \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS_${PN} += " \ | ||
| 22 | ${PYTHON_PN}-cmd2 \ | ||
| 23 | ${PYTHON_PN}-pbr \ | ||
| 24 | ${PYTHON_PN}-pyparsing \ | ||
| 25 | ${PYTHON_PN}-prettytable \ | ||
| 26 | ${PYTHON_PN}-six \ | ||
| 27 | ${PYTHON_PN}-stevedore \ | ||
| 28 | ${PYTHON_PN}-pyyaml \ | ||
| 29 | " | ||
| 30 | |||
| 31 | CLEANBROKEN = "1" | ||
diff --git a/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb b/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb index 0d49f8c..6fadd5b 100644 --- a/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb +++ b/meta-openstack/recipes-devtools/python/python-cliff_2.16.0.bb | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | DESCRIPTION = "Command Line Interface Formulation Framework" | 1 | inherit setuptools |
| 2 | HOMEPAGE = "https://github.com/dreamhost/cliff" | 2 | require python-cliff.inc |
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "89e96c6c8c5922832e124ed81c21a55b" | ||
| 8 | SRC_URI[sha256sum] = "622e777b8ac2eb479708fe53893c37b2fd5469ce2c6c5b794a658246f05c6b81" | ||
| 9 | |||
| 10 | inherit setuptools pypi | ||
| 11 | |||
| 12 | DEPENDS += "\ | ||
| 13 | python-pbr \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # Satisfy setup.py 'setup_requires' | ||
| 17 | DEPENDS += " \ | ||
| 18 | python-pbr-native \ | ||
| 19 | " | ||
| 20 | 3 | ||
| 4 | # RDEPENDS only fot python2 | ||
| 21 | RDEPENDS_${PN} += " \ | 5 | RDEPENDS_${PN} += " \ |
| 22 | python-cmd2 \ | ||
| 23 | python-pbr \ | ||
| 24 | python-pyparsing \ | ||
| 25 | python-prettytable \ | ||
| 26 | python-six \ | ||
| 27 | python-stevedore \ | ||
| 28 | python-unicodecsv \ | 6 | python-unicodecsv \ |
| 29 | python-pyyaml \ | ||
| 30 | " | 7 | " |
| 31 | |||
| 32 | CLEANBROKEN = "1" | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb b/meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb new file mode 100644 index 0000000..07923ca --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-cliff_2.16.0.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-cliff.inc | ||
