From patchwork Wed Sep 15 15:25:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-Patchwork-Id: 32860 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B9AFE27BBE4; Wed, 15 Sep 2021 16:28:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7BABC27BBE3 for ; Wed, 15 Sep 2021 16:28:41 +0100 (BST) Received: from localhost ([::1]:49928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQWq0-0006NL-KM for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 11:28:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQWpT-0004zG-LY for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQWpT-00013X-DQ for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQWpT-0001RX-9P for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v2 11/13] gnu: Add python-mapbox-earcut. Resent-From: Daniel =?utf-8?q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 15:28:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?utf-8?q?Mei=C3=9Fner?= Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.16317196845489 (code B ref 50505); Wed, 15 Sep 2021 15:28:07 +0000 Received: (at 50505) by debbugs.gnu.org; 15 Sep 2021 15:28:04 +0000 Received: from localhost ([127.0.0.1]:52950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQWpP-0001QF-G6 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 11:28:03 -0400 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:64278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQWp9-0001Nx-PR for 50505@debbugs.gnu.org; Wed, 15 Sep 2021 11:27:49 -0400 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4H8kcG2Zq7z8SMT for <50505@debbugs.gnu.org>; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1631719662; bh=kzci7uWWkcvS02WQLsyiO2jN06LNa1Eet8utv1sY4Ys=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yt1g261lACgHxhGU0GQ2L3AvdNh7z7seAZv7jM6KiWTjTmL7lpRRPnhmXU9xuMtJS aVNzwHkzYpqYRpVJkOp6SOyr68a1Ej/7ILvoPMC9C2R0HmsgeZvWLsYEbNJYV/m5iT gpaLYMEB0h60xlCdMz4Bf9yEM9+SUn1vnktwnDQA= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4H8kcG1kVQz8SPh; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4H8kcG0XbGz8SNY; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx2.mail.ruhr-uni-bochum.de Received: from xii-04.mg07.ruhr-uni-bochum.de (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4H8kcF6HfYzDgxf; Wed, 15 Sep 2021 17:27:41 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de Date: Wed, 15 Sep 2021 17:25:17 +0200 Message-Id: <20210915152519.25572-12-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910112231.6411-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20210910112231.6411-1-daniel.meissner-i4k@ruhr-uni-bochum.de> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Daniel =?utf-8?q?Mei=C3=9Fner?= X-ACL-Warn: , Daniel =?utf-8?q?Mei=C3=9Fner?= via Guix-patches X-Patchwork-Original-From: Daniel =?utf-8?q?Mei=C3=9Fner?= via Guix-patches via From: =?utf-8?q?Daniel_Mei=C3=9Fner?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-mapbox-earcut): New variable. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0d3efe2700..c5163d93a3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19120,6 +19120,35 @@ system. Resource loading includes loading of 2D textures/texture arrays, shaders and objects/scenes.") (license license:expat))) +(define-public python-mapbox-earcut + (package + (name "python-mapbox-earcut") + (version "0.12.10") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mapbox_earcut" version)) + (sha256 + (base32 + "0ly48lijgd9inq07x42pfp9c24fn16vn9axpmfwqrkn979krbnah")))) + (build-system python-build-system) + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-wheel" ,python-wheel) + ("setuptools-scm" ,python-setuptools-scm) + ("cmake" ,cmake))) + (home-page + "https://github.com/skogler/mapbox_earcut_python") + (synopsis + "Python bindings for the Mapbox Earcut C++ polygon triangulation library") + (description + "The Mapbox Earcut library is a header-only C++ library which provides a +fast and robust triangulation of 2D polygons. This package provides Python +bindings for this library.") + (license license:isc))) + (define-public python-screeninfo (package (name "python-screeninfo")