guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: gaupol: Use pyproject-build-system.


From: guix-commits
Subject: 03/04: gnu: gaupol: Use pyproject-build-system.
Date: Wed, 24 May 2023 17:59:34 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 86f853c4a3f615e133084db6f80ca22eb312d800
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 24 23:57:08 2023 +0200

    gnu: gaupol: Use pyproject-build-system.
    
    * gnu/packages/video.scm (gauplo)[build-system]: Use pyproject-build-system.
    [arguments]: Delete custom 'install phase.
---
 gnu/packages/video.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d053fe91fb..0de0f3e363 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -99,6 +99,7 @@
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system perl)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
   #:use-module (guix build-system waf)
@@ -5059,7 +5060,7 @@ video from a Wayland session.")
               (sha256
                (base32
                 "01qbhhycmy26b2mw2jlri321k478jhp7y0jzlcv87iaq05qr4pc8"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (native-inputs
      (list gettext-minimal pkg-config))
     (inputs
@@ -5086,13 +5087,6 @@ video from a Wayland session.")
              (substitute* "setup.py"
                (("distutils\\.util\\.byte_compile\\(.*")
                 ""))))
-         ;; gaupol's setup.py script does not support one of the Python build
-         ;; system's default flags, "--single-version-externally-managed".
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "python" "setup.py" "install"
-                     (string-append "--prefix=" (assoc-ref outputs "out"))
-                     "--root=/")))
          (add-after 'install 'wrap-gaupol
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]