From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 21 10:10:49 2020 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 To: 44045@debbugs.gnu.org Subject: [bug#44045] [PATCH 10/10 v2] WIP Ultimaker Cura 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-Debbugs-Envelope-To: 44045 Cc: efraim@flashner.co.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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 --=-=-=--