package/python-soupsieve: new package
authorAsaf Kahlon <asafka7@gmail.com>
Mon, 14 Oct 2019 19:12:24 +0000 (22:12 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 14 Oct 2019 20:24:16 +0000 (22:24 +0200)
A modern CSS selector implementation for Beautiful Soup.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/python-soupsieve/Config.in [new file with mode: 0644]
package/python-soupsieve/python-soupsieve.hash [new file with mode: 0644]
package/python-soupsieve/python-soupsieve.mk [new file with mode: 0644]

index 96ce12e388ce059e42418ca591a7cf9ceb040dc3..c835545fae1d8b9f811b07080318f014a8ec32ed 100644 (file)
@@ -1090,6 +1090,7 @@ menu "External python modules"
        source "package/python-smbus-cffi/Config.in"
        source "package/python-socketio/Config.in"
        source "package/python-sortedcontainers/Config.in"
+       source "package/python-soupsieve/Config.in"
        source "package/python-spidev/Config.in"
        source "package/python-sqlalchemy/Config.in"
        source "package/python-sqlparse/Config.in"
diff --git a/package/python-soupsieve/Config.in b/package/python-soupsieve/Config.in
new file mode 100644 (file)
index 0000000..c7571b3
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_SOUPSIEVE
+       bool "python-soupsieve"
+       select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \
+               if BR2_PACKAGE_PYTHON # runtime
+       help
+         A modern CSS selector implementation for Beautiful Soup.
+
+         https://github.com/facelessuser/soupsieve
diff --git a/package/python-soupsieve/python-soupsieve.hash b/package/python-soupsieve/python-soupsieve.hash
new file mode 100644 (file)
index 0000000..c4c1273
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/soupsieve/json
+md5    43d8ea20c58494446aa65ba5cc6320fe  soupsieve-1.9.4.tar.gz
+sha256 605f89ad5fdbfefe30cdc293303665eff2d188865d4dbe4eb510bba1edfbfce3  soupsieve-1.9.4.tar.gz
+# Locally computed sha256 checksums
+sha256 0eee19bf360e5f7a8180e2f6d613d716f7115a456f670e3d8bb35c45a0db1838  LICENSE.md
diff --git a/package/python-soupsieve/python-soupsieve.mk b/package/python-soupsieve/python-soupsieve.mk
new file mode 100644 (file)
index 0000000..1203b26
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-soupsieve
+#
+################################################################################
+
+PYTHON_SOUPSIEVE_VERSION = 1.9.4
+PYTHON_SOUPSIEVE_SOURCE = soupsieve-$(PYTHON_SOUPSIEVE_VERSION).tar.gz
+PYTHON_SOUPSIEVE_SITE = https://files.pythonhosted.org/packages/7f/4e/95a13527e18b6f1a15c93f1c634b86d5fa634c5619dce695f4e0cd68182f
+PYTHON_SOUPSIEVE_SETUP_TYPE = setuptools
+PYTHON_SOUPSIEVE_LICENSE = MIT
+PYTHON_SOUPSIEVE_LICENSE_FILES = LICENSE.md
+
+$(eval $(python-package))