From 23f0a280d1d75fc739e6847ebe9b27e3b5c03707 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Mon, 16 Jan 2017 16:46:18 +0100 Subject: [PATCH] python-toml: new package Use GitHub instead of PyPI because PyPI release if out-of-date. Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-toml/Config.in | 6 ++++++ package/python-toml/python-toml.hash | 2 ++ package/python-toml/python-toml.mk | 13 +++++++++++++ 4 files changed, 22 insertions(+) create mode 100644 package/python-toml/Config.in create mode 100644 package/python-toml/python-toml.hash create mode 100644 package/python-toml/python-toml.mk diff --git a/package/Config.in b/package/Config.in index 8c8c33ec31..1766089b06 100644 --- a/package/Config.in +++ b/package/Config.in @@ -800,6 +800,7 @@ menu "External python modules" source "package/python-spidev/Config.in" source "package/python-thrift/Config.in" source "package/python-tomako/Config.in" + source "package/python-toml/Config.in" source "package/python-tornado/Config.in" source "package/python-treq/Config.in" source "package/python-twisted/Config.in" diff --git a/package/python-toml/Config.in b/package/python-toml/Config.in new file mode 100644 index 0000000000..a41622fc2f --- /dev/null +++ b/package/python-toml/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TOML + bool "python-toml" + help + Python Library for Tom's Obvious, Minimal Language. + + https://github.com/uiri/toml diff --git a/package/python-toml/python-toml.hash b/package/python-toml/python-toml.hash new file mode 100644 index 0000000000..cbc71a961b --- /dev/null +++ b/package/python-toml/python-toml.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 aee9679726f42fb09f48b9701a321571e0b6a51305c3e0f3913b3057d8bf7083 python-toml-0.9.2.tar.gz diff --git a/package/python-toml/python-toml.mk b/package/python-toml/python-toml.mk new file mode 100644 index 0000000000..fec113e1cb --- /dev/null +++ b/package/python-toml/python-toml.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-toml +# +################################################################################ + +PYTHON_TOML_VERSION = 0.9.2 +PYTHON_TOML_SITE = $(call github,uiri,toml,$(PYTHON_TOML_VERSION)) +PYTHON_TOML_SETUP_TYPE = distutils +PYTHON_TOML_LICENSE = MIT +PYTHON_TOML_LICENSE_FILES = LICENSE + +$(eval $(python-package)) -- 2.30.2