diff options
| author | Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> | 2019-08-19 13:45:54 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-08-25 22:15:07 -0400 |
| commit | 048925310978c1a7414488d7b0566eda6c7dae8b (patch) | |
| tree | de7a277d9b44b520d25bcb46d881b1c627decb95 /meta-openstack/recipes-devtools/python | |
| parent | 5e7fc629b9c5e1cb79e66d5da064837de8cad889 (diff) | |
| download | meta-cloud-services-048925310978c1a7414488d7b0566eda6c7dae8b.tar.gz | |
python-oslo.i18n: Add python3 version
Providing a python3 version of python-oslo.i18n.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
3 files changed, 35 insertions, 33 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-oslo.i18n.inc b/meta-openstack/recipes-devtools/python/python-oslo.i18n.inc new file mode 100644 index 0000000..3c0e74c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-oslo.i18n.inc | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | DESCRIPTION = "oslo.i18n library" | ||
| 2 | HOMEPAGE = "http://launchpad.net/oslo" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
| 6 | |||
| 7 | PV = "3.17.0+git${SRCPV}" | ||
| 8 | SRCREV = "f2729cd36f8694a6ec53a0e700599ddf4427440d" | ||
| 9 | |||
| 10 | SRCNAME = "oslo.i18n" | ||
| 11 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | # DEPENDS_default: python-pip | ||
| 16 | |||
| 17 | DEPENDS += " \ | ||
| 18 | ${PYTHON_PN}-pip \ | ||
| 19 | ${PYTHON_PN}-pbr \ | ||
| 20 | " | ||
| 21 | |||
| 22 | # Satisfy setup.py 'setup_requires' | ||
| 23 | DEPENDS += " \ | ||
| 24 | ${PYTHON_PN}-pbr-native \ | ||
| 25 | " | ||
| 26 | |||
| 27 | # RDEPENDS_default: | ||
| 28 | RDEPENDS_${PN} += " \ | ||
| 29 | ${PYTHON_PN}-babel \ | ||
| 30 | ${PYTHON_PN}-pbr \ | ||
| 31 | ${PYTHON_PN}-six \ | ||
| 32 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb b/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb index 9f7ddc5..b990e67 100644 --- a/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb +++ b/meta-openstack/recipes-devtools/python/python-oslo.i18n_git.bb | |||
| @@ -1,34 +1,2 @@ | |||
| 1 | DESCRIPTION = "oslo.i18n library" | ||
| 2 | HOMEPAGE = "http://launchpad.net/oslo" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
| 6 | |||
| 7 | PV = "3.17.0+git${SRCPV}" | ||
| 8 | SRCREV = "f2729cd36f8694a6ec53a0e700599ddf4427440d" | ||
| 9 | |||
| 10 | SRCNAME = "oslo.i18n" | ||
| 11 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | inherit setuptools | 1 | inherit setuptools |
| 16 | 2 | require python-oslo.i18n.inc | |
| 17 | # DEPENDS_default: python-pip | ||
| 18 | |||
| 19 | DEPENDS += " \ | ||
| 20 | python-pip \ | ||
| 21 | python-pbr \ | ||
| 22 | " | ||
| 23 | |||
| 24 | # Satisfy setup.py 'setup_requires' | ||
| 25 | DEPENDS += " \ | ||
| 26 | python-pbr-native \ | ||
| 27 | " | ||
| 28 | |||
| 29 | # RDEPENDS_default: | ||
| 30 | RDEPENDS_${PN} += " \ | ||
| 31 | python-babel \ | ||
| 32 | python-pbr \ | ||
| 33 | python-six \ | ||
| 34 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-oslo.i18n_git.bb b/meta-openstack/recipes-devtools/python/python3-oslo.i18n_git.bb new file mode 100644 index 0000000..5a06622 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-oslo.i18n_git.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-oslo.i18n.inc | ||
