python-reentry: new package
authorAsaf Kahlon <asafka7@gmail.com>
Mon, 7 May 2018 20:34:29 +0000 (23:34 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 May 2018 21:21:13 +0000 (23:21 +0200)
A plugin manager based on setuptools entry points mechanism.

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/Config.in
package/python-reentry/Config.in [new file with mode: 0644]
package/python-reentry/python-reentry.hash [new file with mode: 0644]
package/python-reentry/python-reentry.mk [new file with mode: 0644]

index 7fc7e354d021560c696ad6204f41e7c566557b0a..f9531944a344eaedb2f9a054a05c5ea0804c9c92 100644 (file)
@@ -191,6 +191,7 @@ F:  package/stress/
 
 N:     Asaf Kahlon <asafka7@gmail.com>
 F:     package/python-jsonmodels/
+F:     package/python-reentry/
 F:     package/python-subprocess32/
 F:     package/python-yieldfrom/
 F:     package/zeromq/
index 61210cea36a6032bb2f16ce55091491a9881e783..71a380bc3f5912ab54a68795d2c3f7bdde10a8d9 100644 (file)
@@ -912,6 +912,7 @@ menu "External python modules"
        source "package/python-pyyaml/Config.in"
        source "package/python-pyzmq/Config.in"
        source "package/python-raven/Config.in"
+       source "package/python-reentry/Config.in"
        source "package/python-remi/Config.in"
        source "package/python-requests/Config.in"
        source "package/python-requests-oauthlib/Config.in"
diff --git a/package/python-reentry/Config.in b/package/python-reentry/Config.in
new file mode 100644 (file)
index 0000000..18518f2
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_REENTRY
+       bool "python-reentry"
+       select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+       select BR2_PACKAGE_PYTHON_CLICK # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       select BR2_PACKAGE_PYTHON_PY # runtime
+       help
+         A plugin manager based on setuptools entry points mechanism.
+
+         https://pypi.org/project/reentry/
diff --git a/package/python-reentry/python-reentry.hash b/package/python-reentry/python-reentry.hash
new file mode 100644 (file)
index 0000000..7a3bbf4
--- /dev/null
@@ -0,0 +1,4 @@
+# sha256 from https://pypi.org/pypi/reentry/json
+sha256 00df980d8c61713f5002d4d893ba6ea38e9a721cd04aef5a520b974e700ab550  reentry-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256 4ae7f3216208a7e2327236e95bcd2397b2495f1c2298c708986c893bea608509  LICENSE
diff --git a/package/python-reentry/python-reentry.mk b/package/python-reentry/python-reentry.mk
new file mode 100644 (file)
index 0000000..d3f0e03
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-reentry
+#
+################################################################################
+
+PYTHON_REENTRY_VERSION = 1.2.0
+PYTHON_REENTRY_SOURCE = reentry-$(PYTHON_REENTRY_VERSION).tar.gz
+PYTHON_REENTRY_SITE = https://files.pythonhosted.org/packages/e2/b4/46dfac6613302fea51454a01aebedae9440aff9d813aedbbc5f687552e3b
+PYTHON_REENTRY_SETUP_TYPE = setuptools
+PYTHON_REENTRY_LICENSE = MIT
+PYTHON_REENTRY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))