From 86f853c4a3f615e133084db6f80ca22eb312d800 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 24 May 2023 23:57:08 +0200 Subject: [PATCH] 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 @@ (define-module (gnu packages video) #: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 @@ (define-public gaupol (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 @@ (define-public gaupol (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"))