From 8dc5506c76a555bd7eb2455407022b1287b9a821 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 14 Dec 2023 03:08:33 -0700 Subject: [PATCH] package/python-decouple: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-decouple/Config.in | 6 ++++++ package/python-decouple/python-decouple.hash | 5 +++++ package/python-decouple/python-decouple.mk | 13 +++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-decouple/Config.in create mode 100644 package/python-decouple/python-decouple.hash create mode 100644 package/python-decouple/python-decouple.mk diff --git a/package/Config.in b/package/Config.in index a7c653746e..c3aeb87f08 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1056,6 +1056,7 @@ menu "External python modules" source "package/python-dbus-fast/Config.in" source "package/python-dbus-next/Config.in" source "package/python-decorator/Config.in" + source "package/python-decouple/Config.in" source "package/python-defusedxml/Config.in" source "package/python-dialog3/Config.in" source "package/python-dicttoxml/Config.in" diff --git a/package/python-decouple/Config.in b/package/python-decouple/Config.in new file mode 100644 index 0000000000..528f43d0cb --- /dev/null +++ b/package/python-decouple/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_DECOUPLE + bool "python-decouple" + help + Strict separation of settings from code. + + http://github.com/henriquebastos/python-decouple/ diff --git a/package/python-decouple/python-decouple.hash b/package/python-decouple/python-decouple.hash new file mode 100644 index 0000000000..cf1290c90e --- /dev/null +++ b/package/python-decouple/python-decouple.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-decouple/json +md5 21b174a381d6bff5f4814018a4fd44cd python-decouple-3.8.tar.gz +sha256 ba6e2657d4f376ecc46f77a3a615e058d93ba5e465c01bbe57289bfb7cce680f python-decouple-3.8.tar.gz +# Locally computed sha256 checksums +sha256 4d6e3c2ef229ec3c1a486f52c9d76235e9eb7c94db8ec71a8bff0af60e4f0aa4 LICENSE diff --git a/package/python-decouple/python-decouple.mk b/package/python-decouple/python-decouple.mk new file mode 100644 index 0000000000..c0d0cdb909 --- /dev/null +++ b/package/python-decouple/python-decouple.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-decouple +# +################################################################################ + +PYTHON_DECOUPLE_VERSION = 3.8 +PYTHON_DECOUPLE_SITE = https://files.pythonhosted.org/packages/e1/97/373dcd5844ec0ea5893e13c39a2c67e7537987ad8de3842fe078db4582fa +PYTHON_DECOUPLE_SETUP_TYPE = setuptools +PYTHON_DECOUPLE_LICENSE = MIT +PYTHON_DECOUPLE_LICENSE_FILES = LICENSE + +$(eval $(python-package))