python-monotonic: add new recipe to fulfil dependencies
PATCH 1/2 python-monotonic: add new recipe to fulfil dependencies
This package is required by uprevs of trove, nova, several oslo packages, to name a few. Adding this package so that it is available for these uprevs as we move to openstack liberty.
This python module provides access to the value, in fractions of a second, of a clock.
--- .../python/python-monotonic_git.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-monotonic_git.bb
meta-openstack/recipes-devtools/python/python-monotonic_git.bb new file +31 -0
@@ -0,0 +1,31 @@ +DESCRIPTION = "An implementation of time.monotonic()" +HOMEPAGE = "https://github.com/atdt/monotonic" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +PV = "0.4" +SRCREV = "93b3d3ba63597e57b20333db4e33ca0f48debf2a" + +SRCNAME = "monotonic" +SRC_URI = "git://github.com/atdt/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit distutils + +DEPENDS += " \ + python-pbr \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + " + +do_install_append() { + # Using these "longest" paths will ensure needed shorter paths will be created + install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info + + install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/ + install -m 644 ${S}/${SRCNAME}.egg-info/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info/ +}
Signature · 1 line
2.1.4
PATCH 2/2 python-oslo.service: add new recipe to fulfil dependencies
This python module is required for the uprev of nova, trove, neutron, heat... so we are making it available in order to support the pending uprev of these packages as we move to openstack liberty.
This python module provides a library for running openstack services.
--- .../python/python-oslo.service_git.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-oslo.service_git.bb
meta-openstack/recipes-devtools/python/python-oslo.service_git.bb new file +24 -0
@@ -0,0 +1,24 @@ +DESCRIPTION = "oslo.service library" +HOMEPAGE = "https://wiki.openstack.org/wiki/Oslo" +SECTION = "devel/python" +LICENSE = "Apache-2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +PV = "0.11.0" +SRCREV = "3336127916edcd1d94f9bb2df978facb434efa5e" + +SRCNAME = "oslo.service" +SRC_URI = "git://github.com/openstack/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit setuptools + +DEPENDS += " \ + python-pip \ + python-pbr \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + "
Signature · 1 line
2.1.4
Bruce Ashfield
AppliedQuoted 6 lines · Mark Asselstine
This package is required by uprevs of trove, nova, several oslo packages, to name a few. Adding this package so that it is available for these uprevs as we move to openstack liberty.
This python module provides access to the value, in fractions of a second, of a clock.
merged to master.
Bruce
Quoted 45 lines
Signed-off-by Mark Asselstine <[email protected]>--- .../python/python-monotonic_git.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+)create mode 100644 meta-openstack/recipes-devtools/python/python-monotonic_git.bb
meta-openstack/recipes-devtools/python/python-monotonic_git.bb new file +31
-0@@ -0,0 +1,31 @@ +DESCRIPTION = "An implementation of time.monotonic()" +HOMEPAGE = "https://github.com/atdt/monotonic" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +PV = "0.4" +SRCREV = "93b3d3ba63597e57b20333db4e33ca0f48debf2a" + +SRCNAME = "monotonic" +SRC_URI = "git://github.com/atdt/${SRCNAME}.git" + +S = "${WORKDIR}/git" + +inherit distutils + +DEPENDS += " \ + python-pbr \ + " + +RDEPENDS_${PN} += " \ + python-pbr \ + " + +do_install_append() { + # Using these "longest" paths will ensure needed shorter paths will be created + install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info + + install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/ + install -m 644 ${S}/${SRCNAME}.egg-info/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info/ +}