All of lore.kernel.org
 help / color / mirror / Atom feed
* [m-c-s][PATCH 1/2] python-monotonic: add new recipe to fulfil dependencies
@ 2016-01-09 19:27 Mark Asselstine
  2016-01-09 19:27 ` [m-c-s][PATCH 2/2] python-oslo.service: " Mark Asselstine
  2016-01-11 14:33 ` [m-c-s][PATCH 1/2] python-monotonic: " Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Asselstine @ 2016-01-09 19:27 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

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.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
---
 .../python/python-monotonic_git.bb                 | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-monotonic_git.bb

diff --git a/meta-openstack/recipes-devtools/python/python-monotonic_git.bb b/meta-openstack/recipes-devtools/python/python-monotonic_git.bb
new file mode 100644
index 0000000..2552409
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-monotonic_git.bb
@@ -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/
+}
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-11 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-09 19:27 [m-c-s][PATCH 1/2] python-monotonic: add new recipe to fulfil dependencies Mark Asselstine
2016-01-09 19:27 ` [m-c-s][PATCH 2/2] python-oslo.service: " Mark Asselstine
2016-01-11 14:33 ` [m-c-s][PATCH 1/2] python-monotonic: " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.