GNU bug report logs - #67481
[PATCH] gnu: tractor: Change URI of source.

Previous Next

Package: guix-patches;

Reported by: Danial Behzadi <dani.behzi <at> ubuntu.com>

Date: Mon, 27 Nov 2023 10:03:02 UTC

Severity: normal

Tags: patch

Done: دانیال بهزادی <dani.behzi <at> ubuntu.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67481 in the body.
You can then email your comments to 67481 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67481; Package guix-patches. (Mon, 27 Nov 2023 10:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danial Behzadi <dani.behzi <at> ubuntu.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 27 Nov 2023 10:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danial Behzadi <dani.behzi <at> ubuntu.com>
To: guix-patches <at> gnu.org
Cc: Danial Behzadi <dani.behzi <at> ubuntu.com>
Subject: [PATCH] gnu: tractor: Change URI of source.
Date: Mon, 27 Nov 2023 13:31:09 +0330
---
 gnu/packages/tor.scm | 61 ++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index d4bf27a790..cb7fd571c5 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -441,41 +441,40 @@ (define-public tractor
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "traxtor" version))
+       (uri (string-append "https://framagit.org/tractor/tractor/-/archive/"
+                           version "/tractor-" version ".tar.bz2"))
        (sha256
-        (base32
-         "1542g6alycwlmvndxcijzn4d5lgycmxxb78gqd8qwgm9kw0fnr3q"))))
+        (base32 "0gnsgwgbipd1z3ra32mpglwy19jfay36y78nqg32zqka3lsha7rc"))))
     (build-system pyproject-build-system)
-    (native-inputs
-     (list (list glib "bin")))       ; for glib-compile-schemas.
-    (inputs
-     (list python-fire
-           python-psutil
-           python-pygobject
-           python-requests
-           python-stem
-           python-termcolor))
+    (native-inputs (list (list glib "bin"))) ;for glib-compile-schemas.
+    (inputs (list python-fire
+                  python-psutil
+                  python-pygobject
+                  python-requests
+                  python-stem
+                  python-termcolor))
     (arguments
      (list
-      #:tests? #f                   ; no test suite.
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'install 'install-man-page
-            (lambda _
-              (let ((man1 (string-append #$output "/share/man/man1")))
-                (install-file "tractor/man/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))))
-          (add-after 'install 'install-gschema
-            (lambda _
-              (let ((schemas (string-append #$output "/share/glib-2.0/schemas")))
-                (install-file "tractor/tractor.gschema.xml" schemas)))))))
+      #:tests? #f ;no test suite.
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'install 'install-man-page
+                     (lambda _
+                       (let ((man1 (string-append #$output "/share/man/man1")))
+                         (install-file "tractor/man/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))))
+                   (add-after 'install 'install-gschema
+                     (lambda _
+                       (let ((schemas (string-append #$output
+                                       "/share/glib-2.0/schemas")))
+                         (install-file "tractor/tractor.gschema.xml" schemas)))))))
     (home-page "https://framagit.org/tractor")
     (synopsis "Setup an onion routing proxy")
     (description
-- 
2.34.1





Information forwarded to guix-patches <at> gnu.org:
bug#67481; Package guix-patches. (Mon, 25 Dec 2023 17:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 67481 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Danial Behzadi <dani.behzi <at> ubuntu.com>
Cc: 67481 <at> debbugs.gnu.org
Subject: Re: [bug#67481] [PATCH] gnu: tractor: Change URI of source.
Date: Mon, 25 Dec 2023 18:32:23 +0100
Hello Danial,

> -       (uri (pypi-uri "traxtor" version))
> +       (uri (string-append "https://framagit.org/tractor/tractor/-/archive/"
> +                           version "/tractor-" version ".tar.bz2"))

What's the rationale behind the URI change? It seems that pypi is still
providing traxtor.

> -    (native-inputs
> -     (list (list glib "bin")))       ; for glib-compile-schemas.
> -    (inputs
> -     (list python-fire
> -           python-psutil
> -           python-pygobject
> -           python-requests
> -           python-stem
> -           python-termcolor))
> +    (native-inputs (list (list glib "bin"))) ;for glib-compile-schemas.
> +    (inputs (list python-fire
> +                  python-psutil
> +                  python-pygobject
> +                  python-requests
> +                  python-stem
> +                  python-termcolor))

All the subsequent modifications should be made in another separate
commit. Could you please send an updated version?

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#67481; Package guix-patches. (Sun, 07 Jan 2024 13:25:01 GMT) Full text and rfc822 format available.

Message #11 received at 67481 <at> debbugs.gnu.org (full text, mbox):

From: Danial Behzadi <dani.behzi <at> ubuntu.com>
To: 67481 <at> debbugs.gnu.org
Subject: [PATCH] gnu: tractor: Change URI of source.
Date: Sun, 07 Jan 2024 16:54:14 +0330
[Message part 1 (text/plain, inline)]
Close in favor of #68303

[Message part 2 (text/html, inline)]

Reply sent to دانیال بهزادی <dani.behzi <at> ubuntu.com>:
You have taken responsibility. (Tue, 04 Feb 2025 16:16:02 GMT) Full text and rfc822 format available.

Notification sent to Danial Behzadi <dani.behzi <at> ubuntu.com>:
bug acknowledged by developer. (Tue, 04 Feb 2025 16:16:03 GMT) Full text and rfc822 format available.

Message #16 received at 67481-done <at> debbugs.gnu.org (full text, mbox):

From: دانیال بهزادی
 <dani.behzi <at> ubuntu.com>
To: 67481-done <at> debbugs.gnu.org
Date: Tue, 04 Feb 2025 19:45:14 +0330
5.0.0




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Mar 2025 12:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 65 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.