diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
3 files changed, 32 insertions, 30 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-os-client-config.inc b/meta-openstack/recipes-devtools/python/python-os-client-config.inc new file mode 100644 index 0000000..d549ea6 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-os-client-config.inc | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "OpenStack Client Configuation Library" | ||
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/os-client-config" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
| 6 | |||
| 7 | PV = "1.28.0" | ||
| 8 | SRCREV = "261c05f0057d556a8910457f1e22ca4d81801081" | ||
| 9 | |||
| 10 | SRCNAME = "os-client-config" | ||
| 11 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | DEPENDS += " \ | ||
| 16 | ${PYTHON_PN}-pbr \ | ||
| 17 | " | ||
| 18 | # Satisfy setup.py 'setup_requires' | ||
| 19 | DEPENDS += " \ | ||
| 20 | ${PYTHON_PN}-pbr-native \ | ||
| 21 | " | ||
| 22 | |||
| 23 | RDEPENDS_${PN} += " \ | ||
| 24 | ${PYTHON_PN}-pbr \ | ||
| 25 | ${PYTHON_PN}-pyyaml \ | ||
| 26 | ${PYTHON_PN}-appdirs \ | ||
| 27 | ${PYTHON_PN}-keystoneauth1 \ | ||
| 28 | ${PYTHON_PN}-requestsexceptions \ | ||
| 29 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb b/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb index a48f2c4..3f42bdc 100644 --- a/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb +++ b/meta-openstack/recipes-devtools/python/python-os-client-config_git.bb | |||
| @@ -1,31 +1,2 @@ | |||
| 1 | DESCRIPTION = "OpenStack Client Configuation Library" | ||
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/os-client-config" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" | ||
| 6 | |||
| 7 | PV = "1.28.0" | ||
| 8 | SRCREV = "261c05f0057d556a8910457f1e22ca4d81801081" | ||
| 9 | |||
| 10 | SRCNAME = "os-client-config" | ||
| 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-os-client-config.inc | |
| 17 | DEPENDS += " \ | ||
| 18 | python-pbr \ | ||
| 19 | " | ||
| 20 | # Satisfy setup.py 'setup_requires' | ||
| 21 | DEPENDS += " \ | ||
| 22 | python-pbr-native \ | ||
| 23 | " | ||
| 24 | |||
| 25 | RDEPENDS_${PN} += " \ | ||
| 26 | python-pbr \ | ||
| 27 | python-pyyaml \ | ||
| 28 | python-appdirs \ | ||
| 29 | python-keystoneauth1 \ | ||
| 30 | python-requestsexceptions \ | ||
| 31 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-os-client-config_git.bb b/meta-openstack/recipes-devtools/python/python3-os-client-config_git.bb new file mode 100644 index 0000000..207d559 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-os-client-config_git.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-os-client-config.inc | ||
