From patchwork Mon Sep 16 12:13:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 1162767 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=geanix.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=geanix.com header.i=@geanix.com header.b="B4hoOmhy"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46X51L0tQTz9sPn for ; Mon, 16 Sep 2019 22:20:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 03C0885CA1; Mon, 16 Sep 2019 12:20:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4uAZFXFDiGkz; Mon, 16 Sep 2019 12:20:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 07D248517C; Mon, 16 Sep 2019 12:20:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 448831BF3DA for ; Mon, 16 Sep 2019 12:20:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 41EB687522 for ; Mon, 16 Sep 2019 12:20:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PUijnKGo0FQA for ; Mon, 16 Sep 2019 12:20:27 +0000 (UTC) X-Greylist: delayed 00:06:33 by SQLgrey-1.7.6 Received: from first.geanix.com (first.geanix.com [116.203.34.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 19C738751C for ; Mon, 16 Sep 2019 12:20:27 +0000 (UTC) Received: from localhost (unknown [193.163.1.7]) by first.geanix.com (Postfix) with ESMTPSA id 4F46D651F1 for ; Mon, 16 Sep 2019 12:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1568635973; bh=o4OscpriYwG8MB2nExYmXE2l4NoC0rsGiGdexVKUCqw=; h=From:To:Subject:Date; b=B4hoOmhyJ1DodZY5aRLActaYZyampk7TiqAzzh7YvSGXGdP1T6nCOkIkkq1S5VV0I hrszWnm9Mrb34bbO+grfMNN4jI4b+JiN167yRM91xbsZwb78asZe4XW2SinzuHVfq6 vyg1v/hQ9INV45nYsYvCi7xdZEnOj5oFSE/MZ0q3FBKgm3LdhuwI2enMVRkWTPhIhM j5eWT6ipsHEoprKuVSO8nsuGtsoDyrfG1jlhvHm1hJ2VprBjjeW6heYZogHKXfsHzr /rVoO4VvvZjck2JbZX6Ph9ae2ZKCSINLC/ndqKRQTeyJv8bnP2UzsXQzojvhwQFvgS CkqOxMFhiUSfw== From: Esben Haabendal To: buildroot@buildroot.org Date: Mon, 16 Sep 2019 14:13:49 +0200 Message-Id: <20190916121350.2796-1-esben@geanix.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/python-kiwisolver: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Esben Haabendal --- 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))