Skip to contentSkip to conversation

python-scales: add recipe for version 1.0.9

PATCH Superseded Ruben De Smet 4 participants 5 messages Sep 29, 2016 – Oct 5, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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       | 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
meta-python/recipes-devtools/python/python-scales.inc new file +13 -0
new file mode 100644
index 0000000..5a46e2b
@@ -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
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +11 -0
new file mode 100644
index 0000000..ecf6c67
@@ -0,0 +1,11 @@
+inherit setuptools3
+require python-scales.inc
+
+RDEPENDS_${PN} += "\
+    python3-six \
+"
+
+DEPENDS_${PN} += "\
+    python3-setuptools \
+"
+
Signature · 1 line
2.10.0
#1 lore raw
Quoted 45 lines · Ruben De Smet

A python module for tracking server state and statisticst

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

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

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"

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 +2 -0
+
+inherit pypi
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +0 -0
new file mode 100644
index 0000000..ecf6c67

meta-python/recipes-devtools/python/python3-scales_1.0.9.bb line 5

Quoted 5 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +5 -0
@@ -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.

+"

meta-python/recipes-devtools/python/python3-scales_1.0.9.bb line 10

Quoted 5 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +4 -0
+
+DEPENDS_${PN} += "\
+    python3-setuptools \
+"

​Is this not provided by setuptools3
​ class?​

+

Quoted 9 lines

--
2.10.0

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

#2 lore raw
Quoted 12 lines · Fabio Berton

On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet <[email protected]> wrote:
+"

meta-python/recipes-devtools/python/python3-scales_1.0.9.bb line 10

Quoted 5 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +4 -0
+
+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.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#3 lore raw
Quoted 16 lines · Otavio Salvador
Quoted 4 lines · Fabio Berton

On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet <[email protected]

wrote:
+"

Quoted 9 lines

meta-python/recipes-devtools/python/python3-scales_1.0.9.bb line 10

Quoted 5 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +4 -0
+
+DEPENDS_${PN} += "\
+    python3-setuptools \
+"

Is this not provided by setuptools3
class?

Quoted 6 lines

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.

Quoted 10 lines

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

#4 lore raw

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

Quoted 38 lines · Tim Orling
Quoted 16 lines · Otavio Salvador
Quoted 4 lines · Fabio Berton

On Thu, Sep 29, 2016 at 10:30 AM, Ruben De Smet <[email protected]

wrote:
+"

Quoted 9 lines

meta-python/recipes-devtools/python/python3-scales_1.0.9.bb line 10

Quoted 5 lines
meta-python/recipes-devtools/python/python3-scales_1.0.9.bb new file +4 -0
+
+DEPENDS_${PN} += "\
+    python3-setuptools \
+"

Is this not provided by setuptools3
class?

Quoted 6 lines

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.

Quoted 10 lines

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