Skip to contentSkip to conversation

package/python-kiwisolver: new package

PATCH Superseded Esben Haabendal 2 participants 10 messages Sep 16, 2019 – Sep 17, 2019

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-kiwisolver: new package

---
 package/Config.in                              |  1 +
 package/python-kiwisolver/Config.in            | 17 +++++++++++++++++
 package/python-kiwisolver/python-kiwisolver.mk |  7 +++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-kiwisolver/Config.in
 create mode 100644 package/python-kiwisolver/python-kiwisolver.mk
package/Config.in +1 -0
index 9336261c5d9e..dddce6636168 100644
@@ -933,6 +933,7 @@ menu "External python modules"
 	source "package/python-jsonmodels/Config.in"
 	source "package/python-jsonschema/Config.in"
 	source "package/python-keyring/Config.in"
+	source "package/python-kiwisolver/Config.in"
 	source "package/python-libconfig/Config.in"
 	source "package/python-libusb1/Config.in"
 	source "package/python-lmdb/Config.in"
package/python-kiwisolver/Config.in new file +17 -0
new file mode 100644
index 000000000000..d3ce857bac2f
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_PYTHON_KIWISOLVER
+	bool "python-kiwisolver"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_PYTHON3
+	help
+	  Kiwi is an efficient C++ implementation of the Cassowary constraint
+	  solving algorithm. Kiwi is an implementation of the algorithm based
+	  on the seminal Cassowary paper. It is not a refactoring of the
+	  original C++ solver. Kiwi has been designed from the ground up to be
+	  lightweight and fast. Kiwi ranges from 10x to 500x faster than the
+	  original Cassowary solver with typical use cases gaining a 40x
+	  improvement. Memory savings are consistently > 5x.
+
+	  https://github.com/nucleic/kiwi
+
+comment "python-kiwisolver needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/python-kiwisolver/python-kiwisolver.mk new file +7 -0
new file mode 100644
index 000000000000..96019fc29328
@@ -0,0 +1,7 @@
+PYTHON_KIWISOLVER_VERSION = 1.1.0
+PYTHON_KIWISOLVER_SITE = $(call github,nucleic,kiwi,$(PYTHON_KIWISOLVER_VERSION))
+PYTHON_KIWISOLVER_LICENSE = BSD-3-Clause
+PYTHON_KIWISOLVER_LICENSE_FILES = LICENSE
+PYTHON_KIWISOLVER_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.23.0
#1 lore raw

PATCH 2/2 package/python-matplotlib: add kiwisolver dependency

This is needed by matplotlib.pyplot, and is also documented at
https://matplotlib.org/users/installing.html#building-on-linux

---
 package/python-matplotlib/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-matplotlib/Config.in +1 -0
index 07160affd043..e6ed8cda2f28 100644
@@ -9,6 +9,7 @@ config BR2_PACKAGE_PYTHON_MATPLOTLIB
 	select BR2_PACKAGE_PYTHON_CYCLER
 	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
+	select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime
 	select BR2_PACKAGE_PYTHON_NUMPY # runtime
 	select BR2_PACKAGE_PYTHON_PYPARSING # runtime
 	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
Signature · 1 line
2.23.0
#2 lore raw

PATCH 1/2 package/python-kiwisolver: new package

In reply to Esben Haabendal
Quoted 3 lines · Esben Haabendal

---

An entry in the DEVELOPERS file is missing.

Quoted 3 lines
 package/Config.in                              |  1 +
 package/python-kiwisolver/Config.in            | 17 +++++++++++++++++
 package/python-kiwisolver/python-kiwisolver.mk |  7 +++++++

package/python-kiwisolver/python-kiwisolver.hash file with license file and source archive file hashes is missing.

Yegor

Quoted 59 lines
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-kiwisolver/Config.in
 create mode 100644 package/python-kiwisolver/python-kiwisolver.mk
package/Config.in +1 -0
index 9336261c5d9e..dddce6636168 100644
@@ -933,6 +933,7 @@ menu "External python modules"
        source "package/python-jsonmodels/Config.in"
        source "package/python-jsonschema/Config.in"
        source "package/python-keyring/Config.in"
+       source "package/python-kiwisolver/Config.in"
        source "package/python-libconfig/Config.in"
        source "package/python-libusb1/Config.in"
        source "package/python-lmdb/Config.in"
package/python-kiwisolver/Config.in new file +17 -0
new file mode 100644
index 000000000000..d3ce857bac2f
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_PYTHON_KIWISOLVER
+       bool "python-kiwisolver"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3
+       help
+         Kiwi is an efficient C++ implementation of the Cassowary constraint
+         solving algorithm. Kiwi is an implementation of the algorithm based
+         on the seminal Cassowary paper. It is not a refactoring of the
+         original C++ solver. Kiwi has been designed from the ground up to be
+         lightweight and fast. Kiwi ranges from 10x to 500x faster than the
+         original Cassowary solver with typical use cases gaining a 40x
+         improvement. Memory savings are consistently > 5x.
+
+         https://github.com/nucleic/kiwi
+
+comment "python-kiwisolver needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
package/python-kiwisolver/python-kiwisolver.mk new file +7 -1
new file mode 100644
index 000000000000..96019fc29328
@@ -0,0 +1,7 @@
+PYTHON_KIWISOLVER_VERSION = 1.1.0
+PYTHON_KIWISOLVER_SITE = $(call github,nucleic,kiwi,$(PYTHON_KIWISOLVER_VERSION))
+PYTHON_KIWISOLVER_LICENSE = BSD-3-Clause
+PYTHON_KIWISOLVER_LICENSE_FILES = LICENSE
+PYTHON_KIWISOLVER_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#3 lore raw

PATCH v2 1/2 package/python-kiwisolver: new package

In reply to Esben Haabendal
---
 DEVELOPERS                                      |  1 +
 package/Config.in                               |  1 +
 package/python-kiwisolver/Config.in             | 17 +++++++++++++++++
 .../python-kiwisolver/python-kiwisolver.hash    |  3 +++
 package/python-kiwisolver/python-kiwisolver.mk  |  7 +++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-kiwisolver/Config.in
 create mode 100644 package/python-kiwisolver/python-kiwisolver.hash
 create mode 100644 package/python-kiwisolver/python-kiwisolver.mk
DEVELOPERS +1 -0
index 3b1d03c82684..583a65b14ba9 100644
@@ -719,6 +719,7 @@ F:	package/szip/
 
 N:	Esben Haabendal <[email protected]>
 F:	boot/gummiboot/
+F:	package/python-kiwisolver/
 
 N:	Etienne Carriere <[email protected]>
 F:	boot/optee-os/
package/Config.in +1 -0
index 9336261c5d9e..dddce6636168 100644
@@ -933,6 +933,7 @@ menu "External python modules"
 	source "package/python-jsonmodels/Config.in"
 	source "package/python-jsonschema/Config.in"
 	source "package/python-keyring/Config.in"
+	source "package/python-kiwisolver/Config.in"
 	source "package/python-libconfig/Config.in"
 	source "package/python-libusb1/Config.in"
 	source "package/python-lmdb/Config.in"
package/python-kiwisolver/Config.in new file +17 -0
new file mode 100644
index 000000000000..d3ce857bac2f
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_PYTHON_KIWISOLVER
+	bool "python-kiwisolver"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_PYTHON3
+	help
+	  Kiwi is an efficient C++ implementation of the Cassowary constraint
+	  solving algorithm. Kiwi is an implementation of the algorithm based
+	  on the seminal Cassowary paper. It is not a refactoring of the
+	  original C++ solver. Kiwi has been designed from the ground up to be
+	  lightweight and fast. Kiwi ranges from 10x to 500x faster than the
+	  original Cassowary solver with typical use cases gaining a 40x
+	  improvement. Memory savings are consistently > 5x.
+
+	  https://github.com/nucleic/kiwi
+
+comment "python-kiwisolver needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/python-kiwisolver/python-kiwisolver.hash new file +3 -0
new file mode 100644
index 000000000000..9cdb27002cf2
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 48168c0ace18319c649e31907f6d8586f648e503560f506f128798b99393bcdb  python-kiwisolver-1.1.0.tar.gz
+sha256 95c32f73d43fa54d8146badbcbd73b83acb7fa2cc81a7cef7784b3cd33b146a0  LICENSE
package/python-kiwisolver/python-kiwisolver.mk new file +7 -0
new file mode 100644
index 000000000000..96019fc29328
@@ -0,0 +1,7 @@
+PYTHON_KIWISOLVER_VERSION = 1.1.0
+PYTHON_KIWISOLVER_SITE = $(call github,nucleic,kiwi,$(PYTHON_KIWISOLVER_VERSION))
+PYTHON_KIWISOLVER_LICENSE = BSD-3-Clause
+PYTHON_KIWISOLVER_LICENSE_FILES = LICENSE
+PYTHON_KIWISOLVER_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
2.23.0
#4 lore raw

PATCH v2 2/2 package/python-matplotlib: add kiwisolver dependency

This is needed by matplotlib.pyplot, and is also documented at
https://matplotlib.org/users/installing.html#building-on-linux

---
 package/python-matplotlib/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-matplotlib/Config.in +1 -0
index 07160affd043..e6ed8cda2f28 100644
@@ -9,6 +9,7 @@ config BR2_PACKAGE_PYTHON_MATPLOTLIB
 	select BR2_PACKAGE_PYTHON_CYCLER
 	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
+	select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime
 	select BR2_PACKAGE_PYTHON_NUMPY # runtime
 	select BR2_PACKAGE_PYTHON_PYPARSING # runtime
 	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
Signature · 1 line
2.23.0
#5 lore raw

PATCH v2 2/2 package/python-matplotlib: add kiwisolver dependency

Quoted 5 lines · Esben Haabendal

This is needed by matplotlib.pyplot, and is also documented at
https://matplotlib.org/users/installing.html#building-on-linux

Quoted 23 lines
---
 package/python-matplotlib/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-matplotlib/Config.in +1 -1
index 07160affd043..e6ed8cda2f28 100644
@@ -9,6 +9,7 @@ config BR2_PACKAGE_PYTHON_MATPLOTLIB
        select BR2_PACKAGE_PYTHON_CYCLER
        select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
        select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
+       select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime
        select BR2_PACKAGE_PYTHON_NUMPY # runtime
        select BR2_PACKAGE_PYTHON_PYPARSING # runtime
        select BR2_PACKAGE_PYTHON3_ZLIB # runtime
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#6 lore raw

PATCH v2 1/2 package/python-kiwisolver: new package

In reply to Esben Haabendal
Quoted 43 lines · Esben Haabendal
---
 DEVELOPERS                                      |  1 +
 package/Config.in                               |  1 +
 package/python-kiwisolver/Config.in             | 17 +++++++++++++++++
 .../python-kiwisolver/python-kiwisolver.hash    |  3 +++
 package/python-kiwisolver/python-kiwisolver.mk  |  7 +++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-kiwisolver/Config.in
 create mode 100644 package/python-kiwisolver/python-kiwisolver.hash
 create mode 100644 package/python-kiwisolver/python-kiwisolver.mk
DEVELOPERS +1 -0
index 3b1d03c82684..583a65b14ba9 100644
@@ -719,6 +719,7 @@ F:  package/szip/
 
 N:     Esben Haabendal <[email protected]>
 F:     boot/gummiboot/
+F:     package/python-kiwisolver/
 
 N:     Etienne Carriere <[email protected]>
 F:     boot/optee-os/
package/Config.in +1 -0
index 9336261c5d9e..dddce6636168 100644
@@ -933,6 +933,7 @@ menu "External python modules"
        source "package/python-jsonmodels/Config.in"
        source "package/python-jsonschema/Config.in"
        source "package/python-keyring/Config.in"
+       source "package/python-kiwisolver/Config.in"
        source "package/python-libconfig/Config.in"
        source "package/python-libusb1/Config.in"
        source "package/python-lmdb/Config.in"
package/python-kiwisolver/Config.in new file +0 -0
new file mode 100644
index 000000000000..d3ce857bac2f

package/python-kiwisolver/Config.in line 4

Quoted 4 lines
package/python-kiwisolver/Config.in new file +4 -0
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_PYTHON_KIWISOLVER
+       bool "python-kiwisolver"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3

Basically the patch looks good. But setup.py says both Py2 and Py3 are supported.

Other than that you can add my

for the next version.

Yegor

Quoted 42 lines
package/python-kiwisolver/Config.in new file +13 -0
+       help
+         Kiwi is an efficient C++ implementation of the Cassowary constraint
+         solving algorithm. Kiwi is an implementation of the algorithm based
+         on the seminal Cassowary paper. It is not a refactoring of the
+         original C++ solver. Kiwi has been designed from the ground up to be
+         lightweight and fast. Kiwi ranges from 10x to 500x faster than the
+         original Cassowary solver with typical use cases gaining a 40x
+         improvement. Memory savings are consistently > 5x.
+
+         https://github.com/nucleic/kiwi
+
+comment "python-kiwisolver needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
package/python-kiwisolver/python-kiwisolver.hash new file +3 -0
new file mode 100644
index 000000000000..9cdb27002cf2
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 48168c0ace18319c649e31907f6d8586f648e503560f506f128798b99393bcdb  python-kiwisolver-1.1.0.tar.gz
+sha256 95c32f73d43fa54d8146badbcbd73b83acb7fa2cc81a7cef7784b3cd33b146a0  LICENSE
package/python-kiwisolver/python-kiwisolver.mk new file +7 -1
new file mode 100644
index 000000000000..96019fc29328
@@ -0,0 +1,7 @@
+PYTHON_KIWISOLVER_VERSION = 1.1.0
+PYTHON_KIWISOLVER_SITE = $(call github,nucleic,kiwi,$(PYTHON_KIWISOLVER_VERSION))
+PYTHON_KIWISOLVER_LICENSE = BSD-3-Clause
+PYTHON_KIWISOLVER_LICENSE_FILES = LICENSE
+PYTHON_KIWISOLVER_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
--

2.23.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#7 lore raw

PATCH v2 1/2 package/python-kiwisolver: new package

Quoted 5 lines · Yegor Yefremov
Quoted 5 lines
package/python-kiwisolver/Config.in new file +0 -0
new file mode 100644
index 000000000000..d3ce857bac2f
Quoted 8 lines

package/python-kiwisolver/Config.in line 4

Quoted 5 lines
package/python-kiwisolver/Config.in new file +4 -0
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_PYTHON_KIWISOLVER
+       bool "python-kiwisolver"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3

Basically the patch looks good. But setup.py says both Py2 and Py3 are supported.

I will try and see if it builds for python 2 also.

Quoted 7 lines

Other than that you can add my

for the next version.

Yegor

/Esben

#8 lore raw

PATCH v2 1/2 package/python-kiwisolver: new package

Quoted 16 lines · Esben Haabendal
Quoted 5 lines · Yegor Yefremov
Quoted 5 lines
package/python-kiwisolver/Config.in new file +0 -0
new file mode 100644
index 000000000000..d3ce857bac2f
Quoted 8 lines

package/python-kiwisolver/Config.in line 4

Quoted 5 lines
package/python-kiwisolver/Config.in new file +4 -0
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_PYTHON_KIWISOLVER
+       bool "python-kiwisolver"
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_PACKAGE_PYTHON3

Basically the patch looks good. But setup.py says both Py2 and Py3 are supported.

Quoted 1 line

I will try and see if it builds for python 2 also.

It builds with Python 2 just fine. I will send a new version with support for Python 2 added.

Quoted 13 lines
Quoted 7 lines

Other than that you can add my

for the next version.

Yegor

/Esben
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot