From 48f495854d0a85d1241061a2a279aa262e8783ef Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Mon, 22 Oct 2018 17:31:36 +0800 Subject: [PATCH] python-yarl: new package Yet another URL library Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/python-yarl/Config.in | 9 +++++++++ package/python-yarl/python-yarl.hash | 5 +++++ package/python-yarl/python-yarl.mk | 13 +++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 package/python-yarl/Config.in create mode 100644 package/python-yarl/python-yarl.hash create mode 100644 package/python-yarl/python-yarl.mk diff --git a/DEVELOPERS b/DEVELOPERS index a3d97eb390..dd2a2c4703 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -978,6 +978,9 @@ F: configs/orangepi_zero_plus2_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig +N: James Hilliard +F: package/python-yarl/ + N: James Knight F: package/atkmm/ F: package/cairomm/ diff --git a/package/Config.in b/package/Config.in index b2b37a4438..d7e24154dc 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1071,6 +1071,7 @@ menu "External python modules" source "package/python-xlutils/Config.in" source "package/python-xlwt/Config.in" source "package/python-xmltodict/Config.in" + source "package/python-yarl/Config.in" source "package/python-yieldfrom/Config.in" source "package/python-zeroconf/Config.in" source "package/python-zope-interface/Config.in" diff --git a/package/python-yarl/Config.in b/package/python-yarl/Config.in new file mode 100644 index 0000000000..e52050451d --- /dev/null +++ b/package/python-yarl/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_YARL + bool "python-yarl" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_MULTIDICT + select BR2_PACKAGE_PYTHON_IDNA + help + Yet another URL library. + + http://yarl.readthedocs.io/ diff --git a/package/python-yarl/python-yarl.hash b/package/python-yarl/python-yarl.hash new file mode 100644 index 0000000000..118c7225d8 --- /dev/null +++ b/package/python-yarl/python-yarl.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.python.org/pypi/yarl/json +md5 43380667129ebc52ac3c442daabb3f6d yarl-1.2.6.tar.gz +sha256 c8cbc21bbfa1dd7d5386d48cc814fe3d35b80f60299cdde9279046f399c3b0d8 yarl-1.2.6.tar.gz +# Locally computed sha256 checksums +sha256 14c0820503ceef15e814a89b037d9efc066870087018294b6ae0f27163872cc5 LICENSE diff --git a/package/python-yarl/python-yarl.mk b/package/python-yarl/python-yarl.mk new file mode 100644 index 0000000000..94c3db370b --- /dev/null +++ b/package/python-yarl/python-yarl.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-yarl +# +################################################################################ +PYTHON_YARL_VERSION = 1.2.6 +PYTHON_YARL_SOURCE = yarl-$(PYTHON_YARL_VERSION).tar.gz +PYTHON_YARL_SITE = https://files.pythonhosted.org/packages/43/b8/057c3e5b546ff4b24263164ecda13f6962d85c9dc477fcc0bcdcb3adb658 +PYTHON_YARL_LICENSE = Apache-2.0 +PYTHON_YARL_LICENSE_FILES = LICENSE +PYTHON_YARL_SETUP_TYPE = setuptools + +$(eval $(python-package)) -- 2.30.2