Re: [oe] [meta-python][PATCH] python-scales: add recipe for version 1.0.9

2016-10-05 Thread Ruben De Smet
Excuse me, I didn't see that there was a reply here. I'll fix this
somewhere around tomorrow.

Thanks for the review,
Kind regards,

Ruben

On 10/03/2016 11:10 PM, Tim Orling wrote:
> On Mon, Oct 3, 2016 at 12:58 PM, Otavio Salvador <
> otavio.salva...@ossystems.com.br> wrote:
> 
>> On Thu, Sep 29, 2016 at 10:54 AM, Fabio Berton
>>  wrote:
>>> On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet >>
>>> wrote:
>>> +"
 +
 +DEPENDS_${PN} += "\
 +python3-setuptools \
 +"

>>>
>>>
>>> Is this not provided by setuptools3
>>> class?
>>
>> The DEPENDS being PN specific is pointless also Fabio raised a point
>> which seems ignored.
>>
>> Martin, please drop this from master-next until it is fixed.
>>
>>
> Agreed. Thank you for the review.
> 
> 
>> --
>> Otavio Salvador O.S. Systems
>> http://www.ossystems.com.brhttp://code.ossystems.com.br
>> Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>




signature.asc
Description: OpenPGP digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][PATCH] python-scales: add recipe for version 1.0.9

2016-10-03 Thread Tim Orling
On Mon, Oct 3, 2016 at 12:58 PM, Otavio Salvador <
otavio.salva...@ossystems.com.br> wrote:

> On Thu, Sep 29, 2016 at 10:54 AM, Fabio Berton
>  wrote:
> > On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet  >
> > wrote:
> > +"
> >> +
> >> +DEPENDS_${PN} += "\
> >> +python3-setuptools \
> >> +"
> >>
> >
> >
> > Is this not provided by setuptools3
> > class?
>
> The DEPENDS being PN specific is pointless also Fabio raised a point
> which seems ignored.
>
> Martin, please drop this from master-next until it is fixed.
>
>
Agreed. Thank you for the review.


> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
> --
> ___
> 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


Re: [oe] [meta-python][PATCH] python-scales: add recipe for version 1.0.9

2016-10-03 Thread Otavio Salvador
On Thu, Sep 29, 2016 at 10:54 AM, Fabio Berton
 wrote:
> On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet 
> wrote:
> +"
>> +
>> +DEPENDS_${PN} += "\
>> +python3-setuptools \
>> +"
>>
>
>
> Is this not provided by setuptools3
> class?

The DEPENDS being PN specific is pointless also Fabio raised a point
which seems ignored.

Martin, please drop this from master-next until it is fixed.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][PATCH] python-scales: add recipe for version 1.0.9

2016-09-29 Thread Fabio Berton
On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet 
wrote:

> A python module for tracking server state and statisticst
>
> Signed-off-by: Ruben De Smet 
> ---
>  meta-python/recipes-devtools/python/python-scales.inc   | 13
> +
>  meta-python/recipes-devtools/python/python3-scales_1.0.9.bb | 11
> +++
>  2 files changed, 24 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-scales.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-scales_1.0.9.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-scales.inc
> b/meta-python/recipes-devtools/python/python-scales.inc
> new file mode 100644
> index 000..5a46e2b
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-scales.inc
> @@ -0,0 +1,13 @@
> +SUMMARY = "Metrics for Python"
> +DESCRIPTION = "Tracks server state and statistics, allowing you to see
> what \
> +your server is doing. It can also send metrics to Graphite for graphing
> or to \
> +a file for crash forensics."
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +# LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd
> 57"
> +SRCNAME = "scales"
> +
> +SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
> +SRC_URI[sha256sum] = "8b6930f7d4bf115192290b44c757af
> 5e254e3fcfcb75ff9a51f5c96a404e2753"
> +
> +inherit pypi
> diff --git a/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> new file mode 100644
> index 000..ecf6c67
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> @@ -0,0 +1,11 @@
> +inherit setuptools3
> +require python-scales.inc
> +
> +RDEPENDS_${PN} += "\
> +python3-six \
>

​You can move this to inc file and use

RDEPENDS_${PN} += " \
${PYTHON_PN}-six \

so, will work with both python 2 and 3.

+"
> +
> +DEPENDS_${PN} += "\
> +python3-setuptools \
> +"
>


​Is this not provided by setuptools3
​ class?​

+
> --
> 2.10.0
>
> --
> ___
> 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


[oe] [meta-python][PATCH] python-scales: add recipe for version 1.0.9

2016-09-29 Thread Ruben De Smet
A python module for tracking server state and statisticst

Signed-off-by: Ruben De Smet 
---
 meta-python/recipes-devtools/python/python-scales.inc   | 13 +
 meta-python/recipes-devtools/python/python3-scales_1.0.9.bb | 11 +++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-scales.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-scales_1.0.9.bb

diff --git a/meta-python/recipes-devtools/python/python-scales.inc 
b/meta-python/recipes-devtools/python/python-scales.inc
new file mode 100644
index 000..5a46e2b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-scales.inc
@@ -0,0 +1,13 @@
+SUMMARY = "Metrics for Python"
+DESCRIPTION = "Tracks server state and statistics, allowing you to see what \
+your server is doing. It can also send metrics to Graphite for graphing or to \
+a file for crash forensics."
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+# LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+SRCNAME = "scales"
+
+SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
+SRC_URI[sha256sum] = 
"8b6930f7d4bf115192290b44c757af5e254e3fcfcb75ff9a51f5c96a404e2753"
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb 
b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
new file mode 100644
index 000..ecf6c67
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
@@ -0,0 +1,11 @@
+inherit setuptools3
+require python-scales.inc
+
+RDEPENDS_${PN} += "\
+python3-six \
+"
+
+DEPENDS_${PN} += "\
+python3-setuptools \
+"
+
-- 
2.10.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel