python-yarl: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Mon, 22 Oct 2018 09:31:36 +0000 (17:31 +0800)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 1 Nov 2018 11:06:46 +0000 (12:06 +0100)
Yet another URL library

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
DEVELOPERS
package/Config.in
package/python-yarl/Config.in [new file with mode: 0644]
package/python-yarl/python-yarl.hash [new file with mode: 0644]
package/python-yarl/python-yarl.mk [new file with mode: 0644]

index a3d97eb39067eb3ea32ba596be7e2421eeb107c3..dd2a2c47035593c73598935d0052f33b910f62bf 100644 (file)
@@ -978,6 +978,9 @@ F:  configs/orangepi_zero_plus2_defconfig
 F:     configs/pine64_defconfig
 F:     configs/pine64_sopine_defconfig
 
+N:     James Hilliard <james.hilliard1@gmail.com>
+F:     package/python-yarl/
+
 N:     James Knight <james.knight@rockwellcollins.com>
 F:     package/atkmm/
 F:     package/cairomm/
index b2b37a4438390de897efde9734d2cbdb582f3d75..d7e24154dc5985be434fa9fd866f2eb9d9ff5204 100644 (file)
@@ -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 (file)
index 0000000..e520504
--- /dev/null
@@ -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 (file)
index 0000000..118c722
--- /dev/null
@@ -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 (file)
index 0000000..94c3db3
--- /dev/null
@@ -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))