summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2015-12-07 11:04:32 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-12-18 12:36:55 +0100
commit09782f3a8a4cfe68d686f16b33c328931c8d7976 (patch)
treea09de90672b38a2888a97bc7cbc02f7e604f4406 /meta-python
parente22f33ed089673750425d938afceb8bf85f59c62 (diff)
downloadmeta-openembedded-09782f3a8a4cfe68d686f16b33c328931c8d7976.tar.gz
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 <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-monotonic_0.4.bb10
1 files changed, 10 insertions, 0 deletions
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 000000000..c97ed480a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb
@@ -0,0 +1,10 @@
1SUMMARY = "An implementation of time.monotonic() for Python 2.0 through 3.2"
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
4
5SRC_URI[md5sum] = "1919cc3aff2a1b907fe24c1f801343ef"
6SRC_URI[sha256sum] = "852f656adbf623ee859def6ca2f5498f4cae3256f8320d5c50570ee8a0592ab6"
7
8inherit pypi
9
10RDEPENDS_${PN} += "${PYTHON_PN}-ctypes ${PYTHON_PN}-re"