From: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
To: 44045@debbugs.gnu.org
Cc: efraim@flashner.co.il
Subject: [bug#44045] [PATCH 10/10 v2] WIP Ultimaker Cura
Date: Wed, 21 Oct 2020 16:10:39 +0200 [thread overview]
Message-ID: <861rhrlleo.fsf@gmail.com> (raw)
In-Reply-To: <86v9f95eip.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
Efraim Flashner <efraim@flashner.co.il> 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
[-- Attachment #2: 0001-gnu-Add-python-trimesh.patch --]
[-- Type: text/x-patch, Size: 2486 bytes --]
From c39889e9a89662d702d8149c5d9600122e099209 Mon Sep 17 00:00:00 2001
From: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
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 © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;;
;;; 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)))
+(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")
--
2.28.0
next prev parent reply other threads:[~2020-10-21 14:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-17 10:32 [bug#44045] [PATCH 00/10] WIP Ultimaker Cura Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 02/10] gnu: Add cura-engine Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 04/10] gnu: Add uranium Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 05/10] gnu: Add libCharon Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 06/10] gnu: Add libSavitar Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 07/10] gnu: Add cura Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 10/10] gnu: Add python-trimesh Malte Frank Gerdes
2020-10-19 7:08 ` [bug#44045] [PATCH 00/10] WIP Ultimaker Cura Efraim Flashner
2020-10-21 14:10 ` Malte Frank Gerdes [this message]
2020-10-21 14:16 ` [bug#44045] [PATCH 08/10 v2] " Malte Frank Gerdes
2022-04-07 20:41 ` bug#44045: [PATCH 00/10] " Guillaume Le Vaillant
2022-04-11 13:32 ` [bug#44045] " Malte Gerdes
2023-02-19 23:00 ` Demis Balbach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861rhrlleo.fsf@gmail.com \
--to=malte.f.gerdes@gmail.com \
--cc=44045@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).