python-positional: add new recipe to support python-oslo.context
PATCH 1/4 python-positional: add new recipe to support python-oslo.context
Required to support the uprev to python-oslo.context to stable/newton.
Signed-off-by Mark Asselstine <[email protected]>
--- .../python/python-positional_git.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-positional_git.bb
meta-openstack/recipes-devtools/python/python-positional_git.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "Library to enforce positional or key-word arguments" +HOMEPAGE = "https://github.com/morganfainberg/positional" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376" + +SRCNAME = "positional" +SRC_URI = "git://github.com/morganfainberg/positional \ +" + +PV = "1.1.1+git${SRCPV}" +SRCREV = "1f5e9fc0f50e9e774fc4db27f97f9acae5f0c29f" + +S = "${WORKDIR}/git" + +inherit setuptools + +CLEANBROKEN = "1" + +RDEPENDS_${PN} += " \ + python-wrapt \ +"
Signature · 1 line
2.7.4
PATCH 2/4 python-oslo.context: uprev to latest stable/newton
Requires the introduction of python-positional.
Signed-off-by Mark Asselstine <[email protected]>
--- .../recipes-devtools/python/python-oslo.context_git.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
meta-openstack/recipes-devtools/python/python-oslo.context_git.bb +4 -5
@@ -5,17 +5,16 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" SRCNAME = "oslo.context" -SRC_URI = "git://github.com/openstack/${SRCNAME}.git" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/newton" -PV = "0.8.0+git${SRCPV}" -SRCREV = "5e677dc2322618dc9b4ac7683b24f91e4e7f5ce2" +PV = "2.9.0+git${SRCPV}" +SRCREV = "b8fe4065ab5ee365526ced5aff12eaa0b8409cb7" S = "${WORKDIR}/git" inherit setuptools DEPENDS += " \ python-pip \ - python-babel \ python-pbr \ "
@@ -28,5 +27,5 @@ DEPENDS += " \ RDEPENDS_${PN} += " \ bash \ python-pbr \ - python-babel \ + python-positional \ "
Signature · 1 line
2.7.4
PATCH 3/4 python-oslo.utils: uprev to latest stable/newton
In reply to Mark AsselstineSome minor updates to the RDEPENDS based on the contents of required.txt but no required dependency package uprevs required.
Signed-off-by Mark Asselstine <[email protected]>
--- meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
meta-openstack/recipes-devtools/python/python-oslo.utils_git.bb +5 -4
@@ -5,10 +5,10 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" SRCNAME = "oslo.utils" -SRC_URI = "git://github.com/openstack/${SRCNAME}.git" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/newton" -PV = "2.7.0+git${SRCPV}" -SRCREV = "6aa24675e890e0bb61967a3e4c5e6aa8cf3dedcf" +PV = "3.16.0+git${SRCPV}" +SRCREV = "0aae41e0c1d3d965181b22b6fd25fb1bc0442a35" S = "${WORKDIR}/git" inherit setuptools
@@ -28,7 +28,6 @@ DEPENDS += " \ # RDEPENDS_default: RDEPENDS_${PN} += " \ python-pbr \ - python-babel \ python-six \ python-iso8601 \ python-oslo.i18n \
@@ -37,4 +36,6 @@ RDEPENDS_${PN} += " \ python-netaddr \ python-netifaces \ python-debtcollector \ + python-funcsigs \ + python-pyparsing \ "
Signature · 1 line
2.7.4
PATCH 4/4 python-oslo.db: uprev to latest stable/newton
In reply to Mark AsselstineRequired some dependencies to be uprev's such as python-oslo.context and python-oslo.utils as well as version pinning python-sqlalchemy.
Signed-off-by Mark Asselstine <[email protected]>
--- meta-openstack/conf/layer.conf | 1 + meta-openstack/recipes-devtools/python/python-oslo.db_git.bb | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-)
meta-openstack/conf/layer.conf +1 -0
@@ -17,5 +17,6 @@ PREFERRED_VERSION_python-pexpect = "3.3" PREFERRED_VERSION_python-futures = "3.0.3%" PREFERRED_VERSION_python-django = "1.8.6" PREFERRED_VERSION_python-netaddr = "0.7.19" +PREFERRED_VERSION_python-sqlalchemy = "1.0.16" LICENSE_PATH += "${LAYERDIR}/licenses"
meta-openstack/recipes-devtools/python/python-oslo.db_git.bb +4 -3
@@ -4,11 +4,11 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" -PV = "3.1.0+git${SRCPV}" -SRCREV = "3afd58f6ab0fc2acb1dd92f652cec48e87763cf6" +PV = "4.13.5+git${SRCPV}" +SRCREV = "086be4ac91b17942370980a35d67d48d2e42567a" SRCNAME = "oslo.db" -SRC_URI = "git://github.com/openstack/${SRCNAME}.git" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/newton" S = "${WORKDIR}/git"
@@ -33,4 +33,5 @@ RDEPENDS_${PN} += " \ python-sqlalchemy-migrate \ python-stevedore \ python-pbr \ + python-debtcollector \ "
Signature · 1 line
2.7.4
Quoted 1 line · Mark Asselstine
Required to support the uprev to python-oslo.context to stable/newton.
all 4 are merged.
Bruce
Quoted 37 lines
Signed-off-by Mark Asselstine <[email protected]>--- .../python/python-positional_git.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-positional_git.bbmeta-openstack/recipes-devtools/python/python-positional_git.bb new file +22
-0@@ -0,0 +1,22 @@ +DESCRIPTION = "Library to enforce positional or key-word arguments" +HOMEPAGE = "https://github.com/morganfainberg/positional" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5335066555b14d832335aa4660d6c376" + +SRCNAME = "positional" +SRC_URI = "git://github.com/morganfainberg/positional \ +" + +PV = "1.1.1+git${SRCPV}" +SRCREV = "1f5e9fc0f50e9e774fc4db27f97f9acae5f0c29f" + +S = "${WORKDIR}/git" + +inherit setuptools + +CLEANBROKEN = "1" + +RDEPENDS_${PN} += " \ + python-wrapt \ +"