Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-kiwisolver: new package
@ 2019-09-16 12:13 Esben Haabendal
  2019-09-16 12:13 ` [Buildroot] [PATCH 2/2] package/python-matplotlib: add kiwisolver dependency Esben Haabendal
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Esben Haabendal @ 2019-09-16 12:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Esben Haabendal <esben@geanix.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 9336261c5d9e..dddce6636168 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-kiwisolver/Config.in b/package/python-kiwisolver/Config.in
new file mode 100644
index 000000000000..d3ce857bac2f
--- /dev/null
+++ b/package/python-kiwisolver/Config.in
@@ -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
diff --git a/package/python-kiwisolver/python-kiwisolver.mk b/package/python-kiwisolver/python-kiwisolver.mk
new file mode 100644
index 000000000000..96019fc29328
--- /dev/null
+++ b/package/python-kiwisolver/python-kiwisolver.mk
@@ -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

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

end of thread, other threads:[~2019-09-17  8:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-16 12:13 [Buildroot] [PATCH 1/2] package/python-kiwisolver: new package Esben Haabendal
2019-09-16 12:13 ` [Buildroot] [PATCH 2/2] package/python-matplotlib: add kiwisolver dependency Esben Haabendal
2019-09-16 12:40 ` [Buildroot] [PATCH 1/2] package/python-kiwisolver: new package Yegor Yefremov
2019-09-16 13:31 ` [Buildroot] [PATCH v2 " Esben Haabendal
2019-09-16 13:31   ` [Buildroot] [PATCH v2 2/2] package/python-matplotlib: add kiwisolver dependency Esben Haabendal
2019-09-17  7:05     ` Yegor Yefremov
2019-09-16 16:17   ` [Buildroot] [PATCH v2 1/2] package/python-kiwisolver: new package Yegor Yefremov
2019-09-16 17:15     ` Esben Haabendal
2019-09-17  8:46       ` Esben Haabendal
2019-09-16 17:47     ` Esben Haabendal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox