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

Derek Straka derek at asterius.io
Fri Nov 4 13:45:50 UTC 2016


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

> A python module for tracking server state and statisticst
>
> Signed-off-by: Ruben De Smet <ruben.de.smet at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list