From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../recipes-aws/python/python-gg-group-setup.inc | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 external/meta-iot-cloud/recipes-aws/python/python-gg-group-setup.inc (limited to 'external/meta-iot-cloud/recipes-aws/python/python-gg-group-setup.inc') diff --git a/external/meta-iot-cloud/recipes-aws/python/python-gg-group-setup.inc b/external/meta-iot-cloud/recipes-aws/python/python-gg-group-setup.inc new file mode 100644 index 00000000..03132d1b --- /dev/null +++ b/external/meta-iot-cloud/recipes-aws/python/python-gg-group-setup.inc @@ -0,0 +1,25 @@ +SUMMARY = "A file-driven approach to the creation of an entire AWS Greengrass group" +AUTHOR = "Brett Francis " +HOMEPAGE = "https://github.com/awslabs/aws-greengrass-group-setup" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +PYPI_PACKAGE = "gg_group_setup" + +SRC_URI[md5sum] = "afc38bf424421634bea65fe32f2a32dd" +SRC_URI[sha256sum] = "5d68dc5007a1bf24e8d1415db93e4f2b4dde42ffd98b868778bb3f6522d4d89d" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-boto3 \ + ${PYTHON_PN}-fire \ + ${PYTHON_PN}-misc \ +" + +do_configure_prepend() { + sed -i \ + -e 's:from gg_group_setup import __version__:__version__ = "${PV}":' \ + ${S}/setup.py +} + +inherit pypi -- cgit 1.2.3-korg