All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/5] python-psycopg2: new package
@ 2018-02-06 13:25 Adam Duskett
  2018-02-06 13:25 ` [Buildroot] [PATCH v2 2/5] python-sqlalchemy: " Adam Duskett
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: Adam Duskett @ 2018-02-06 13:25 UTC (permalink / raw)
  To: buildroot

Psycopg is the most popular PostgreSQL database adapter for the Python
programming language. Its main features are the complete implementation of the
Python DB API 2.0 specification and the thread safety (several threads can
share the same connection). It was designed for heavily multi-threaded
applications that create and destroy lots of cursors and make a large number of
concurrent INSERTs or UPDATEs.

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

 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 .../python-psycopg2/0001-don-t-use-pg_config.patch | 49 ++++++++++++++++++++++
 package/python-psycopg2/Config.in                  | 23 ++++++++++
 package/python-psycopg2/python-psycopg2.hash       |  4 ++
 package/python-psycopg2/python-psycopg2.mk         | 20 +++++++++
 6 files changed, 98 insertions(+)
 create mode 100644 package/python-psycopg2/0001-don-t-use-pg_config.patch
 create mode 100644 package/python-psycopg2/Config.in
 create mode 100644 package/python-psycopg2/python-psycopg2.hash
 create mode 100644 package/python-psycopg2/python-psycopg2.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index c524cb6ac5..8cf0836a1a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -52,6 +52,7 @@ F:	package/libsepol/
 F:	package/nginx-naxsi/
 F:	package/policycoreutils/
 F:	package/python-mutagen/
+F:	package/python-psycopg2/
 F:	package/restorecond/
 F:	package/refpolicy/
 F:	package/selinux-python/
diff --git a/package/Config.in b/package/Config.in
index 9cd5d9c087..b039dea58f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -844,6 +844,7 @@ menu "External python modules"
 	source "package/python-prompt-toolkit/Config.in"
 	source "package/python-protobuf/Config.in"
 	source "package/python-psutil/Config.in"
+	source "package/python-psycopg2/Config.in"
 	source "package/python-ptyprocess/Config.in"
 	source "package/python-pudb/Config.in"
 	source "package/python-pyasn/Config.in"
diff --git a/package/python-psycopg2/0001-don-t-use-pg_config.patch b/package/python-psycopg2/0001-don-t-use-pg_config.patch
new file mode 100644
index 0000000000..e82e61b514
--- /dev/null
+++ b/package/python-psycopg2/0001-don-t-use-pg_config.patch
@@ -0,0 +1,49 @@
+From 92d42775735d1555449b860c214ca7265d7ad75b Mon Sep 17 00:00:00 2001
+From: Mark Asselstine <mark.asselstine@windriver.com>
+Date: Tue, 24 Jan 2017 00:43:35 +0900
+Subject: [PATCH] setup: don't use pg_config
+
+pg_config is used to get library and include directories, and the postgresql
+version. All of which is not available in the cross compiled version.
+
+Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
+Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
+[aduskett at gmail.com: Update for psycopg2 2.7.3.2]
+Signed-off-by: Adam Duskett <aduskett@gmail.com>
+---
+ setup.py | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 86f32d2..05b8eeb 100644
+--- a/setup.py
++++ b/setup.py
+@@ -404,16 +404,13 @@ class psycopg_build_ext(build_ext):
+             self.libraries.append("pq")
+
+         try:
+-            self.library_dirs.append(pg_config_helper.query("libdir"))
+-            self.include_dirs.append(pg_config_helper.query("includedir"))
+-            self.include_dirs.append(pg_config_helper.query("includedir-server"))
+             try:
+                 # Here we take a conservative approach: we suppose that
+                 # *at least* PostgreSQL 7.4 is available (this is the only
+                 # 7.x series supported by psycopg 2)
+                 pgversion = pg_config_helper.query("version").split()[1]
+             except:
+-                pgversion = "7.4.0"
++                pgversion = str(os.environ['PSYCOPG2_POSTGRESQL_VERSION'])
+
+             verre = re.compile(
+                 r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?")
+@@ -525,6 +522,7 @@ parser.read('setup.cfg')
+ # Choose a datetime module
+ have_pydatetime = True
+ have_mxdatetime = False
++pg_config="/bin/true"
+ use_pydatetime = int(parser.get('build_ext', 'use_pydatetime'))
+
+ # check for mx package
+--
+2.14.3
+
diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in
new file mode 100644
index 0000000000..c861ac2284
--- /dev/null
+++ b/package/python-psycopg2/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_PYTHON_PSYCOPG2
+       bool "python-psycopg2"
+       select BR2_PACKAGE_POSTGRESQL
+       help
+         Psycopg is the most popular PostgreSQL database adapter for
+         the Python programming language. Its main features are the
+         complete implementation of the Python DB API 2.0 specification
+         and the thread safety (several threads can share the same
+         connection). It was designed for heavily multi-threaded
+         applications that create and destroy lots of cursors and make
+         a large number of concurrent INSERTs or UPDATEs.
+
+         Psycopg 2 is mostly implemented in C as a libpq wrapper,
+         resulting in being both efficient and secure. It features
+         client-side and server-side cursors, asynchronous
+         communication and notifications, COPY support. Many Python
+         types are supported out-of-the-box and adapted to matching
+         PostgreSQL data types; adaptation can be extended and
+         customized thanks to a flexible objects adaptation system.
+
+         Psycopg 2 is both Unicode and Python 3 friendly.
+
+         http://initd.org/psycopg/
diff --git a/package/python-psycopg2/python-psycopg2.hash b/package/python-psycopg2/python-psycopg2.hash
new file mode 100644
index 0000000000..a2cbb1f186
--- /dev/null
+++ b/package/python-psycopg2/python-psycopg2.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/psycopg2/json, sha256 locally computed
+md5    8114e672d5f23fa5329874a4314fbd6f  psycopg2-2.7.3.2.tar.gz
+sha256 5c3213be557d0468f9df8fe2487eaf2990d9799202c5ff5cb8d394d09fad9b2a  psycopg2-2.7.3.2.tar.gz
+sha256 1752db3c786e12b62ca804178dca033adce8bff4c4b3d98d3449d407fe45210d  LICENSE
diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk
new file mode 100644
index 0000000000..2d50624433
--- /dev/null
+++ b/package/python-psycopg2/python-psycopg2.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# python-psycopg2
+#
+################################################################################
+
+PYTHON_PSYCOPG2_VERSION = 2.7.3.2
+PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
+PYTHON_PSYCOPG2_SITE = https://pypi.python.org/packages/dd/47/000b405d73ca22980684fd7bd3318690cc03cfa3b2ae1c5b7fff8050b28a
+PYTHON_PSYCOPG2_SETUP_TYPE = setuptools
+PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+
+PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE
+PYTHON_PSYCOPG2_DEPENDENCIES = postgresql
+
+# Force psycopg2 to use the BuildRoot provided postgresql version instead of
+# The host machines
+PYTHON_PSYCOPG2_ENV += \
+       PSYCOPG2_POSTGRESQL_VERSION=$(POSTGRESQL_VERSION)
+
+$(eval $(python-package))
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 2/5] python-sqlalchemy: new package
  2018-02-06 13:25 [Buildroot] [PATCH v2 1/5] python-psycopg2: new package Adam Duskett
@ 2018-02-06 13:25 ` 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
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 21+ messages in thread
From: Adam Duskett @ 2018-02-06 13:25 UTC (permalink / raw)
  To: buildroot

SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
application developers the full power and flexibility of SQL.

It provides a full suite of well known enterprise-level persistence patterns,
designed for efficient and high-performing database access, adapted into a
simple and Pythonic domain language.

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

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

diff --git a/DEVELOPERS b/DEVELOPERS
index 8cf0836a1a..f82f33a1c0 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -53,6 +53,7 @@ F:	package/nginx-naxsi/
 F:	package/policycoreutils/
 F:	package/python-mutagen/
 F:	package/python-psycopg2/
+F:	package/python-sqlalchemy/
 F:	package/restorecond/
 F:	package/refpolicy/
 F:	package/selinux-python/
diff --git a/package/Config.in b/package/Config.in
index b039dea58f..d250b59995 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -919,6 +919,7 @@ menu "External python modules"
 	source "package/python-socketio/Config.in"
 	source "package/python-sortedcontainers//Config.in"
 	source "package/python-spidev/Config.in"
+	source "package/python-sqlalchemy/Config.in"
 	source "package/python-systemd/Config.in"
 	source "package/python-tabledata/Config.in"
 	source "package/python-tempora/Config.in"
diff --git a/package/python-sqlalchemy/Config.in b/package/python-sqlalchemy/Config.in
new file mode 100644
index 0000000000..65d3622e2e
--- /dev/null
+++ b/package/python-sqlalchemy/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_SQLALCHEMY
+       bool "python-sqlalchemy"
+       help
+         SQLAlchemy is the Python SQL toolkit and Object Relational
+         Mapper that gives application developers the full power and
+         flexibility of SQL.
+
+         It provides a full suite of well known enterprise-level
+         persistence patterns, designed for efficient and
+         high-performing database access, adapted into a simple and
+         Pythonic domain language.
+
+         http://www.sqlalchemy.org
diff --git a/package/python-sqlalchemy/python-sqlalchemy.hash b/package/python-sqlalchemy/python-sqlalchemy.hash
new file mode 100644
index 0000000000..9e13a2f20f
--- /dev/null
+++ b/package/python-sqlalchemy/python-sqlalchemy.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/SQLAlchemy/json, sha256 locally computed
+md5    968e07dc0aa92f9205bb3877f33f498f  SQLAlchemy-1.2.2.tar.gz
+sha256 64b4720f0a8e033db0154d3824f5bf677cf2797e11d44743cf0aebd2a0499d9d  SQLAlchemy-1.2.2.tar.gz
+sha256 73bda3d7d6c568f494c1d12520a97d41a38b7ce91d88c21f1b469b747b17f7fd  LICENSE
diff --git a/package/python-sqlalchemy/python-sqlalchemy.mk b/package/python-sqlalchemy/python-sqlalchemy.mk
new file mode 100644
index 0000000000..c0023712a2
--- /dev/null
+++ b/package/python-sqlalchemy/python-sqlalchemy.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-sqlalchemy
+#
+################################################################################
+
+PYTHON_SQLALCHEMY_VERSION = 1.2.2
+PYTHON_SQLALCHEMY_SOURCE = SQLAlchemy-$(PYTHON_SQLALCHEMY_VERSION).tar.gz
+PYTHON_SQLALCHEMY_SITE = https://pypi.python.org/packages/b9/fb/a56d2fc0ce3571328fa872734ad124cae25a4cea422088987f865fb71787
+PYTHON_SQLALCHEMY_SETUP_TYPE = setuptools
+PYTHON_SQLALCHEMY_LICENSE = MIT
+PYTHON_SQLALCHEMY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 3/5] python-flask-sqlalchemy: new package
  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:25 ` Adam Duskett
  2018-02-06 13:37   ` Yegor Yefremov
  2018-02-10 15:28   ` Thomas Petazzoni
  2018-02-06 13:25 ` [Buildroot] [PATCH v2 4/5] python-visitor: " Adam Duskett
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 21+ messages in thread
From: Adam Duskett @ 2018-02-06 13:25 UTC (permalink / raw)
  To: buildroot

Flask-SQLAlchemy is a Flask microframework extension which adds support for
the SQLAlchemy SQL toolkit/ORM.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
Changes v1 -> v2:
  - Changed license to BSD-3c (yegor)

 DEVELOPERS                                                 |  1 +
 package/Config.in                                          |  1 +
 package/python-flask-sqlalchemy/Config.in                  |  9 +++++++++
 .../python-flask-sqlalchemy/python-flask-sqlalchemy.hash   |  4 ++++
 package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-flask-sqlalchemy/Config.in
 create mode 100644 package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
 create mode 100644 package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index f82f33a1c0..fdc4621a7f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -51,6 +51,7 @@ F:	package/libsemanage/
 F:	package/libsepol/
 F:	package/nginx-naxsi/
 F:	package/policycoreutils/
+F:	package/python-flask-sqlalchemy/
 F:	package/python-mutagen/
 F:	package/python-psycopg2/
 F:	package/python-sqlalchemy/
diff --git a/package/Config.in b/package/Config.in
index d250b59995..583b379bcd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -774,6 +774,7 @@ menu "External python modules"
 	source "package/python-flask-babel/Config.in"
 	source "package/python-flask-jsonrpc/Config.in"
 	source "package/python-flask-login/Config.in"
+	source "package/python-flask-sqlalchemy/Config.in"
 	source "package/python-flup/Config.in"
 	source "package/python-futures/Config.in"
 	source "package/python-gobject/Config.in"
diff --git a/package/python-flask-sqlalchemy/Config.in b/package/python-flask-sqlalchemy/Config.in
new file mode 100644
index 0000000000..7ba6e6859c
--- /dev/null
+++ b/package/python-flask-sqlalchemy/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY
+       bool "python-flask-sqlalchemy"
+       select BR2_PACKAGE_PYTHON_FLASK # runtime
+       select BR2_PACKAGE_PYTHON_SQLALCHEMY # runtime
+       help
+         Flask-SQLAlchemy is a Flask microframework extension which
+         adds support for the SQLAlchemy SQL toolkit/ORM.
+
+         http://github.com/mitsuhiko/flask-sqlalchemy
diff --git a/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
new file mode 100644
index 0000000000..9e15b5d8f0
--- /dev/null
+++ b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/Flask-SQLAlchemy/json, sha256 locally computed
+md5    373ce61dfd03b593ad2eaba68c9fee35  Flask-SQLAlchemy-2.3.2.tar.gz
+sha256 5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53  Flask-SQLAlchemy-2.3.2.tar.gz
+sha256 de2011f25501c45f2b78bfa4f851ce021cfbab0f1e7ab763233688e0b969821f  PKG-INFO
diff --git a/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
new file mode 100644
index 0000000000..37fe603f1e
--- /dev/null
+++ b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-flask-sqlalchemy
+#
+################################################################################
+
+PYTHON_FLASK_SQLALCHEMY_VERSION = 2.3.2
+PYTHON_FLASK_SQLALCHEMY_SOURCE = Flask-SQLAlchemy-$(PYTHON_FLASK_SQLALCHEMY_VERSION).tar.gz
+PYTHON_FLASK_SQLALCHEMY_SITE = https://pypi.python.org/packages/3a/66/f5ace276517c075f102457dd2f7d8645b033758f9c6effb4e0970a90fec1
+PYTHON_FLASK_SQLALCHEMY_SETUP_TYPE = setuptools
+PYTHON_FLASK_SQLALCHEMY_LICENSE = BSD-3c
+PYTHON_FLASK_SQLALCHEMY_LICENSE_FILES = PKG-INFO
+
+$(eval $(python-package))
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 4/5] python-visitor: new package
  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:25 ` [Buildroot] [PATCH v2 3/5] python-flask-sqlalchemy: " Adam Duskett
@ 2018-02-06 13:25 ` Adam Duskett
  2018-02-06 13:37   ` 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-10 15:22 ` [Buildroot] [PATCH v2 1/5] python-psycopg2: " Thomas Petazzoni
  4 siblings, 2 replies; 21+ messages in thread
From: Adam Duskett @ 2018-02-06 13:25 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  2018-02-06 13:25 [Buildroot] [PATCH v2 1/5] python-psycopg2: new package Adam Duskett
                   ` (2 preceding siblings ...)
  2018-02-06 13:25 ` [Buildroot] [PATCH v2 4/5] python-visitor: " Adam Duskett
@ 2018-02-06 13:25 ` Adam Duskett
  2018-02-06 13:37   ` Yegor Yefremov
                     ` (2 more replies)
  2018-02-10 15:22 ` [Buildroot] [PATCH v2 1/5] python-psycopg2: " Thomas Petazzoni
  4 siblings, 3 replies; 21+ messages in thread
From: Adam Duskett @ 2018-02-06 13:25 UTC (permalink / raw)
  To: buildroot

Flask-Bootstrap packages Bootstrap into an extension that mostly consists of a
blueprint named 'bootstrap'. It can also create links to serve Bootstrap from
a CDN and works with no boilerplate code in your application.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
Changes v1 -> v2:
  - Changed license to BSD-3c (yegor)

 DEVELOPERS                                                 |  1 +
 package/Config.in                                          |  1 +
 package/python-flask-bootstrap/Config.in                   | 12 ++++++++++++
 package/python-flask-bootstrap/python-flask-bootstrap.hash |  3 +++
 package/python-flask-bootstrap/python-flask-bootstrap.mk   | 13 +++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/python-flask-bootstrap/Config.in
 create mode 100644 package/python-flask-bootstrap/python-flask-bootstrap.hash
 create mode 100644 package/python-flask-bootstrap/python-flask-bootstrap.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 32ae08c99a..4d80259b1b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -51,6 +51,7 @@ F:	package/libsemanage/
 F:	package/libsepol/
 F:	package/nginx-naxsi/
 F:	package/policycoreutils/
+F:	package/python-flask-bootstrap/
 F:	package/python-flask-sqlalchemy/
 F:	package/python-mutagen/
 F:	package/python-psycopg2/
diff --git a/package/Config.in b/package/Config.in
index 2f2b13e3c0..d967b316f4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -772,6 +772,7 @@ menu "External python modules"
 	source "package/python-flask/Config.in"
 	source "package/python-flask-cors/Config.in"
 	source "package/python-flask-babel/Config.in"
+	source "package/python-flask-bootstrap/Config.in"
 	source "package/python-flask-jsonrpc/Config.in"
 	source "package/python-flask-login/Config.in"
	source "package/python-flask-sqlalchemy/Config.in"
diff --git a/package/python-flask-bootstrap/Config.in b/package/python-flask-bootstrap/Config.in
new file mode 100644
index 0000000000..a9fecd1933
--- /dev/null
+++ b/package/python-flask-bootstrap/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_FLASK_BOOTSTRAP
+       bool "python-flask-bootstrap"
+       select BR2_PACKAGE_PYTHON_FLASK # runtime
+       select BR2_PACKAGE_PYTHON_DOMINATE # runtime
+       select BR2_PACKAGE_PYTHON_VISITOR # runtime
+       help
+         Flask-Bootstrap packages Bootstrap into an extension that
+         mostly consists of a blueprint named 'bootstrap'. It can also
+         create links to serve Bootstrap from a CDN and works with no
+         boilerplate code in your application.
+
+         http://github.com/mbr/flask-bootstrap
diff --git a/package/python-flask-bootstrap/python-flask-bootstrap.hash b/package/python-flask-bootstrap/python-flask-bootstrap.hash
new file mode 100644
index 0000000000..56b5cf5243
--- /dev/null
+++ b/package/python-flask-bootstrap/python-flask-bootstrap.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/Flask-Bootstrap/json, sha256 locally computed
+md5    e40d50f5c5b6438c1c6200a6f2871f81  Flask-Bootstrap-3.3.7.1.tar.gz
+sha256 cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8  Flask-Bootstrap-3.3.7.1.tar.gz
diff --git a/package/python-flask-bootstrap/python-flask-bootstrap.mk b/package/python-flask-bootstrap/python-flask-bootstrap.mk
new file mode 100644
index 0000000000..1c40f70564
--- /dev/null
+++ b/package/python-flask-bootstrap/python-flask-bootstrap.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-flask-bootstrap
+#
+################################################################################
+
+PYTHON_FLASK_BOOTSTRAP_VERSION = 3.3.7.1
+PYTHON_FLASK_BOOTSTRAP_SOURCE = Flask-Bootstrap-$(PYTHON_FLASK_BOOTSTRAP_VERSION).tar.gz
+PYTHON_FLASK_BOOTSTRAP_SITE = https://pypi.python.org/packages/88/53/958ce7c2aa26280b7fd7f3eecbf13053f1302ee2acb1db58ef32e1c23c2a
+PYTHON_FLASK_BOOTSTRAP_SETUP_TYPE = setuptools
+PYTHON_FLASK_BOOTSTRAP_LICENSE = BSD-3c
+
+$(eval $(python-package))
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  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-09-16 20:05   ` Thomas Petazzoni
  2 siblings, 0 replies; 21+ messages in thread
From: Yegor Yefremov @ 2018-02-06 13:37 UTC (permalink / raw)
  To: buildroot

On Tue, Feb 6, 2018 at 2:25 PM, Adam Duskett <aduskett@gmail.com> wrote:
> Flask-Bootstrap packages Bootstrap into an extension that mostly consists of a
> blueprint named 'bootstrap'. It can also create links to serve Bootstrap from
> a CDN and works with no boilerplate code in your application.
>
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

> ---
> Changes v1 -> v2:
>   - Changed license to BSD-3c (yegor)
>
>  DEVELOPERS                                                 |  1 +
>  package/Config.in                                          |  1 +
>  package/python-flask-bootstrap/Config.in                   | 12 ++++++++++++
>  package/python-flask-bootstrap/python-flask-bootstrap.hash |  3 +++
>  package/python-flask-bootstrap/python-flask-bootstrap.mk   | 13 +++++++++++++
>  5 files changed, 30 insertions(+)
>  create mode 100644 package/python-flask-bootstrap/Config.in
>  create mode 100644 package/python-flask-bootstrap/python-flask-bootstrap.hash
>  create mode 100644 package/python-flask-bootstrap/python-flask-bootstrap.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 32ae08c99a..4d80259b1b 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -51,6 +51,7 @@ F:    package/libsemanage/
>  F:     package/libsepol/
>  F:     package/nginx-naxsi/
>  F:     package/policycoreutils/
> +F:     package/python-flask-bootstrap/
>  F:     package/python-flask-sqlalchemy/
>  F:     package/python-mutagen/
>  F:     package/python-psycopg2/
> diff --git a/package/Config.in b/package/Config.in
> index 2f2b13e3c0..d967b316f4 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -772,6 +772,7 @@ menu "External python modules"
>         source "package/python-flask/Config.in"
>         source "package/python-flask-cors/Config.in"
>         source "package/python-flask-babel/Config.in"
> +       source "package/python-flask-bootstrap/Config.in"
>         source "package/python-flask-jsonrpc/Config.in"
>         source "package/python-flask-login/Config.in"
>         source "package/python-flask-sqlalchemy/Config.in"
> diff --git a/package/python-flask-bootstrap/Config.in b/package/python-flask-bootstrap/Config.in
> new file mode 100644
> index 0000000000..a9fecd1933
> --- /dev/null
> +++ b/package/python-flask-bootstrap/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_PYTHON_FLASK_BOOTSTRAP
> +       bool "python-flask-bootstrap"
> +       select BR2_PACKAGE_PYTHON_FLASK # runtime
> +       select BR2_PACKAGE_PYTHON_DOMINATE # runtime
> +       select BR2_PACKAGE_PYTHON_VISITOR # runtime
> +       help
> +         Flask-Bootstrap packages Bootstrap into an extension that
> +         mostly consists of a blueprint named 'bootstrap'. It can also
> +         create links to serve Bootstrap from a CDN and works with no
> +         boilerplate code in your application.
> +
> +         http://github.com/mbr/flask-bootstrap
> diff --git a/package/python-flask-bootstrap/python-flask-bootstrap.hash b/package/python-flask-bootstrap/python-flask-bootstrap.hash
> new file mode 100644
> index 0000000000..56b5cf5243
> --- /dev/null
> +++ b/package/python-flask-bootstrap/python-flask-bootstrap.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi/Flask-Bootstrap/json, sha256 locally computed
> +md5    e40d50f5c5b6438c1c6200a6f2871f81  Flask-Bootstrap-3.3.7.1.tar.gz
> +sha256 cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8  Flask-Bootstrap-3.3.7.1.tar.gz
> diff --git a/package/python-flask-bootstrap/python-flask-bootstrap.mk b/package/python-flask-bootstrap/python-flask-bootstrap.mk
> new file mode 100644
> index 0000000000..1c40f70564
> --- /dev/null
> +++ b/package/python-flask-bootstrap/python-flask-bootstrap.mk
> @@ -0,0 +1,13 @@
> +################################################################################
> +#
> +# python-flask-bootstrap
> +#
> +################################################################################
> +
> +PYTHON_FLASK_BOOTSTRAP_VERSION = 3.3.7.1
> +PYTHON_FLASK_BOOTSTRAP_SOURCE = Flask-Bootstrap-$(PYTHON_FLASK_BOOTSTRAP_VERSION).tar.gz
> +PYTHON_FLASK_BOOTSTRAP_SITE = https://pypi.python.org/packages/88/53/958ce7c2aa26280b7fd7f3eecbf13053f1302ee2acb1db58ef32e1c23c2a
> +PYTHON_FLASK_BOOTSTRAP_SETUP_TYPE = setuptools
> +PYTHON_FLASK_BOOTSTRAP_LICENSE = BSD-3c
> +
> +$(eval $(python-package))
> --
> 2.14.3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 4/5] python-visitor: new package
  2018-02-06 13:25 ` [Buildroot] [PATCH v2 4/5] python-visitor: " Adam Duskett
@ 2018-02-06 13:37   ` Yegor Yefremov
  2018-04-27 21:27   ` Thomas Petazzoni
  1 sibling, 0 replies; 21+ messages in thread
From: Yegor Yefremov @ 2018-02-06 13:37 UTC (permalink / raw)
  To: buildroot

On Tue, Feb 6, 2018 at 2:25 PM, Adam Duskett <aduskett@gmail.com> wrote:
> A tiny library to facilitate visitor implementation in Python
>
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 3/5] python-flask-sqlalchemy: new package
  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
  1 sibling, 0 replies; 21+ messages in thread
From: Yegor Yefremov @ 2018-02-06 13:37 UTC (permalink / raw)
  To: buildroot

On Tue, Feb 6, 2018 at 2:25 PM, Adam Duskett <aduskett@gmail.com> wrote:
> Flask-SQLAlchemy is a Flask microframework extension which adds support for
> the SQLAlchemy SQL toolkit/ORM.
>
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

> ---
> Changes v1 -> v2:
>   - Changed license to BSD-3c (yegor)
>
>  DEVELOPERS                                                 |  1 +
>  package/Config.in                                          |  1 +
>  package/python-flask-sqlalchemy/Config.in                  |  9 +++++++++
>  .../python-flask-sqlalchemy/python-flask-sqlalchemy.hash   |  4 ++++
>  package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk | 14 ++++++++++++++
>  5 files changed, 29 insertions(+)
>  create mode 100644 package/python-flask-sqlalchemy/Config.in
>  create mode 100644 package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
>  create mode 100644 package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index f82f33a1c0..fdc4621a7f 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -51,6 +51,7 @@ F:    package/libsemanage/
>  F:     package/libsepol/
>  F:     package/nginx-naxsi/
>  F:     package/policycoreutils/
> +F:     package/python-flask-sqlalchemy/
>  F:     package/python-mutagen/
>  F:     package/python-psycopg2/
>  F:     package/python-sqlalchemy/
> diff --git a/package/Config.in b/package/Config.in
> index d250b59995..583b379bcd 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -774,6 +774,7 @@ menu "External python modules"
>         source "package/python-flask-babel/Config.in"
>         source "package/python-flask-jsonrpc/Config.in"
>         source "package/python-flask-login/Config.in"
> +       source "package/python-flask-sqlalchemy/Config.in"
>         source "package/python-flup/Config.in"
>         source "package/python-futures/Config.in"
>         source "package/python-gobject/Config.in"
> diff --git a/package/python-flask-sqlalchemy/Config.in b/package/python-flask-sqlalchemy/Config.in
> new file mode 100644
> index 0000000000..7ba6e6859c
> --- /dev/null
> +++ b/package/python-flask-sqlalchemy/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY
> +       bool "python-flask-sqlalchemy"
> +       select BR2_PACKAGE_PYTHON_FLASK # runtime
> +       select BR2_PACKAGE_PYTHON_SQLALCHEMY # runtime
> +       help
> +         Flask-SQLAlchemy is a Flask microframework extension which
> +         adds support for the SQLAlchemy SQL toolkit/ORM.
> +
> +         http://github.com/mitsuhiko/flask-sqlalchemy
> diff --git a/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
> new file mode 100644
> index 0000000000..9e15b5d8f0
> --- /dev/null
> +++ b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
> @@ -0,0 +1,4 @@
> +# md5 from https://pypi.python.org/pypi/Flask-SQLAlchemy/json, sha256 locally computed
> +md5    373ce61dfd03b593ad2eaba68c9fee35  Flask-SQLAlchemy-2.3.2.tar.gz
> +sha256 5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53  Flask-SQLAlchemy-2.3.2.tar.gz
> +sha256 de2011f25501c45f2b78bfa4f851ce021cfbab0f1e7ab763233688e0b969821f  PKG-INFO
> diff --git a/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
> new file mode 100644
> index 0000000000..37fe603f1e
> --- /dev/null
> +++ b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-flask-sqlalchemy
> +#
> +################################################################################
> +
> +PYTHON_FLASK_SQLALCHEMY_VERSION = 2.3.2
> +PYTHON_FLASK_SQLALCHEMY_SOURCE = Flask-SQLAlchemy-$(PYTHON_FLASK_SQLALCHEMY_VERSION).tar.gz
> +PYTHON_FLASK_SQLALCHEMY_SITE = https://pypi.python.org/packages/3a/66/f5ace276517c075f102457dd2f7d8645b033758f9c6effb4e0970a90fec1
> +PYTHON_FLASK_SQLALCHEMY_SETUP_TYPE = setuptools
> +PYTHON_FLASK_SQLALCHEMY_LICENSE = BSD-3c
> +PYTHON_FLASK_SQLALCHEMY_LICENSE_FILES = PKG-INFO
> +
> +$(eval $(python-package))
> --
> 2.14.3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 2/5] python-sqlalchemy: new package
  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
  1 sibling, 0 replies; 21+ messages in thread
From: Yegor Yefremov @ 2018-02-06 13:38 UTC (permalink / raw)
  To: buildroot

On Tue, Feb 6, 2018 at 2:25 PM, Adam Duskett <aduskett@gmail.com> wrote:
> SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
> application developers the full power and flexibility of SQL.
>
> It provides a full suite of well known enterprise-level persistence patterns,
> designed for efficient and high-performing database access, adapted into a
> simple and Pythonic domain language.
>
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

> ---
> Changes v1 -> v2:
>   - None
>
>  DEVELOPERS                                       |  1 +
>  package/Config.in                                |  1 +
>  package/python-sqlalchemy/Config.in              | 13 +++++++++++++
>  package/python-sqlalchemy/python-sqlalchemy.hash |  4 ++++
>  package/python-sqlalchemy/python-sqlalchemy.mk   | 14 ++++++++++++++
>  5 files changed, 33 insertions(+)
>  create mode 100644 package/python-sqlalchemy/Config.in
>  create mode 100644 package/python-sqlalchemy/python-sqlalchemy.hash
>  create mode 100644 package/python-sqlalchemy/python-sqlalchemy.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 8cf0836a1a..f82f33a1c0 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -53,6 +53,7 @@ F:    package/nginx-naxsi/
>  F:     package/policycoreutils/
>  F:     package/python-mutagen/
>  F:     package/python-psycopg2/
> +F:     package/python-sqlalchemy/
>  F:     package/restorecond/
>  F:     package/refpolicy/
>  F:     package/selinux-python/
> diff --git a/package/Config.in b/package/Config.in
> index b039dea58f..d250b59995 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -919,6 +919,7 @@ menu "External python modules"
>         source "package/python-socketio/Config.in"
>         source "package/python-sortedcontainers//Config.in"
>         source "package/python-spidev/Config.in"
> +       source "package/python-sqlalchemy/Config.in"
>         source "package/python-systemd/Config.in"
>         source "package/python-tabledata/Config.in"
>         source "package/python-tempora/Config.in"
> diff --git a/package/python-sqlalchemy/Config.in b/package/python-sqlalchemy/Config.in
> new file mode 100644
> index 0000000000..65d3622e2e
> --- /dev/null
> +++ b/package/python-sqlalchemy/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_PYTHON_SQLALCHEMY
> +       bool "python-sqlalchemy"
> +       help
> +         SQLAlchemy is the Python SQL toolkit and Object Relational
> +         Mapper that gives application developers the full power and
> +         flexibility of SQL.
> +
> +         It provides a full suite of well known enterprise-level
> +         persistence patterns, designed for efficient and
> +         high-performing database access, adapted into a simple and
> +         Pythonic domain language.
> +
> +         http://www.sqlalchemy.org
> diff --git a/package/python-sqlalchemy/python-sqlalchemy.hash b/package/python-sqlalchemy/python-sqlalchemy.hash
> new file mode 100644
> index 0000000000..9e13a2f20f
> --- /dev/null
> +++ b/package/python-sqlalchemy/python-sqlalchemy.hash
> @@ -0,0 +1,4 @@
> +# md5 from https://pypi.python.org/pypi/SQLAlchemy/json, sha256 locally computed
> +md5    968e07dc0aa92f9205bb3877f33f498f  SQLAlchemy-1.2.2.tar.gz
> +sha256 64b4720f0a8e033db0154d3824f5bf677cf2797e11d44743cf0aebd2a0499d9d  SQLAlchemy-1.2.2.tar.gz
> +sha256 73bda3d7d6c568f494c1d12520a97d41a38b7ce91d88c21f1b469b747b17f7fd  LICENSE
> diff --git a/package/python-sqlalchemy/python-sqlalchemy.mk b/package/python-sqlalchemy/python-sqlalchemy.mk
> new file mode 100644
> index 0000000000..c0023712a2
> --- /dev/null
> +++ b/package/python-sqlalchemy/python-sqlalchemy.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-sqlalchemy
> +#
> +################################################################################
> +
> +PYTHON_SQLALCHEMY_VERSION = 1.2.2
> +PYTHON_SQLALCHEMY_SOURCE = SQLAlchemy-$(PYTHON_SQLALCHEMY_VERSION).tar.gz
> +PYTHON_SQLALCHEMY_SITE = https://pypi.python.org/packages/b9/fb/a56d2fc0ce3571328fa872734ad124cae25a4cea422088987f865fb71787
> +PYTHON_SQLALCHEMY_SETUP_TYPE = setuptools
> +PYTHON_SQLALCHEMY_LICENSE = MIT
> +PYTHON_SQLALCHEMY_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
> --
> 2.14.3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 2/5] python-sqlalchemy: new package
  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
  1 sibling, 0 replies; 21+ messages in thread
From: Thomas Petazzoni @ 2018-02-10 15:21 UTC (permalink / raw)
  To: buildroot

Hello,

Thanks for this contribution.

On Tue,  6 Feb 2018 08:25:03 -0500, Adam Duskett wrote:
> SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
> application developers the full power and flexibility of SQL.
> 
> It provides a full suite of well known enterprise-level persistence patterns,
> designed for efficient and high-performing database access, adapted into a
> simple and Pythonic domain language.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

It would be nice to run check-package before submitting packages:

$ ./utils/check-package package/python-sqlalchemy/*
package/python-sqlalchemy/Config.in:2: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-sqlalchemy/Config.in:3: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-sqlalchemy/Config.in:4: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-sqlalchemy/Config.in:5: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-sqlalchemy/Config.in:6: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-sqlalchemy/Config.in:8: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-sqlalchemy/Config.in:9: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-sqlalchemy/Config.in:10: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-sqlalchemy/Config.in:11: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
31 lines processed
9 warnings generated

I've fixed those issues and applied to next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 1/5] python-psycopg2: new package
  2018-02-06 13:25 [Buildroot] [PATCH v2 1/5] python-psycopg2: new package Adam Duskett
                   ` (3 preceding siblings ...)
  2018-02-06 13:25 ` [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: " Adam Duskett
@ 2018-02-10 15:22 ` Thomas Petazzoni
  2018-02-10 17:40   ` Yegor Yefremov
  4 siblings, 1 reply; 21+ messages in thread
From: Thomas Petazzoni @ 2018-02-10 15:22 UTC (permalink / raw)
  To: buildroot

Hello Yegor,

Any reason why you review all patches in this series, except this first
one ? Do you have issues/comments with it, or is it just that you had
no time/interest ?

Thanks a lot for having reviewed all other patches, that is very useful!

Thomas

On Tue,  6 Feb 2018 08:25:02 -0500, Adam Duskett wrote:
> Psycopg is the most popular PostgreSQL database adapter for the Python
> programming language. Its main features are the complete implementation of the
> Python DB API 2.0 specification and the thread safety (several threads can
> share the same connection). It was designed for heavily multi-threaded
> applications that create and destroy lots of cursors and make a large number of
> concurrent INSERTs or UPDATEs.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
> ---
> Changes v1 -> v2:
>   - None
> 
>  DEVELOPERS                                         |  1 +
>  package/Config.in                                  |  1 +
>  .../python-psycopg2/0001-don-t-use-pg_config.patch | 49 ++++++++++++++++++++++
>  package/python-psycopg2/Config.in                  | 23 ++++++++++
>  package/python-psycopg2/python-psycopg2.hash       |  4 ++
>  package/python-psycopg2/python-psycopg2.mk         | 20 +++++++++
>  6 files changed, 98 insertions(+)
>  create mode 100644 package/python-psycopg2/0001-don-t-use-pg_config.patch
>  create mode 100644 package/python-psycopg2/Config.in
>  create mode 100644 package/python-psycopg2/python-psycopg2.hash
>  create mode 100644 package/python-psycopg2/python-psycopg2.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index c524cb6ac5..8cf0836a1a 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -52,6 +52,7 @@ F:	package/libsepol/
>  F:	package/nginx-naxsi/
>  F:	package/policycoreutils/
>  F:	package/python-mutagen/
> +F:	package/python-psycopg2/
>  F:	package/restorecond/
>  F:	package/refpolicy/
>  F:	package/selinux-python/
> diff --git a/package/Config.in b/package/Config.in
> index 9cd5d9c087..b039dea58f 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -844,6 +844,7 @@ menu "External python modules"
>  	source "package/python-prompt-toolkit/Config.in"
>  	source "package/python-protobuf/Config.in"
>  	source "package/python-psutil/Config.in"
> +	source "package/python-psycopg2/Config.in"
>  	source "package/python-ptyprocess/Config.in"
>  	source "package/python-pudb/Config.in"
>  	source "package/python-pyasn/Config.in"
> diff --git a/package/python-psycopg2/0001-don-t-use-pg_config.patch b/package/python-psycopg2/0001-don-t-use-pg_config.patch
> new file mode 100644
> index 0000000000..e82e61b514
> --- /dev/null
> +++ b/package/python-psycopg2/0001-don-t-use-pg_config.patch
> @@ -0,0 +1,49 @@
> +From 92d42775735d1555449b860c214ca7265d7ad75b Mon Sep 17 00:00:00 2001
> +From: Mark Asselstine <mark.asselstine@windriver.com>
> +Date: Tue, 24 Jan 2017 00:43:35 +0900
> +Subject: [PATCH] setup: don't use pg_config
> +
> +pg_config is used to get library and include directories, and the postgresql
> +version. All of which is not available in the cross compiled version.
> +
> +Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
> +Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
> +[aduskett at gmail.com: Update for psycopg2 2.7.3.2]
> +Signed-off-by: Adam Duskett <aduskett@gmail.com>
> +---
> + setup.py | 6 ++----
> + 1 file changed, 2 insertions(+), 4 deletions(-)
> +
> +diff --git a/setup.py b/setup.py
> +index 86f32d2..05b8eeb 100644
> +--- a/setup.py
> ++++ b/setup.py
> +@@ -404,16 +404,13 @@ class psycopg_build_ext(build_ext):
> +             self.libraries.append("pq")
> +
> +         try:
> +-            self.library_dirs.append(pg_config_helper.query("libdir"))
> +-            self.include_dirs.append(pg_config_helper.query("includedir"))
> +-            self.include_dirs.append(pg_config_helper.query("includedir-server"))
> +             try:
> +                 # Here we take a conservative approach: we suppose that
> +                 # *at least* PostgreSQL 7.4 is available (this is the only
> +                 # 7.x series supported by psycopg 2)
> +                 pgversion = pg_config_helper.query("version").split()[1]
> +             except:
> +-                pgversion = "7.4.0"
> ++                pgversion = str(os.environ['PSYCOPG2_POSTGRESQL_VERSION'])
> +
> +             verre = re.compile(
> +                 r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?")
> +@@ -525,6 +522,7 @@ parser.read('setup.cfg')
> + # Choose a datetime module
> + have_pydatetime = True
> + have_mxdatetime = False
> ++pg_config="/bin/true"
> + use_pydatetime = int(parser.get('build_ext', 'use_pydatetime'))
> +
> + # check for mx package
> +--
> +2.14.3
> +
> diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in
> new file mode 100644
> index 0000000000..c861ac2284
> --- /dev/null
> +++ b/package/python-psycopg2/Config.in
> @@ -0,0 +1,23 @@
> +config BR2_PACKAGE_PYTHON_PSYCOPG2
> +       bool "python-psycopg2"
> +       select BR2_PACKAGE_POSTGRESQL
> +       help
> +         Psycopg is the most popular PostgreSQL database adapter for
> +         the Python programming language. Its main features are the
> +         complete implementation of the Python DB API 2.0 specification
> +         and the thread safety (several threads can share the same
> +         connection). It was designed for heavily multi-threaded
> +         applications that create and destroy lots of cursors and make
> +         a large number of concurrent INSERTs or UPDATEs.
> +
> +         Psycopg 2 is mostly implemented in C as a libpq wrapper,
> +         resulting in being both efficient and secure. It features
> +         client-side and server-side cursors, asynchronous
> +         communication and notifications, COPY support. Many Python
> +         types are supported out-of-the-box and adapted to matching
> +         PostgreSQL data types; adaptation can be extended and
> +         customized thanks to a flexible objects adaptation system.
> +
> +         Psycopg 2 is both Unicode and Python 3 friendly.
> +
> +         http://initd.org/psycopg/
> diff --git a/package/python-psycopg2/python-psycopg2.hash b/package/python-psycopg2/python-psycopg2.hash
> new file mode 100644
> index 0000000000..a2cbb1f186
> --- /dev/null
> +++ b/package/python-psycopg2/python-psycopg2.hash
> @@ -0,0 +1,4 @@
> +# md5 from https://pypi.python.org/pypi/psycopg2/json, sha256 locally computed
> +md5    8114e672d5f23fa5329874a4314fbd6f  psycopg2-2.7.3.2.tar.gz
> +sha256 5c3213be557d0468f9df8fe2487eaf2990d9799202c5ff5cb8d394d09fad9b2a  psycopg2-2.7.3.2.tar.gz
> +sha256 1752db3c786e12b62ca804178dca033adce8bff4c4b3d98d3449d407fe45210d  LICENSE
> diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk
> new file mode 100644
> index 0000000000..2d50624433
> --- /dev/null
> +++ b/package/python-psycopg2/python-psycopg2.mk
> @@ -0,0 +1,20 @@
> +################################################################################
> +#
> +# python-psycopg2
> +#
> +################################################################################
> +
> +PYTHON_PSYCOPG2_VERSION = 2.7.3.2
> +PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
> +PYTHON_PSYCOPG2_SITE = https://pypi.python.org/packages/dd/47/000b405d73ca22980684fd7bd3318690cc03cfa3b2ae1c5b7fff8050b28a
> +PYTHON_PSYCOPG2_SETUP_TYPE = setuptools
> +PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+
> +PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE
> +PYTHON_PSYCOPG2_DEPENDENCIES = postgresql
> +
> +# Force psycopg2 to use the BuildRoot provided postgresql version instead of
> +# The host machines
> +PYTHON_PSYCOPG2_ENV += \
> +       PSYCOPG2_POSTGRESQL_VERSION=$(POSTGRESQL_VERSION)
> +
> +$(eval $(python-package))



-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 3/5] python-flask-sqlalchemy: new package
  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
  1 sibling, 0 replies; 21+ messages in thread
From: Thomas Petazzoni @ 2018-02-10 15:28 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  6 Feb 2018 08:25:04 -0500, Adam Duskett wrote:
> Flask-SQLAlchemy is a Flask microframework extension which adds support for
> the SQLAlchemy SQL toolkit/ORM.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
> ---
> Changes v1 -> v2:
>   - Changed license to BSD-3c (yegor)

This one also had check-package warnings, which I fixed, and applied to
next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 1/5] python-psycopg2: new package
  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
  0 siblings, 1 reply; 21+ messages in thread
From: Yegor Yefremov @ 2018-02-10 17:40 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Sat, Feb 10, 2018 at 4:22 PM, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Hello Yegor,
>
> Any reason why you review all patches in this series, except this first
> one ? Do you have issues/comments with it, or is it just that you had
> no time/interest ?

I had no time to review this patch, especially 0001-don-t-use-pg_config.patch.

Other than that everything looks OK. So I have no issues with this patch.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

Yegor

> Thanks a lot for having reviewed all other patches, that is very useful!
>
> Thomas
>
> On Tue,  6 Feb 2018 08:25:02 -0500, Adam Duskett wrote:
>> Psycopg is the most popular PostgreSQL database adapter for the Python
>> programming language. Its main features are the complete implementation of the
>> Python DB API 2.0 specification and the thread safety (several threads can
>> share the same connection). It was designed for heavily multi-threaded
>> applications that create and destroy lots of cursors and make a large number of
>> concurrent INSERTs or UPDATEs.
>>
>> Signed-off-by: Adam Duskett <aduskett@gmail.com>
>> ---
>> Changes v1 -> v2:
>>   - None
>>
>>  DEVELOPERS                                         |  1 +
>>  package/Config.in                                  |  1 +
>>  .../python-psycopg2/0001-don-t-use-pg_config.patch | 49 ++++++++++++++++++++++
>>  package/python-psycopg2/Config.in                  | 23 ++++++++++
>>  package/python-psycopg2/python-psycopg2.hash       |  4 ++
>>  package/python-psycopg2/python-psycopg2.mk         | 20 +++++++++
>>  6 files changed, 98 insertions(+)
>>  create mode 100644 package/python-psycopg2/0001-don-t-use-pg_config.patch
>>  create mode 100644 package/python-psycopg2/Config.in
>>  create mode 100644 package/python-psycopg2/python-psycopg2.hash
>>  create mode 100644 package/python-psycopg2/python-psycopg2.mk
>>
>> diff --git a/DEVELOPERS b/DEVELOPERS
>> index c524cb6ac5..8cf0836a1a 100644
>> --- a/DEVELOPERS
>> +++ b/DEVELOPERS
>> @@ -52,6 +52,7 @@ F:  package/libsepol/
>>  F:   package/nginx-naxsi/
>>  F:   package/policycoreutils/
>>  F:   package/python-mutagen/
>> +F:   package/python-psycopg2/
>>  F:   package/restorecond/
>>  F:   package/refpolicy/
>>  F:   package/selinux-python/
>> diff --git a/package/Config.in b/package/Config.in
>> index 9cd5d9c087..b039dea58f 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -844,6 +844,7 @@ menu "External python modules"
>>       source "package/python-prompt-toolkit/Config.in"
>>       source "package/python-protobuf/Config.in"
>>       source "package/python-psutil/Config.in"
>> +     source "package/python-psycopg2/Config.in"
>>       source "package/python-ptyprocess/Config.in"
>>       source "package/python-pudb/Config.in"
>>       source "package/python-pyasn/Config.in"
>> diff --git a/package/python-psycopg2/0001-don-t-use-pg_config.patch b/package/python-psycopg2/0001-don-t-use-pg_config.patch
>> new file mode 100644
>> index 0000000000..e82e61b514
>> --- /dev/null
>> +++ b/package/python-psycopg2/0001-don-t-use-pg_config.patch
>> @@ -0,0 +1,49 @@
>> +From 92d42775735d1555449b860c214ca7265d7ad75b Mon Sep 17 00:00:00 2001
>> +From: Mark Asselstine <mark.asselstine@windriver.com>
>> +Date: Tue, 24 Jan 2017 00:43:35 +0900
>> +Subject: [PATCH] setup: don't use pg_config
>> +
>> +pg_config is used to get library and include directories, and the postgresql
>> +version. All of which is not available in the cross compiled version.
>> +
>> +Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
>> +Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
>> +[aduskett at gmail.com: Update for psycopg2 2.7.3.2]
>> +Signed-off-by: Adam Duskett <aduskett@gmail.com>
>> +---
>> + setup.py | 6 ++----
>> + 1 file changed, 2 insertions(+), 4 deletions(-)
>> +
>> +diff --git a/setup.py b/setup.py
>> +index 86f32d2..05b8eeb 100644
>> +--- a/setup.py
>> ++++ b/setup.py
>> +@@ -404,16 +404,13 @@ class psycopg_build_ext(build_ext):
>> +             self.libraries.append("pq")
>> +
>> +         try:
>> +-            self.library_dirs.append(pg_config_helper.query("libdir"))
>> +-            self.include_dirs.append(pg_config_helper.query("includedir"))
>> +-            self.include_dirs.append(pg_config_helper.query("includedir-server"))
>> +             try:
>> +                 # Here we take a conservative approach: we suppose that
>> +                 # *at least* PostgreSQL 7.4 is available (this is the only
>> +                 # 7.x series supported by psycopg 2)
>> +                 pgversion = pg_config_helper.query("version").split()[1]
>> +             except:
>> +-                pgversion = "7.4.0"
>> ++                pgversion = str(os.environ['PSYCOPG2_POSTGRESQL_VERSION'])
>> +
>> +             verre = re.compile(
>> +                 r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?")
>> +@@ -525,6 +522,7 @@ parser.read('setup.cfg')
>> + # Choose a datetime module
>> + have_pydatetime = True
>> + have_mxdatetime = False
>> ++pg_config="/bin/true"
>> + use_pydatetime = int(parser.get('build_ext', 'use_pydatetime'))
>> +
>> + # check for mx package
>> +--
>> +2.14.3
>> +
>> diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in
>> new file mode 100644
>> index 0000000000..c861ac2284
>> --- /dev/null
>> +++ b/package/python-psycopg2/Config.in
>> @@ -0,0 +1,23 @@
>> +config BR2_PACKAGE_PYTHON_PSYCOPG2
>> +       bool "python-psycopg2"
>> +       select BR2_PACKAGE_POSTGRESQL
>> +       help
>> +         Psycopg is the most popular PostgreSQL database adapter for
>> +         the Python programming language. Its main features are the
>> +         complete implementation of the Python DB API 2.0 specification
>> +         and the thread safety (several threads can share the same
>> +         connection). It was designed for heavily multi-threaded
>> +         applications that create and destroy lots of cursors and make
>> +         a large number of concurrent INSERTs or UPDATEs.
>> +
>> +         Psycopg 2 is mostly implemented in C as a libpq wrapper,
>> +         resulting in being both efficient and secure. It features
>> +         client-side and server-side cursors, asynchronous
>> +         communication and notifications, COPY support. Many Python
>> +         types are supported out-of-the-box and adapted to matching
>> +         PostgreSQL data types; adaptation can be extended and
>> +         customized thanks to a flexible objects adaptation system.
>> +
>> +         Psycopg 2 is both Unicode and Python 3 friendly.
>> +
>> +         http://initd.org/psycopg/
>> diff --git a/package/python-psycopg2/python-psycopg2.hash b/package/python-psycopg2/python-psycopg2.hash
>> new file mode 100644
>> index 0000000000..a2cbb1f186
>> --- /dev/null
>> +++ b/package/python-psycopg2/python-psycopg2.hash
>> @@ -0,0 +1,4 @@
>> +# md5 from https://pypi.python.org/pypi/psycopg2/json, sha256 locally computed
>> +md5    8114e672d5f23fa5329874a4314fbd6f  psycopg2-2.7.3.2.tar.gz
>> +sha256 5c3213be557d0468f9df8fe2487eaf2990d9799202c5ff5cb8d394d09fad9b2a  psycopg2-2.7.3.2.tar.gz
>> +sha256 1752db3c786e12b62ca804178dca033adce8bff4c4b3d98d3449d407fe45210d  LICENSE
>> diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk
>> new file mode 100644
>> index 0000000000..2d50624433
>> --- /dev/null
>> +++ b/package/python-psycopg2/python-psycopg2.mk
>> @@ -0,0 +1,20 @@
>> +################################################################################
>> +#
>> +# python-psycopg2
>> +#
>> +################################################################################
>> +
>> +PYTHON_PSYCOPG2_VERSION = 2.7.3.2
>> +PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
>> +PYTHON_PSYCOPG2_SITE = https://pypi.python.org/packages/dd/47/000b405d73ca22980684fd7bd3318690cc03cfa3b2ae1c5b7fff8050b28a
>> +PYTHON_PSYCOPG2_SETUP_TYPE = setuptools
>> +PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+
>> +PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE
>> +PYTHON_PSYCOPG2_DEPENDENCIES = postgresql
>> +
>> +# Force psycopg2 to use the BuildRoot provided postgresql version instead of
>> +# The host machines
>> +PYTHON_PSYCOPG2_ENV += \
>> +       PSYCOPG2_POSTGRESQL_VERSION=$(POSTGRESQL_VERSION)
>> +
>> +$(eval $(python-package))
>
>
>
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> http://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 1/5] python-psycopg2: new package
  2018-02-10 17:40   ` Yegor Yefremov
@ 2018-02-12 12:06     ` Adam Duskett
  2018-02-12 13:48       ` Thomas Petazzoni
  0 siblings, 1 reply; 21+ messages in thread
From: Adam Duskett @ 2018-02-12 12:06 UTC (permalink / raw)
  To: buildroot

Hello;

On Sat, Feb 10, 2018 at 12:40 PM, Yegor Yefremov
<yegorslists@googlemail.com> wrote:
> Hi Thomas,
>
> On Sat, Feb 10, 2018 at 4:22 PM, Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
>> Hello Yegor,
>>
>> Any reason why you review all patches in this series, except this first
>> one ? Do you have issues/comments with it, or is it just that you had
>> no time/interest ?
>
> I had no time to review this patch, especially 0001-don-t-use-pg_config.patch.
>
This patch is from yocto actually.  pg_config is called by setup.py to
get the PostgreSQL server version.
There are two problems with this:

1) There is no way to specify a path to pg_config, so it uses the
hosts pg_config (if it's not available it causes an error)
2) Even if you do use pg_config, the one generated during
cross-compilation doesn't print out the version information
    that setup.py is looking for.

So the patch was modified from the original yocto version to work with
BuildRoot, instead looking for the variable
$(PSYCOPG2_POSTGRESQL_VERSION), which is just passed on to setup.py
from the .mk file.

This makes it so updating to new version of PostgreSQL in the future
doesn't break psycopg2.


Thanks!

Adam

> Other than that everything looks OK. So I have no issues with this patch.
>
> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
>
> Yegor
>
>> Thanks a lot for having reviewed all other patches, that is very useful!
>>
>> Thomas
>>
>> On Tue,  6 Feb 2018 08:25:02 -0500, Adam Duskett wrote:
>>> Psycopg is the most popular PostgreSQL database adapter for the Python
>>> programming language. Its main features are the complete implementation of the
>>> Python DB API 2.0 specification and the thread safety (several threads can
>>> share the same connection). It was designed for heavily multi-threaded
>>> applications that create and destroy lots of cursors and make a large number of
>>> concurrent INSERTs or UPDATEs.
>>>
>>> Signed-off-by: Adam Duskett <aduskett@gmail.com>
>>> ---
>>> Changes v1 -> v2:
>>>   - None
>>>
>>>  DEVELOPERS                                         |  1 +
>>>  package/Config.in                                  |  1 +
>>>  .../python-psycopg2/0001-don-t-use-pg_config.patch | 49 ++++++++++++++++++++++
>>>  package/python-psycopg2/Config.in                  | 23 ++++++++++
>>>  package/python-psycopg2/python-psycopg2.hash       |  4 ++
>>>  package/python-psycopg2/python-psycopg2.mk         | 20 +++++++++
>>>  6 files changed, 98 insertions(+)
>>>  create mode 100644 package/python-psycopg2/0001-don-t-use-pg_config.patch
>>>  create mode 100644 package/python-psycopg2/Config.in
>>>  create mode 100644 package/python-psycopg2/python-psycopg2.hash
>>>  create mode 100644 package/python-psycopg2/python-psycopg2.mk
>>>
>>> diff --git a/DEVELOPERS b/DEVELOPERS
>>> index c524cb6ac5..8cf0836a1a 100644
>>> --- a/DEVELOPERS
>>> +++ b/DEVELOPERS
>>> @@ -52,6 +52,7 @@ F:  package/libsepol/
>>>  F:   package/nginx-naxsi/
>>>  F:   package/policycoreutils/
>>>  F:   package/python-mutagen/
>>> +F:   package/python-psycopg2/
>>>  F:   package/restorecond/
>>>  F:   package/refpolicy/
>>>  F:   package/selinux-python/
>>> diff --git a/package/Config.in b/package/Config.in
>>> index 9cd5d9c087..b039dea58f 100644
>>> --- a/package/Config.in
>>> +++ b/package/Config.in
>>> @@ -844,6 +844,7 @@ menu "External python modules"
>>>       source "package/python-prompt-toolkit/Config.in"
>>>       source "package/python-protobuf/Config.in"
>>>       source "package/python-psutil/Config.in"
>>> +     source "package/python-psycopg2/Config.in"
>>>       source "package/python-ptyprocess/Config.in"
>>>       source "package/python-pudb/Config.in"
>>>       source "package/python-pyasn/Config.in"
>>> diff --git a/package/python-psycopg2/0001-don-t-use-pg_config.patch b/package/python-psycopg2/0001-don-t-use-pg_config.patch
>>> new file mode 100644
>>> index 0000000000..e82e61b514
>>> --- /dev/null
>>> +++ b/package/python-psycopg2/0001-don-t-use-pg_config.patch
>>> @@ -0,0 +1,49 @@
>>> +From 92d42775735d1555449b860c214ca7265d7ad75b Mon Sep 17 00:00:00 2001
>>> +From: Mark Asselstine <mark.asselstine@windriver.com>
>>> +Date: Tue, 24 Jan 2017 00:43:35 +0900
>>> +Subject: [PATCH] setup: don't use pg_config
>>> +
>>> +pg_config is used to get library and include directories, and the postgresql
>>> +version. All of which is not available in the cross compiled version.
>>> +
>>> +Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
>>> +Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
>>> +[aduskett at gmail.com: Update for psycopg2 2.7.3.2]
>>> +Signed-off-by: Adam Duskett <aduskett@gmail.com>
>>> +---
>>> + setup.py | 6 ++----
>>> + 1 file changed, 2 insertions(+), 4 deletions(-)
>>> +
>>> +diff --git a/setup.py b/setup.py
>>> +index 86f32d2..05b8eeb 100644
>>> +--- a/setup.py
>>> ++++ b/setup.py
>>> +@@ -404,16 +404,13 @@ class psycopg_build_ext(build_ext):
>>> +             self.libraries.append("pq")
>>> +
>>> +         try:
>>> +-            self.library_dirs.append(pg_config_helper.query("libdir"))
>>> +-            self.include_dirs.append(pg_config_helper.query("includedir"))
>>> +-            self.include_dirs.append(pg_config_helper.query("includedir-server"))
>>> +             try:
>>> +                 # Here we take a conservative approach: we suppose that
>>> +                 # *at least* PostgreSQL 7.4 is available (this is the only
>>> +                 # 7.x series supported by psycopg 2)
>>> +                 pgversion = pg_config_helper.query("version").split()[1]
>>> +             except:
>>> +-                pgversion = "7.4.0"
>>> ++                pgversion = str(os.environ['PSYCOPG2_POSTGRESQL_VERSION'])
>>> +
>>> +             verre = re.compile(
>>> +                 r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?")
>>> +@@ -525,6 +522,7 @@ parser.read('setup.cfg')
>>> + # Choose a datetime module
>>> + have_pydatetime = True
>>> + have_mxdatetime = False
>>> ++pg_config="/bin/true"
>>> + use_pydatetime = int(parser.get('build_ext', 'use_pydatetime'))
>>> +
>>> + # check for mx package
>>> +--
>>> +2.14.3
>>> +
>>> diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in
>>> new file mode 100644
>>> index 0000000000..c861ac2284
>>> --- /dev/null
>>> +++ b/package/python-psycopg2/Config.in
>>> @@ -0,0 +1,23 @@
>>> +config BR2_PACKAGE_PYTHON_PSYCOPG2
>>> +       bool "python-psycopg2"
>>> +       select BR2_PACKAGE_POSTGRESQL
>>> +       help
>>> +         Psycopg is the most popular PostgreSQL database adapter for
>>> +         the Python programming language. Its main features are the
>>> +         complete implementation of the Python DB API 2.0 specification
>>> +         and the thread safety (several threads can share the same
>>> +         connection). It was designed for heavily multi-threaded
>>> +         applications that create and destroy lots of cursors and make
>>> +         a large number of concurrent INSERTs or UPDATEs.
>>> +
>>> +         Psycopg 2 is mostly implemented in C as a libpq wrapper,
>>> +         resulting in being both efficient and secure. It features
>>> +         client-side and server-side cursors, asynchronous
>>> +         communication and notifications, COPY support. Many Python
>>> +         types are supported out-of-the-box and adapted to matching
>>> +         PostgreSQL data types; adaptation can be extended and
>>> +         customized thanks to a flexible objects adaptation system.
>>> +
>>> +         Psycopg 2 is both Unicode and Python 3 friendly.
>>> +
>>> +         http://initd.org/psycopg/
>>> diff --git a/package/python-psycopg2/python-psycopg2.hash b/package/python-psycopg2/python-psycopg2.hash
>>> new file mode 100644
>>> index 0000000000..a2cbb1f186
>>> --- /dev/null
>>> +++ b/package/python-psycopg2/python-psycopg2.hash
>>> @@ -0,0 +1,4 @@
>>> +# md5 from https://pypi.python.org/pypi/psycopg2/json, sha256 locally computed
>>> +md5    8114e672d5f23fa5329874a4314fbd6f  psycopg2-2.7.3.2.tar.gz
>>> +sha256 5c3213be557d0468f9df8fe2487eaf2990d9799202c5ff5cb8d394d09fad9b2a  psycopg2-2.7.3.2.tar.gz
>>> +sha256 1752db3c786e12b62ca804178dca033adce8bff4c4b3d98d3449d407fe45210d  LICENSE
>>> diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk
>>> new file mode 100644
>>> index 0000000000..2d50624433
>>> --- /dev/null
>>> +++ b/package/python-psycopg2/python-psycopg2.mk
>>> @@ -0,0 +1,20 @@
>>> +################################################################################
>>> +#
>>> +# python-psycopg2
>>> +#
>>> +################################################################################
>>> +
>>> +PYTHON_PSYCOPG2_VERSION = 2.7.3.2
>>> +PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
>>> +PYTHON_PSYCOPG2_SITE = https://pypi.python.org/packages/dd/47/000b405d73ca22980684fd7bd3318690cc03cfa3b2ae1c5b7fff8050b28a
>>> +PYTHON_PSYCOPG2_SETUP_TYPE = setuptools
>>> +PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+
>>> +PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE
>>> +PYTHON_PSYCOPG2_DEPENDENCIES = postgresql
>>> +
>>> +# Force psycopg2 to use the BuildRoot provided postgresql version instead of
>>> +# The host machines
>>> +PYTHON_PSYCOPG2_ENV += \
>>> +       PSYCOPG2_POSTGRESQL_VERSION=$(POSTGRESQL_VERSION)
>>> +
>>> +$(eval $(python-package))
>>
>>
>>
>> --
>> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
>> Embedded Linux and Kernel engineering
>> http://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 1/5] python-psycopg2: new package
  2018-02-12 12:06     ` Adam Duskett
@ 2018-02-12 13:48       ` Thomas Petazzoni
  0 siblings, 0 replies; 21+ messages in thread
From: Thomas Petazzoni @ 2018-02-12 13:48 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 12 Feb 2018 07:06:13 -0500, Adam Duskett wrote:

> This patch is from yocto actually.  pg_config is called by setup.py to
> get the PostgreSQL server version.
> There are two problems with this:
> 
> 1) There is no way to specify a path to pg_config, so it uses the
> hosts pg_config (if it's not available it causes an error)
> 2) Even if you do use pg_config, the one generated during
> cross-compilation doesn't print out the version information
>     that setup.py is looking for.

Did you notice that Buildroot has its own pg_config in
package/postgresql/postgresql.mk ? Indeed, the pg_config built/installed
by PostgreSQL didn't work properly in a cross-compilation context, so
we simply implemented a simplified shell-based version. Perhaps it just
needs to be extended to support what python-psycopg2 needs ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 4/5] python-visitor: new package
  2018-02-06 13:25 ` [Buildroot] [PATCH v2 4/5] python-visitor: " Adam Duskett
  2018-02-06 13:37   ` Yegor Yefremov
@ 2018-04-27 21:27   ` Thomas Petazzoni
  1 sibling, 0 replies; 21+ messages in thread
From: Thomas Petazzoni @ 2018-04-27 21:27 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  6 Feb 2018 08:25:05 -0500, Adam Duskett wrote:
> A tiny library to facilitate visitor implementation in Python
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

This patch had some check-package warnings:

package/python-visitor/Config.in:2: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-visitor/Config.in:3: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-visitor/Config.in:4: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

I fixed them and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  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-09-16 20:05   ` Thomas Petazzoni
  2 siblings, 1 reply; 21+ messages in thread
From: Thomas Petazzoni @ 2018-04-27 21:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  6 Feb 2018 08:25:06 -0500, Adam Duskett wrote:
> Flask-Bootstrap packages Bootstrap into an extension that mostly consists of a
> blueprint named 'bootstrap'. It can also create links to serve Bootstrap from
> a CDN and works with no boilerplate code in your application.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

This package has a bunch of check-package warnings:

package/python-flask-bootstrap/Config.in:2: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-flask-bootstrap/Config.in:3: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-flask-bootstrap/Config.in:4: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-flask-bootstrap/Config.in:5: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-flask-bootstrap/Config.in:6: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-flask-bootstrap/Config.in:7: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-flask-bootstrap/Config.in:8: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-flask-bootstrap/Config.in:9: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-flask-bootstrap/Config.in:10: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

I had fixed them locally, but then I had another question.

> +PYTHON_FLASK_BOOTSTRAP_LICENSE = BSD-3c

How did you determine it was BSD-3c ? Originally you had just BSD
(which isn't specific enough) and Yegor said it's BSD-3c, but I
couldn't find where this information was coming from.

Yegor ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  2018-04-27 21:33   ` Thomas Petazzoni
@ 2018-04-28  5:15     ` Yegor Yefremov
  2018-04-28 10:17       ` Thomas Petazzoni
  0 siblings, 1 reply; 21+ messages in thread
From: Yegor Yefremov @ 2018-04-28  5:15 UTC (permalink / raw)
  To: buildroot

On Fri, Apr 27, 2018 at 11:33 PM, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Hello,
>
> On Tue,  6 Feb 2018 08:25:06 -0500, Adam Duskett wrote:
>> Flask-Bootstrap packages Bootstrap into an extension that mostly consists of a
>> blueprint named 'bootstrap'. It can also create links to serve Bootstrap from
>> a CDN and works with no boilerplate code in your application.
>>
>> Signed-off-by: Adam Duskett <aduskett@gmail.com>
>
> This package has a bunch of check-package warnings:
>
> package/python-flask-bootstrap/Config.in:2: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
> package/python-flask-bootstrap/Config.in:3: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
> package/python-flask-bootstrap/Config.in:4: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
> package/python-flask-bootstrap/Config.in:5: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
> package/python-flask-bootstrap/Config.in:6: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
> package/python-flask-bootstrap/Config.in:7: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
> package/python-flask-bootstrap/Config.in:8: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
> package/python-flask-bootstrap/Config.in:9: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
> package/python-flask-bootstrap/Config.in:10: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
>
> I had fixed them locally, but then I had another question.
>
>> +PYTHON_FLASK_BOOTSTRAP_LICENSE = BSD-3c
>
> How did you determine it was BSD-3c ? Originally you had just BSD
> (which isn't specific enough) and Yegor said it's BSD-3c, but I
> couldn't find where this information was coming from.
>
> Yegor ?

I've looked at this file
https://github.com/mbr/flask-bootstrap/blob/master/LICENSE

The author also mentions Apache-2.0 license as the license of the
original project.

Yegor

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  2018-04-28  5:15     ` Yegor Yefremov
@ 2018-04-28 10:17       ` Thomas Petazzoni
  2018-05-02  9:37         ` Yegor Yefremov
  0 siblings, 1 reply; 21+ messages in thread
From: Thomas Petazzoni @ 2018-04-28 10:17 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 28 Apr 2018 07:15:01 +0200, Yegor Yefremov wrote:

> I've looked at this file
> https://github.com/mbr/flask-bootstrap/blob/master/LICENSE

This file isn't distributed in the tarball from Pypi, at least I don't
remember seeing it yesterday when I looked at the package source code.

> The author also mentions Apache-2.0 license as the license of the
> original project.

And so, is this package just under BSD-3c, or under BSD-3c and
Apache-2.0 ?

I'm not sure what the "original Bootstrap files" are, whether they are
distributed with python-flask-bootstrap or not.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  2018-04-28 10:17       ` Thomas Petazzoni
@ 2018-05-02  9:37         ` Yegor Yefremov
  0 siblings, 0 replies; 21+ messages in thread
From: Yegor Yefremov @ 2018-05-02  9:37 UTC (permalink / raw)
  To: buildroot

On Sat, Apr 28, 2018 at 12:17 PM, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Hello,
>
> On Sat, 28 Apr 2018 07:15:01 +0200, Yegor Yefremov wrote:
>
>> I've looked at this file
>> https://github.com/mbr/flask-bootstrap/blob/master/LICENSE
>
> This file isn't distributed in the tarball from Pypi, at least I don't
> remember seeing it yesterday when I looked at the package source code.
>
>> The author also mentions Apache-2.0 license as the license of the
>> original project.
>
> And so, is this package just under BSD-3c, or under BSD-3c and
> Apache-2.0 ?
>
> I'm not sure what the "original Bootstrap files" are, whether they are
> distributed with python-flask-bootstrap or not.

I've opened an issue: https://github.com/mbr/flask-bootstrap/issues/181

Yegor

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: new package
  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-09-16 20:05   ` Thomas Petazzoni
  2 siblings, 0 replies; 21+ messages in thread
From: Thomas Petazzoni @ 2018-09-16 20:05 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue,  6 Feb 2018 08:25:06 -0500, Adam Duskett wrote:
> Flask-Bootstrap packages Bootstrap into an extension that mostly consists of a
> blueprint named 'bootstrap'. It can also create links to serve Bootstrap from
> a CDN and works with no boilerplate code in your application.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

The license issue has not been resolved
(https://github.com/mbr/flask-bootstrap/issues/181) and the
check-package issues have also not been fixed in a new iteration.

Consequently, I've marked this patch as Changes Requested.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-09-16 20:05 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [Buildroot] [PATCH v2 4/5] python-visitor: " Adam Duskett
2018-02-06 13:37   ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.