guix_mirror_bot pushed a commit to branch master
in repository guix.

commit aec80de0f3be9f550bfdd46d720d731681479291
Author: Vinicius Monego <[email protected]>
AuthorDate: Sun Jul 20 10:08:26 2025 -0300

    gnu: deluge: Use pyproject-build-system.
    
    * gnu/packages/bittorrent.scm (deluge)[build-system]: Use
    pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    [propagated-inputs]: Remove python-six.
    [arguments]<#:phases>: Rename 'wrap' to 'wrap-deluge' and move it before
    the default 'wrap'.
    
    Change-Id: Ie921ca44c7c92971b1ddec8d7e55ecfacedb63ce
---
 gnu/packages/bittorrent.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm
index 3271d8d890..3ce5f5d4f5 100644
--- a/gnu/packages/bittorrent.scm
+++ b/gnu/packages/bittorrent.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2024 Zheng Junjie <[email protected]>
 ;;; Copyright © 2025 Tomas Volf <[email protected]>
 ;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
+;;; Copyright © 2025 Vinicius Monego <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
   #:use-module (guix build-system glib-or-gtk)
@@ -608,7 +610,7 @@ the following features:
        (sha256
         (base32
          "1kbac1qjbddcib0bldqaf0dcq5mqi9i2jv2fd4fayam4bcmjgfmr"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (inputs (list bash-minimal))
     (propagated-inputs
      (list gtk+
@@ -625,11 +627,10 @@ the following features:
            python-rencode
            python-service-identity
            python-setproctitle
-           python-six
            python-twisted
            python-zope-interface))
     (native-inputs
-     (list intltool python-wheel
+     (list intltool python-setuptools python-wheel
            (librsvg-for-system)))
     (native-search-paths
      (list $SSL_CERT_DIR
@@ -642,7 +643,7 @@ the following features:
      `(#:tests? #f
        #:phases
        (modify-phases %standard-phases
-         (add-after 'install 'wrap
+         (add-before 'wrap 'wrap-deluge
            (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
              (let ((out               (assoc-ref outputs "out"))
                    ;; "librsvg" input is only needed at build time and it

Reply via email to