python-visitor: new package
authorAdam Duskett <aduskett@gmail.com>
Tue, 6 Feb 2018 13:25:05 +0000 (08:25 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 27 Apr 2018 21:26:27 +0000 (23:26 +0200)
A tiny library to facilitate visitor implementation in Python

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

index bc7ee95584da02cdd998796c064747fa8981c143..9685a5388690756936f4e9066f8c66b3f21de5da 100644 (file)
@@ -55,6 +55,7 @@ F:    package/python-flask-sqlalchemy/
 F:     package/python-mutagen/
 F:     package/python-psycopg2/
 F:     package/python-sqlalchemy/
+F:     package/python-visitor/
 F:     package/restorecond/
 F:     package/refpolicy/
 F:     package/selinux-python/
index 4b8249ad3d2a8799cffa75340cdaa122d5b81421..bdc02025cf026d3ab979ee63e71ba765c1556507 100644 (file)
@@ -959,6 +959,7 @@ menu "External python modules"
        source "package/python-urllib3/Config.in"
        source "package/python-urwid/Config.in"
        source "package/python-versiontools/Config.in"
+       source "package/python-visitor/Config.in"
        source "package/python-watchdog/Config.in"
        source "package/python-wcwidth/Config.in"
        source "package/python-web2py/Config.in"
diff --git a/package/python-visitor/Config.in b/package/python-visitor/Config.in
new file mode 100644 (file)
index 0000000..f8be5ec
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_VISITOR
+       bool "python-visitor"
+       help
+         A tiny pythonic visitor implementation.
+
+         http://github.com/mbr/visitor
diff --git a/package/python-visitor/python-visitor.hash b/package/python-visitor/python-visitor.hash
new file mode 100644 (file)
index 0000000..6e0cffb
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/visitor/json, sha256 locally computed
+md5    94a024ed0ec1b02b4497c15267d319ca  visitor-0.1.3.tar.gz
+sha256 2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a  visitor-0.1.3.tar.gz
+sha256 184d1ebb65da97ada36447f3c028f2fd4890b874f17b18c023ce200dd96639af  LICENSE
diff --git a/package/python-visitor/python-visitor.mk b/package/python-visitor/python-visitor.mk
new file mode 100644 (file)
index 0000000..1313491
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-visitor
+#
+################################################################################
+
+PYTHON_VISITOR_VERSION = 0.1.3
+PYTHON_VISITOR_SOURCE = visitor-$(PYTHON_VISITOR_VERSION).tar.gz
+PYTHON_VISITOR_SITE = https://pypi.python.org/packages/d7/58/785fcd6de4210049da5fafe62301b197f044f3835393594be368547142b0
+PYTHON_VISITOR_SETUP_TYPE = setuptools
+PYTHON_VISITOR_LICENSE = MIT
+PYTHON_VISITOR_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))