Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-python][PATCH v2] python-scales: add recipe for version 1.0.9
@ 2016-11-04 10:14 Ruben De Smet
  2016-11-04 13:45 ` Derek Straka
       [not found] ` <CADNbA1qAHFx9PTPAhue2xC0Z2nQ-tQC4Vz11QqHmH5ufnp3Vug@mail.gmail.com>
  0 siblings, 2 replies; 4+ messages in thread
From: Ruben De Smet @ 2016-11-04 10:14 UTC (permalink / raw)
  To: openembedded-devel

A python module for tracking server state and statisticst

Signed-off-by: Ruben De Smet <ruben.de.smet@rubdos.be>
---
 meta-python/recipes-devtools/python/python-scales.inc   | 17 +++++++++++++++++
 .../recipes-devtools/python/python3-scales_1.0.9.bb     |  2 ++
 2 files changed, 19 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 0000000..4a10a78
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-scales.inc
@@ -0,0 +1,17 @@
+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
+
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-six \
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 0000000..91b48c2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-scales.inc
-- 
2.10.2



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

* Re: [meta-python][PATCH v2] python-scales: add recipe for version 1.0.9
  2016-11-04 10:14 [meta-python][PATCH v2] python-scales: add recipe for version 1.0.9 Ruben De Smet
@ 2016-11-04 13:45 ` Derek Straka
  2016-11-18 10:57   ` Martin Jansa
       [not found] ` <CADNbA1qAHFx9PTPAhue2xC0Z2nQ-tQC4Vz11QqHmH5ufnp3Vug@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Derek Straka @ 2016-11-04 13:45 UTC (permalink / raw)
  To: openembeded-devel

On Fri, Nov 4, 2016 at 6:14 AM, Ruben De Smet <ruben.de.smet@rubdos.be>
wrote:

> A python module for tracking server state and statisticst
>
> Signed-off-by: Ruben De Smet <ruben.de.smet@rubdos.be>
> ---
>  meta-python/recipes-devtools/python/python-scales.inc   | 17
> +++++++++++++++++
>  .../recipes-devtools/python/python3-scales_1.0.9.bb     |  2 ++
>  2 files changed, 19 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 0000000..4a10a78
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-scales.inc
> @@ -0,0 +1,17 @@
> +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"
>
Is there a reason this is commented out?  You'll need something or it will
give a QA Issue about license-checksum

> +SRCNAME = "scales"
> +
> +SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
> +SRC_URI[sha256sum] = "8b6930f7d4bf115192290b44c757af
> 5e254e3fcfcb75ff9a51f5c96a404e2753"
> +
> +inherit pypi
> +
> +
> +RDEPENDS_${PN} += " \
> +    ${PYTHON_PN}-six \
>
Missing a closing quote here

> 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 0000000..91b48c2
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-scales.inc
> --
> 2.10.2
>
> --
> _______________________________________________
> 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 v2] python-scales: add recipe for version 1.0.9
       [not found] ` <CADNbA1qAHFx9PTPAhue2xC0Z2nQ-tQC4Vz11QqHmH5ufnp3Vug@mail.gmail.com>
@ 2016-11-04 19:40   ` Ruben De Smet
  0 siblings, 0 replies; 4+ messages in thread
From: Ruben De Smet @ 2016-11-04 19:40 UTC (permalink / raw)
  To: Derek Straka, openembeded-devel


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

On 11/04/2016 02:24 PM, Derek Straka wrote:
> Is there a reason this is commented out?  You'll need something or it will
> give a QA Issue about license-checksum
> 
> Missing a closing quote here


I noticed there's a lot more wrong with this.

Apparently the project didn't even depend on this anymore, so I'll fix
this later.

License problem was that the PyPi package didn't include a license file.
As we don't need this package anytime soon now, I'll file an issue with
scales, and perhaps fix this in the future.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 503 bytes --]

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

* Re: [meta-python][PATCH v2] python-scales: add recipe for version 1.0.9
  2016-11-04 13:45 ` Derek Straka
@ 2016-11-18 10:57   ` Martin Jansa
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2016-11-18 10:57 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3087 bytes --]

On Fri, Nov 04, 2016 at 09:45:50AM -0400, Derek Straka wrote:
> On Fri, Nov 4, 2016 at 6:14 AM, Ruben De Smet <ruben.de.smet@rubdos.be>
> wrote:
> 
> > A python module for tracking server state and statisticst
> >
> > Signed-off-by: Ruben De Smet <ruben.de.smet@rubdos.be>
> > ---
> >  meta-python/recipes-devtools/python/python-scales.inc   | 17
> > +++++++++++++++++
> >  .../recipes-devtools/python/python3-scales_1.0.9.bb     |  2 ++
> >  2 files changed, 19 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 0000000..4a10a78
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python-scales.inc
> > @@ -0,0 +1,17 @@
> > +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"
> >
> Is there a reason this is commented out?  You'll need something or it will
> give a QA Issue about license-checksum

Yes it does and fails.

ERROR: python3-scales-1.0.9-r0 do_populate_lic: QA Issue: python3-scales: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum]
ERROR: python3-scales-1.0.9-r0 do_populate_lic: Fatal QA errors found, failing task.
ERROR: python3-scales-1.0.9-r0 do_populate_lic: Function failed: populate_lic_qa_checksum

> 
> > +SRCNAME = "scales"
> > +
> > +SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
> > +SRC_URI[sha256sum] = "8b6930f7d4bf115192290b44c757af
> > 5e254e3fcfcb75ff9a51f5c96a404e2753"
> > +
> > +inherit pypi
> > +
> > +
> > +RDEPENDS_${PN} += " \
> > +    ${PYTHON_PN}-six \
> >
> Missing a closing quote here
> 
> > 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 0000000..91b48c2
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python3-scales_1.0.9.bb
> > @@ -0,0 +1,2 @@
> > +inherit setuptools3
> > +require python-scales.inc
> > --
> > 2.10.2
> >
> > --
> > _______________________________________________
> > 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

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

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

end of thread, other threads:[~2016-11-18 10:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 10:14 [meta-python][PATCH v2] python-scales: add recipe for version 1.0.9 Ruben De Smet
2016-11-04 13:45 ` Derek Straka
2016-11-18 10:57   ` Martin Jansa
     [not found] ` <CADNbA1qAHFx9PTPAhue2xC0Z2nQ-tQC4Vz11QqHmH5ufnp3Vug@mail.gmail.com>
2016-11-04 19:40   ` Ruben De Smet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox