From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKo/H35BkF/JHQAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 14:11:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sAQNG35BkF+FLAAAbx9fmQ (envelope-from ) for ; Wed, 21 Oct 2020 14:11:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DCC589400BF for ; Wed, 21 Oct 2020 14:11:09 +0000 (UTC) Received: from localhost ([::1]:37114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVEpY-0007UU-9g for larch@yhetil.org; Wed, 21 Oct 2020 10:11:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVEpS-0007UN-Jo for guix-patches@gnu.org; Wed, 21 Oct 2020 10:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVEpS-0001fH-AG for guix-patches@gnu.org; Wed, 21 Oct 2020 10:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVEpS-0000dh-5M for guix-patches@gnu.org; Wed, 21 Oct 2020 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44045] [PATCH 10/10 v2] WIP Ultimaker Cura References: <86v9f95eip.fsf@gmail.com> In-Reply-To: <86v9f95eip.fsf@gmail.com> Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Oct 2020 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44045@debbugs.gnu.org Cc: efraim@flashner.co.il Received: via spool by 44045-submit@debbugs.gnu.org id=B44045.16032894492437 (code B ref 44045); Wed, 21 Oct 2020 14:11:02 +0000 Received: (at 44045) by debbugs.gnu.org; 21 Oct 2020 14:10:49 +0000 Received: from localhost ([127.0.0.1]:50107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVEpE-0000dE-PX for submit@debbugs.gnu.org; Wed, 21 Oct 2020 10:10:49 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:37677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVEpC-0000cz-Ly for 44045@debbugs.gnu.org; Wed, 21 Oct 2020 10:10:47 -0400 Received: by mail-ej1-f53.google.com with SMTP id e22so3461476ejr.4 for <44045@debbugs.gnu.org>; Wed, 21 Oct 2020 07:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:user-agent:mime-version; bh=pb/yb+mXNbuuuQIWbsc9ZwqViyDxaazKWAN94Bqw1yE=; b=kchiF/Ice2D1LZPnl741iFlK+xkksmstjY3yrwwH8tsVo0imhocISIy8F2mHocSNO6 0OGgbLSuv1Mfy5kak40c3wAxjj8mZ3j1GDLIsKKYDmra67y/3mOi1vO5dcPylYvZ8TvW fPza2cxBvdTYw46V1EPk5yHOZxx08/jX1oaNGcsxcS48a4UJHDRwLZ895dcBjaG6+0gz ZvsMjasicUFRXauJU193CD9ATtxKXTRtZM+ETuW/93MHoeD2TgSjvkcAlvJRkX/OUJYG mE/4PEEQ3Tvq6loGmS1oUigOX7Mns4k1yR2cd4/p+lxHrSYOxkE2eumxIYiHpZNE5AZm u77g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version; bh=pb/yb+mXNbuuuQIWbsc9ZwqViyDxaazKWAN94Bqw1yE=; b=mwvVfkHPttE2I81osPBPhi17HPYx6Q7s8k5Daqblp8QyKyWHLqX6CMcEf8MiycwQRq cLy3gpaohbL5Xesxzyv7xRg9wqd8nSZ9sEC6zEDkFT3M24VWztCMfVyxcnBG45RCSAIU Xxwft0Aw4DGbyhPQbxT3Nk2kMXqUqnLLi48n878OgDn6zPreWrKWBrpE6ilcHLgNz1E3 iYln5CosJWA0mpljyBP+g1BSI781q0hSweHBLAwSo0O4t/JowhCHDJIGahHEJwpIpuia SCQnkHeYTFHB54OL/0t8l9KuX/K5Nrfk9A9jIL6YoH3zATlH7dgX24GhmkkM22Wky7oi dixA== X-Gm-Message-State: AOAM532IrRBvwNYdFWa9PCaXb+cDrFgTBCiJH0WLobNUeixc663ZfmKu rBl49k9oeL6vT4ZqCe6rFrc= X-Google-Smtp-Source: ABdhPJyCV6JkOxjQ0+LiLv51neVbgPYN/fmWoPW6QgIJ/e2sbR6q0MWLtbXMAnY5JmshV35KzYQpFw== X-Received: by 2002:a17:907:43c3:: with SMTP id i3mr3473430ejs.231.1603289440824; Wed, 21 Oct 2020 07:10:40 -0700 (PDT) Received: from Morphium (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id e19sm2379724ejz.35.2020.10.21.07.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 07:10:39 -0700 (PDT) From: Malte Frank Gerdes Date: Wed, 21 Oct 2020 16:10:39 +0200 Message-ID: <861rhrlleo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kchiF/Ic; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: y2tcm0ydgPol --=-=-= Content-Type: text/plain Efraim Flashner writes: > On Sat, Oct 17, 2020 at 12:32:30PM +0200, Malte Frank Gerdes wrote: >> Hi, >> >> this series adds Ultimakers Cura software to Guix. It's WIP because the cura >> program itself segfaults while starting and i am not getting further as to why >> this happens. It would be great if someone interested could take a look :-) >> >> The trimesh python library cannot be built, because pyinstrument-cext can't be >> built. This is due to the fact that the used URLs to fetch the source archive >> don't exist. I have yet to find out how they are generated. > > for pyinstrument-cext, try replacing the string in pypi-uri to > "pyinstrument_cext", with an underscore. Thanks for the s/-/_/ tip! This works :-) Having that out of the way i noticed that trimesh's testsuite dependes (for whatever reason) on a javascript library which has to be generated via npm, which is currently not available in Guix. Therefore i disabled the testsuite from trimesh. Attached is a corresponding patch. Malte --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-python-trimesh.patch Content-Transfer-Encoding: quoted-printable >From c39889e9a89662d702d8149c5d9600122e099209 Mon Sep 17 00:00:00 2001 From: Malte Frank Gerdes Date: Sat, 17 Oct 2020 12:04:29 +0200 Subject: [PATCH] gnu: Add python-trimesh. * gnu/packages/python-science.scm (python-trimesh): New variable. --- gnu/packages/python-science.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.= scm index 101c8fb640..738ac1111e 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2019 Giacomo Leidi ;;; Copyright =C2=A9 2020 Pierre Langlois ;;; Copyright =C2=A9 2020 Vinicius Monego +;;; Copyright =C2=A9 2020 Malte Frank Gerdes ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ #:use-module (gnu packages maths) #:use-module (gnu packages perl) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages sphinx) @@ -285,6 +287,37 @@ logic, also known as grey logic.") of the SGP4 satellite tracking algorithm.") (license license:expat))) =20 +(define-public python-trimesh + (package + (name "python-trimesh") + (version "3.8.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trimesh" version)) + (sha256 + (base32 + "1pi7v9rdaakjfrqpc3zk77pg3z6vaz7qh1wy322sj9bq4824h2vr")))) + (build-system python-build-system) + (propagated-inputs + `(("python-numpy" ,python-numpy) + ("python-setuptools" ,python-setuptools))) + (native-inputs + `(("python-coveralls" ,python-coveralls) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (arguments + `(;; tests need to be disabled because pyinstrument + ;; can't be built, because it depends on npm for + ;; JS generation. + #:tests? #false)) + (home-page "https://github.com/mikedh/trimesh") + (synopsis + "Import, export, process, analyze and view triangular meshes.") + (description + "Import, export, process, analyze and view triangular meshes.") + (license license:expat))) + (define-public python-pandas (package (name "python-pandas") --=20 2.28.0 --=-=-=--