diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2015-12-07 11:04:32 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-12-18 12:36:55 +0100 |
commit | 09782f3a8a4cfe68d686f16b33c328931c8d7976 (patch) | |
tree | a09de90672b38a2888a97bc7cbc02f7e604f4406 | |
parent | e22f33ed089673750425d938afceb8bf85f59c62 (diff) | |
download | meta-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>
-rw-r--r-- | meta-python/recipes-devtools/python/python-monotonic_0.4.bb | 10 |
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 @@ | |||
1 | SUMMARY = "An implementation of time.monotonic() for Python 2.0 through 3.2" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" | ||
4 | |||
5 | SRC_URI[md5sum] = "1919cc3aff2a1b907fe24c1f801343ef" | ||
6 | SRC_URI[sha256sum] = "852f656adbf623ee859def6ca2f5498f4cae3256f8320d5c50570ee8a0592ab6" | ||
7 | |||
8 | inherit pypi | ||
9 | |||
10 | RDEPENDS_${PN} += "${PYTHON_PN}-ctypes ${PYTHON_PN}-re" | ||