Subject: [PATCH] gnu: tractor: Update to 5.0.0.
From: Danial Behzadi <[email-masked]>
To: [email-masked]
Cc: Danial Behzadi <[email-masked]>
Date: Sat, 4 Jan 2025 17:37:11 +0330
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/packages/tor.scm | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 421f673..f02fc82 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -438,21 +438,20 @@ (define-public nyx
 (define-public tractor
   (package
     (name "tractor")
-    (version "4.1.1")
+    (version "5.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "traxtor" version))
        (sha256
         (base32
-         "1542g6alycwlmvndxcijzn4d5lgycmxxb78gqd8qwgm9kw0fnr3q"))))
+         "0is50z3v0mw9am31zizblq5ai30vz83qp6qsdingbn7f7cqzldmh"))))
     (build-system pyproject-build-system)
     (native-inputs
      (list python-setuptools python-wheel
            (list glib "bin")))       ; for glib-compile-schemas.
     (inputs
      (list python-fire
-           python-psutil
            python-pygobject
            python-requests
            python-stem
@@ -465,19 +464,16 @@ (define-public tractor
           (add-after 'install 'install-man-page
             (lambda _
               (let ((man1 (string-append #$output "/share/man/man1")))
-                (install-file "tractor/man/tractor.1" man1))))
+                (install-file "data/tractor.1" man1))))
           (add-after 'install 'install-bash-completion
             (lambda _
-              (mkdir "bash-completion")
-              (rename-file "tractor/tractor-completion"
-                           "bash-completion/tractor")
               (let ((bash-completion
                       (string-append #$output "/share/bash-completion/completions")))
-                (install-file "bash-completion/tractor" bash-completion))))
+                (install-file "data/completion/bash/tractor" bash-completion))))
           (add-after 'install 'install-gschema
             (lambda _
               (let ((schemas (string-append #$output "/share/glib-2.0/schemas")))
-                (install-file "tractor/tractor.gschema.xml" schemas)))))))
+                (install-file "src/tractor/tractor.gschema.xml" schemas)))))))
     (home-page "https://framagit.org/tractor")
     (synopsis "Setup an onion routing proxy")
     (description
-- 
2.45.2