From 8d1ec57d008e1d4d56293014f9cfbdc77b6fd302 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 29 Oct 2024 10:10:22 -0600 Subject: [PATCH] package/python-pyaml: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-pyaml/Config.in | 8 ++++++++ package/python-pyaml/python-pyaml.hash | 5 +++++ package/python-pyaml/python-pyaml.mk | 14 ++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-pyaml/Config.in create mode 100644 package/python-pyaml/python-pyaml.hash create mode 100644 package/python-pyaml/python-pyaml.mk diff --git a/package/Config.in b/package/Config.in index 72b8d8bdc9..f8d4e4d24c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1281,6 +1281,7 @@ menu "External python modules" source "package/python-py/Config.in" source "package/python-pyaes/Config.in" source "package/python-pyalsa/Config.in" + source "package/python-pyaml/Config.in" source "package/python-pyasn1/Config.in" source "package/python-pyasn1-modules/Config.in" source "package/python-pyasynchat/Config.in" diff --git a/package/python-pyaml/Config.in b/package/python-pyaml/Config.in new file mode 100644 index 0000000000..72d00d5c4c --- /dev/null +++ b/package/python-pyaml/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYAML + bool "python-pyaml" + select BR2_PACKAGE_PYTHON_PYYAML # runtime + help + PyYAML-based module to produce a bit more pretty and + readable YAML-serialized data. + + https://github.com/mk-fg/pretty-yaml diff --git a/package/python-pyaml/python-pyaml.hash b/package/python-pyaml/python-pyaml.hash new file mode 100644 index 0000000000..06e99448d0 --- /dev/null +++ b/package/python-pyaml/python-pyaml.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyaml/json +md5 1301f53ad68626ac295c2663315b1804 pyaml-24.9.0.tar.gz +sha256 e78dee8b0d4fed56bb9fa11a8a7858e6fade1ec70a9a122cee6736efac3e69b5 pyaml-24.9.0.tar.gz +# Locally computed sha256 checksums +sha256 dc1342cc1cb49e24c1c9e8a495acc9625ce2e04146c116279af0ab0949cd829c COPYING diff --git a/package/python-pyaml/python-pyaml.mk b/package/python-pyaml/python-pyaml.mk new file mode 100644 index 0000000000..e908aa089a --- /dev/null +++ b/package/python-pyaml/python-pyaml.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyaml +# +################################################################################ + +PYTHON_PYAML_VERSION = 24.9.0 +PYTHON_PYAML_SOURCE = pyaml-$(PYTHON_PYAML_VERSION).tar.gz +PYTHON_PYAML_SITE = https://files.pythonhosted.org/packages/fd/a6/5b51160ff7ce60b0c60ec825359c0e818b0ce4a2504fa3dd1470f42f9b10 +PYTHON_PYAML_SETUP_TYPE = setuptools +PYTHON_PYAML_LICENSE = WTFPL +PYTHON_PYAML_LICENSE_FILES = COPYING + +$(eval $(python-package))