Subject: bug#78400: closed (Re: [bug#78400] [PATCH] gnu: openscad: Upate to 2025.05.08, add python support)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 May 2025 10:04:02 +0000

Your bug report

#78400: [PATCH] gnu: openscad: Upate to 2025.05.08, add python support

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
78400: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78400
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#78400] [PATCH] gnu: openscad: Upate to 2025.05.08, add python support
From: Guillaume Le Vaillant <[email-masked]>
To: nomike <[email-masked]>
Cc: [email-masked]
Date: Tue, 13 May 2025 10:03:11 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch applied as c9d655330d817a0ea30190468cbb6772db1311b5.
Thanks.

Subject: [PATCH] gnu: openscad: Upate to 2025.05.08, add python support
From: nomike <[email-masked]>
To: [email-masked]
Cc: nomike <[email-masked]>
Date: Tue, 13 May 2025 04:10:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/engineering.scm (emacs-scad-mode): Upate to 2025.05.08, add python support

Change-Id: Id72c2f154d48dc4baa2ae9b70a320a3ddbd13f81
---
This is an update to a later version of openscad which
also includes support for python scripts.

 gnu/packages/engineering.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 3ed3814d5a..a3393b4adf 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3184,8 +3184,8 @@ (define-public python-lcapy
     (license license:lgpl2.1+)))
 
 (define-public openscad
-  (let ((commit "d1351d6282abfd239cdd0c657f755d8c4a123ff8")
-        (version "2025.05.02")
+  (let ((commit "72c9919d63116f8e711f3566ae34e9eb63a2d6e6")
+        (version "2025.05.08")
         (revision "0"))
     (package
       (name "openscad")
@@ -3198,7 +3198,7 @@ (define-public openscad
                (commit commit)
                (recursive? #t)))
          (sha256
-          (base32 "0cgls75dk9hjfym8rp0vpnnlz1fdawd746nnw3343gvhljqv36cn"))
+          (base32 "077x7s3z65mz6rnrzan3qn06045d2fkqnd6ss6ibw1fhlaypzfbf"))
          (file-name (git-file-name name version))))
       (build-system qt-build-system)
       (arguments
@@ -3211,6 +3211,7 @@ (define-public openscad
                 "-DENABLE_TESTS=OFF"
                 "-DEXPERIMENTAL=ON"
                 "-DSNAPSHOT=ON"
+                "-DENABLE_PYTHON=ON"
                 "-DUSE_BUILTIN_CLIPPER2=OFF"
                 (string-append "-DOPENSCAD_VERSION="
                                #$version)
@@ -3258,10 +3259,14 @@ (define-public openscad
                     libxml2
                     libzip
                     manifold
-                    mesa ; or libglvnd if we had mesa-glvnd, too
+                    mesa ;or libglvnd if we had mesa-glvnd, too
                     mimalloc
                     mpfr
                     opencsg
+                    python
+                    python-numpy
+                    python-pillow
+                    python-pip
                     qscintilla
                     qtbase-5
                     qtmultimedia-5
@@ -3280,9 +3285,6 @@ (define-public openscad
                            imagemagick
                            ghostscript
                            procps
-                           python-numpy
-                           python-pillow
-                           python
                            xorg-server-for-tests))
       (synopsis "Script-based 3D modeling application")
       (description
@@ -3307,8 +3309,6 @@ (define-public openscad
       (home-page "https://openscad.org/")
       (license license:gpl2+))))
 
-
-
 (define-public emacs-scad-mode
   (package
     (inherit openscad)
-- 
2.49.0