python-fastentrypoints: new package
authorAsaf Kahlon <asafka7@gmail.com>
Mon, 9 Apr 2018 18:04:03 +0000 (21:04 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 20 Oct 2018 19:13:27 +0000 (21:13 +0200)
host-package that is able to shorten the load time of entry_points declared
in setup.py of python packages.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/python-fastentrypoints/Config.in.host [new file with mode: 0644]
package/python-fastentrypoints/python-fastentrypoints.hash [new file with mode: 0644]
package/python-fastentrypoints/python-fastentrypoints.mk [new file with mode: 0644]

index 17db96aa628c1ae77c2ccab4384a22089448ecca..61f3cac9e4fe4db9d7714b9faed2292c80021710 100644 (file)
@@ -205,6 +205,7 @@ F:  package/python-bcrypt/
 F:     package/python-bitstring/
 F:     package/python-constantly/
 F:     package/python-engineio/
+F:     package/python-fastentrypoints/
 F:     package/python-fire/
 F:     package/python-h2/
 F:     package/python-idna/
diff --git a/package/python-fastentrypoints/Config.in.host b/package/python-fastentrypoints/Config.in.host
new file mode 100644 (file)
index 0000000..9160550
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_PYTHON_FASTENTRYPOINTS
+       bool "host python-fastentrypoints"
+       help
+         Makes entry_points specified in setup.py load more quickly.
+
+         https://github.com/ninjaaron/fast-entry_points
diff --git a/package/python-fastentrypoints/python-fastentrypoints.hash b/package/python-fastentrypoints/python-fastentrypoints.hash
new file mode 100644 (file)
index 0000000..84e9b78
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/fastentrypoints/json, sha256 locally computed
+md5    9bd2a34697eb8279d87e7b927f4f7e85  fastentrypoints-0.10.tar.gz
+sha256 ed418146ed87230694ec2d8890b9b3e2967e95d857e5ce933cafecb1067cca82  fastentrypoints-0.10.tar.gz
+sha256 2da210da31c033faa270503884a3ac9058874543e6fdd0b094000720bf2ffb66  fastentrypoints.py
diff --git a/package/python-fastentrypoints/python-fastentrypoints.mk b/package/python-fastentrypoints/python-fastentrypoints.mk
new file mode 100644 (file)
index 0000000..c4eb3e8
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-fastentrypoints
+#
+################################################################################
+
+PYTHON_FASTENTRYPOINTS_VERSION = 0.10
+PYTHON_FASTENTRYPOINTS_SOURCE = fastentrypoints-$(PYTHON_FASTENTRYPOINTS_VERSION).tar.gz
+PYTHON_FASTENTRYPOINTS_SITE = https://pypi.python.org/packages/e8/c8/c2902c9c9da43d8be8c75a730f15f0c51933c42c39b91d1d7b605a88e907
+PYTHON_FASTENTRYPOINTS_SETUP_TYPE = setuptools
+PYTHON_FASTENTRYPOINTS_LICENSE = BSD-2-Clause
+PYTHON_FASTENTRYPOINTS_LICENSE_FILES = fastentrypoints.py
+
+$(eval $(host-python-package))