all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Buttons Presser via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 70258@debbugs.gnu.org
Subject: bug#70258: FreeCAD dependency probably outdated
Date: Mon, 08 Apr 2024 17:17:16 +0200	[thread overview]
Message-ID: <87a5m3natf.fsf@disroot.org> (raw)
In-Reply-To: <87bk6lo0a8.fsf@disroot.org>

Bellow for the reference is the content of '/my/python-pivy.scm' that I used in 'guix build python-pivy --load-path=/my/python-pivy.scm' command:

   (define-module (guixmiss packages python)
     #:use-module ((guix licenses) #:prefix license:)
     #:use-module (gnu packages)
     #:use-module (guix packages)
     #:use-module (guix build-system cargo)
     #:use-module (guix build-system cmake)
     #:use-module (guix build-system gnu)
     #:use-module (guix build-system pyproject)
     #:use-module (guix build-system python)
     #:use-module (guix download)
     #:use-module (guix hg-download)
     #:use-module (guix git-download)
     #:use-module (guix gexp)
     #:use-module (guix utils)
     #:use-module (srfi srfi-1)
     #:use-module (srfi srfi-26))
   
   (define-public python-pivy
     (package
       (name "python-pivy")
       ;; (version "0.6.8")
       (version "0.6.9.a0")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/coin3d/pivy")
                (commit version)))
          (file-name (git-file-name name version))
          (sha256
           ;; (base32 "00l4r06dwmgn8h29nrl3g3yv33cfyizyylk28x1j95qyj36sggfb")         ;; (version "0.6.8")
           (base32 "13v9bfmipfhjbwnrl96d82fgb317j2sijgpzhhk02390649qbx6c")         ;; (version "0.6.9.a0")
           )
          ))
       ;; (build-system cmake-build-system)
       (build-system python-build-system)
       ;; (build-system pyproject-build-system)
       (arguments
        `(;; The test suite fails due to an import cycle between 'pivy' and '_coin'
          #:tests? #f
                   #:phases
                   (modify-phases %standard-phases
                     (add-after 'unpack 'patch-cmake-include-dirs
                       (lambda _
                         ;; Patch buildsystem to respect Coin3D include directory
                         (substitute* "interfaces/CMakeLists.txt"
                           (("\\$\\{SoQt_INCLUDE_DIRS}")
                            "${Coin_INCLUDE_DIR}\" -I\"${SoQt_INCLUDE_DIRS}"))
                         #t)))
                   ))
       (native-inputs
        (specifications->packages
         (list
          "cmake"
          "swig@4.0")))
       (inputs
        (specifications->packages
         (list "python-wrapper"
               "qtbase@5"
               "libxi"
               "libice"
               "soqt"
               "glew"
               "coin3D")))
       (home-page "https://github.com/coin3d/pivy")
       (synopsis "Python bindings to Coin3D")
       (description
        "Pivy provides python bindings for Coin, a 3D graphics library with an
   Application Programming Interface based on the Open Inventor 2.1 API.")
       (license license:isc)))




  parent reply	other threads:[~2024-04-10 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-07 11:54 bug#70258: FreeCAD dependency probably outdated Buttons Presser via Bug reports for GNU Guix
2024-04-08 15:08 ` Buttons Presser via Bug reports for GNU Guix
2024-04-08 15:11 ` Buttons Presser via Bug reports for GNU Guix
2024-04-08 15:17 ` Buttons Presser via Bug reports for GNU Guix [this message]
2024-04-12 11:33 ` Ricardo Wurmus
2024-04-14 17:53 ` wakyct--- via Bug reports for GNU Guix
2024-05-15 12:20   ` Guillaume Le Vaillant

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5m3natf.fsf@disroot.org \
    --to=bug-guix@gnu.org \
    --cc=70258@debbugs.gnu.org \
    --cc=buttonspresser@disroot.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.