diff options
Diffstat (limited to 'meta-openstack')
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 | ||
