Skip to contentSkip to conversation

python-monotonic: new recipe, version 0.4

PATCH Superseded Andreas Oberritter 2 participants 4 messages Dec 7, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Tested on fido.

 meta-python/recipes-devtools/python/python-monotonic_0.4.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-monotonic_0.4.bb
meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +8 -0
new file mode 100644
index 0000000..3583a7e
@@ -0,0 +1,8 @@
+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
Signature · 1 line
1.9.1
#1 lore raw

This recipe has unmet dependencies:
import crypts
import ctypes.util
import os
import platform
import re
import sys
import time
--Tim

Quoted 36 lines · Andreas Oberritter

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.

---
Tested on fido.

meta-python/recipes-devtools/python/python-monotonic_0.4.bb | 8 ++++++++

1 file changed, 8 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python-monotonic_0.4.bb

meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +8 -0
new file mode 100644
index 0000000..3583a7e
@@ -0,0 +1,8 @@
+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
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#2 lore raw
Quoted 1 line · Tim Orling

This recipe has unmet dependencies:

Sorry, I mistakenly assumed all of them were part of python-core.

Quoted 1 line

import crypts

It's "ctypes".

Quoted 6 lines

import ctypes.util
import os
import platform
import re
import sys
import time

I'll send v2 adding python-ctypes and python-re as runtime dependencies.

Regards,
Andreas

Quoted 38 lines

--Tim

Quoted 36 lines · Andreas Oberritter

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.

---
Tested on fido.

meta-python/recipes-devtools/python/python-monotonic_0.4.bb | 8 ++++++++

1 file changed, 8 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python-monotonic_0.4.bb

meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +8 -0
new file mode 100644
index 0000000..3583a7e
@@ -0,0 +1,8 @@
+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
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#3 lore raw
Quoted 9 lines · Andreas Oberritter
Quoted 1 line · Tim Orling

This recipe has unmet dependencies:

Sorry, I mistakenly assumed all of them were part of python-core.

Quoted 1 line

import crypts

It's "ctypes".

Stupid tablet auto-correct ;)

Quoted 68 lines
Quoted 7 lines

import ctypes.util
import os
import platform
import re
import sys
import time

I'll send v2 adding python-ctypes and python-re as runtime dependencies.

Thank you!

Regards,
Andreas

Quoted 3 lines

--Tim

Quoted 1 line

On Dec 6, 2015, at 4:59 PM, Andreas Oberritter <[email protected]>

Quoted 10 lines · wrote:
Quoted 10 lines

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.

---
Tested on fido.

meta-python/recipes-devtools/python/python-monotonic_0.4.bb | 8

++++++++

Quoted 2 lines
Quoted 2 lines
1 file changed, 8 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/

python-monotonic_0.4.bb

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

python-monotonic_0.4.bb b/meta-python/recipes-devtools/python/ python-monotonic_0.4.bb

Quoted 6 lines

meta-python/recipes-devtools/python/python-monotonic_0.4.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..3583a7e

meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +1 -0
@@ -0,0 +1,8 @@
+SUMMARY = "An implementation of time.monotonic() for Python 2.0

through 3.2"

Quoted 2 lines

meta-python/recipes-devtools/python/python-monotonic_0.4.bb line 3

Quoted 2 lines
meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +2 -0
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"

Quoted 3 lines

meta-python/recipes-devtools/python/python-monotonic_0.4.bb

Quoted 3 lines
meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +3 -0
+
+SRC_URI[md5sum] = "1919cc3aff2a1b907fe24c1f801343ef"
+SRC_URI[sha256sum] =

"852f656adbf623ee859def6ca2f5498f4cae3256f8320d5c50570ee8a0592ab6"

Quoted 10 lines
Quoted 10 lines
meta-python/recipes-devtools/python/python-monotonic_0.4.bb new file +2 -1
+
+inherit pypi
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel