Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 4/5] python-visitor: new package
Date: Tue,  6 Feb 2018 08:25:05 -0500	[thread overview]
Message-ID: <20180206132506.30389-4-aduskett@gmail.com> (raw)
In-Reply-To: <20180206132506.30389-1-aduskett@gmail.com>

A tiny library to facilitate visitor implementation in Python

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
Changes v1 -> v2:
  - None

 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-visitor/Config.in           |  6 ++++++
 package/python-visitor/python-visitor.hash |  4 ++++
 package/python-visitor/python-visitor.mk   | 14 ++++++++++++++
 5 files changed, 26 insertions(+)
 create mode 100644 package/python-visitor/Config.in
 create mode 100644 package/python-visitor/python-visitor.hash
 create mode 100644 package/python-visitor/python-visitor.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index fdc4621a7f..32ae08c99a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
diff --git a/package/Config.in b/package/Config.in
index 583b379bcd..2f2b13e3c0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -940,6 +940,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
index 0000000000..1b3f4bbb65
--- /dev/null
+++ b/package/python-visitor/Config.in
@@ -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
index 0000000000..6e0cffbd95
--- /dev/null
+++ b/package/python-visitor/python-visitor.hash
@@ -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
index 0000000000..1313491c96
--- /dev/null
+++ b/package/python-visitor/python-visitor.mk
@@ -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))
-- 
2.14.3

  parent reply	other threads:[~2018-02-06 13:25 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06 13:25 [Buildroot] [PATCH v2 1/5] python-psycopg2: new package Adam Duskett
2018-02-06 13:25 ` [Buildroot] [PATCH v2 2/5] python-sqlalchemy: " Adam Duskett
2018-02-06 13:38   ` Yegor Yefremov
2018-02-10 15:21   ` Thomas Petazzoni
2018-02-06 13:25 ` [Buildroot] [PATCH v2 3/5] python-flask-sqlalchemy: " Adam Duskett
2018-02-06 13:37   ` Yegor Yefremov
2018-02-10 15:28   ` Thomas Petazzoni
2018-02-06 13:25 ` Adam Duskett [this message]
2018-02-06 13:37   ` [Buildroot] [PATCH v2 4/5] python-visitor: " Yegor Yefremov
2018-04-27 21:27   ` Thomas Petazzoni
2018-02-06 13:25 ` [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: " Adam Duskett
2018-02-06 13:37   ` Yegor Yefremov
2018-04-27 21:33   ` Thomas Petazzoni
2018-04-28  5:15     ` Yegor Yefremov
2018-04-28 10:17       ` Thomas Petazzoni
2018-05-02  9:37         ` Yegor Yefremov
2018-09-16 20:05   ` Thomas Petazzoni
2018-02-10 15:22 ` [Buildroot] [PATCH v2 1/5] python-psycopg2: " Thomas Petazzoni
2018-02-10 17:40   ` Yegor Yefremov
2018-02-12 12:06     ` Adam Duskett
2018-02-12 13:48       ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180206132506.30389-4-aduskett@gmail.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox