Skip to contentSkip to conversation

python-scales: add recipe for version 1.0.9

PATCH In review Ruben De Smet 3 participants 4 messages Nov 4, 2016 – Nov 18, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-scales: add recipe for version 1.0.9

A python module for tracking server state and statisticst

---
 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
meta-python/recipes-devtools/python/python-scales.inc new file +17 -0
new file mode 100644
index 0000000..4a10a78
@@ -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 \
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +2 -0
new file mode 100644
index 0000000..91b48c2
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-scales.inc
Signature · 1 line
2.10.2
#1 lore raw
Quoted 28 lines · Ruben De Smet

A python module for tracking server state and statisticst

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

meta-python/recipes-devtools/python/python-scales.inc new file +2 -0
new file mode 100644
index 0000000..4a10a78
@@ -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 \

meta-python/recipes-devtools/python/python-scales.inc new file +4 -0
+a file for crash forensics."
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+# LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd
Quoted 2 lines

57"

Is there a reason this is commented out? You'll need something or it will give a QA Issue about license-checksum

meta-python/recipes-devtools/python/python-scales.inc line 17

Quoted 12 lines
meta-python/recipes-devtools/python/python-scales.inc new file +4 -0
+SRCNAME = "scales"
+
+SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
+SRC_URI[sha256sum] = "8b6930f7d4bf115192290b44c757af

5e254e3fcfcb75ff9a51f5c96a404e2753"

meta-python/recipes-devtools/python/python-scales.inc new file +6 -0
+
+inherit pypi
+
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-six \

Missing a closing quote here

Quoted 18 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +2 -1
new file mode 100644
index 0000000..91b48c2
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-scales.inc
--

2.10.2

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

#2 lore raw
Quoted 27 lines · Derek Straka
Quoted 24 lines · Ruben De Smet

A python module for tracking server state and statisticst

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

meta-python/recipes-devtools/python/python-scales.inc new file +2 -0
new file mode 100644
index 0000000..4a10a78
@@ -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 \

Quoted 8 lines
Quoted 6 lines
meta-python/recipes-devtools/python/python-scales.inc new file +4 -0
+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

Quoted 38 lines

meta-python/recipes-devtools/python/python-scales.inc line 17

Quoted 13 lines
meta-python/recipes-devtools/python/python-scales.inc new file +4 -0
+SRCNAME = "scales"
+
+SRC_URI[md5sum] = "c61167f2b5f506f0a34a7b8a295a9567"
+SRC_URI[sha256sum] = "8b6930f7d4bf115192290b44c757af

5e254e3fcfcb75ff9a51f5c96a404e2753"

meta-python/recipes-devtools/python/python-scales.inc new file +6 -0
+
+inherit pypi
+
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-six \

Missing a closing quote here

Quoted 18 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +2 -1
new file mode 100644
index 0000000..91b48c2
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-scales.inc
--

2.10.2

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

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]

A message that is not in the archive (sent off-list or not yet received): CADNbA1qAHFx9PTPAhue2xC0Z2nQ-tQC4Vz11QqHmH5ufnp3Vug@mail.gmail.com

#4 lore raw
Quoted 4 lines · Derek Straka

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.