From 09782f3a8a4cfe68d686f16b33c328931c8d7976 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 7 Dec 2015 11:04:32 +0100 Subject: python-monotonic: new recipe, version 0.4 On Python 3.3 or newer, monotonic will be an alias of time.monotonic from the standard library. On older versions, it will fall back to an equivalent implementation. Signed-off-by: Andreas Oberritter Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-monotonic_0.4.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-monotonic_0.4.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python-monotonic_0.4.bb b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file mode 100644 index 0000000000..c97ed480a9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb @@ -0,0 +1,10 @@ +SUMMARY = "An implementation of time.monotonic() for Python 2.0 through 3.2" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +SRC_URI[md5sum] = "1919cc3aff2a1b907fe24c1f801343ef" +SRC_URI[sha256sum] = "852f656adbf623ee859def6ca2f5498f4cae3256f8320d5c50570ee8a0592ab6" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-ctypes ${PYTHON_PN}-re" -- cgit v1.2.3-54-g00ecf