All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python-monotonic: new recipe, version 0.4
@ 2015-12-07  0:59 Andreas Oberritter
  2015-12-07  2:13 ` Tim Orling
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Oberritter @ 2015-12-07  0:59 UTC (permalink / raw)
  To: openembedded-devel

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>
---
 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

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 0000000..3583a7e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb
@@ -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
-- 
1.9.1



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

* Re: [meta-python][PATCH] python-monotonic: new recipe, version 0.4
  2015-12-07  0:59 [meta-python][PATCH] python-monotonic: new recipe, version 0.4 Andreas Oberritter
@ 2015-12-07  2:13 ` Tim Orling
  2015-12-07 10:03   ` Andreas Oberritter
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Orling @ 2015-12-07  2:13 UTC (permalink / raw)
  To: openembedded-devel

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

> On Dec 6, 2015, at 4:59 PM, Andreas Oberritter <obi@opendreambox.org> wrote:
> 
> 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>
> ---
> 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
> 
> 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 0000000..3583a7e
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb
> @@ -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
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-python][PATCH] python-monotonic: new recipe, version 0.4
  2015-12-07  2:13 ` Tim Orling
@ 2015-12-07 10:03   ` Andreas Oberritter
  2015-12-07 17:57     ` Tim Orling
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Oberritter @ 2015-12-07 10:03 UTC (permalink / raw)
  To: openembedded-devel

On 07.12.2015 03:13, Tim Orling wrote:
> This recipe has unmet dependencies:

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

> import crypts

It's "ctypes".

> 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

> --Tim
> 
>> On Dec 6, 2015, at 4:59 PM, Andreas Oberritter <obi@opendreambox.org> wrote:
>>
>> 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>
>> ---
>> 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
>>
>> 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 0000000..3583a7e
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb
>> @@ -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
>> -- 
>> 1.9.1
>>
>> -- 
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



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

* Re: [meta-python][PATCH] python-monotonic: new recipe, version 0.4
  2015-12-07 10:03   ` Andreas Oberritter
@ 2015-12-07 17:57     ` Tim Orling
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Orling @ 2015-12-07 17:57 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Dec 7, 2015 at 2:03 AM, Andreas Oberritter <obi@opendreambox.org>
wrote:

> On 07.12.2015 03:13, Tim Orling wrote:
> > This recipe has unmet dependencies:
>
> Sorry, I mistakenly assumed all of them were part of python-core.
>
> > import crypts
>
> It's "ctypes".
>
Stupid tablet auto-correct ;)

>
> > 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
>
> > --Tim
> >
> >> On Dec 6, 2015, at 4:59 PM, Andreas Oberritter <obi@opendreambox.org>
> wrote:
> >>
> >> 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>
> >> ---
> >> 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
> >>
> >> 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 0000000..3583a7e
> >> --- /dev/null
> >> +++ b/meta-python/recipes-devtools/python/python-monotonic_0.4.bb
> >> @@ -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
> >> --
> >> 1.9.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2015-12-07 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07  0:59 [meta-python][PATCH] python-monotonic: new recipe, version 0.4 Andreas Oberritter
2015-12-07  2:13 ` Tim Orling
2015-12-07 10:03   ` Andreas Oberritter
2015-12-07 17:57     ` Tim Orling

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.