unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Danial Behzadi <dani.behzi@ubuntu.com>
To: 68303@debbugs.gnu.org
Cc: Danial Behzadi <dani.behzi@ubuntu.com>
Subject: [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0.
Date: Mon,  8 Jan 2024 14:39:49 +0330	[thread overview]
Message-ID: <20240108110949.116518-1-dani.behzi@ubuntu.com> (raw)
In-Reply-To: <8>

* gnu/packages/tor.scm (tractor): Update to 4.3.0.
[source]: The new primary download link is from Framagit.
[inputs]: Remove python-psutil as no longer needed.
[phases]: Upstream is now in src-layout. data is excluded.
[home-page]: The new home is hosted on tractor.frama.io.
---
 gnu/packages/tor.scm | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index b81944ee6b..06b0746670 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2020 André Batista <nandre@riseup.net>
-;;; Copyright © 2021-2023 Danial Behzadi <dani.behzi@ubuntu.com>
+;;; Copyright © 2021-2024 Danial Behzadi <dani.behzi@ubuntu.com>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
 ;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
@@ -443,20 +443,20 @@ (define-public nyx
 (define-public tractor
   (package
     (name "tractor")
-    (version "4.1.1")
+    (version "4.3.0")
     (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"))))
+         "1kal71hh8wbar19785b86q62rcilxrma8ldjjk258vf7lr1w12dv"))))
     (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
@@ -464,25 +464,21 @@ (define-public tractor
     (arguments
      (list
       #:tests? #f                   ; no test suite.
-      #:phases
-      #~(modify-phases %standard-phases
+      #: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))))
+                (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)))))))
-    (home-page "https://framagit.org/tractor")
+               (install-file "src/tractor/tractor.gschema.xml" schemas)))))))
+    (home-page "https://tractor.frama.io/tractor/")
     (synopsis "Setup an onion routing proxy")
     (description
      "This package uses Python stem library to provide a connection through
-- 
2.39.2





  parent reply	other threads:[~2024-01-08 11:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8>
2022-03-09 22:48 ` [bug#52114] [PATCH v2] * gnu/packages/xdisorg.scm (skippy-xd): New variable Wamm K. D
2022-05-19  5:54 ` [bug#55518] [PATCH] gnu: Add siglo Wamm K. D
2024-01-08 11:09 ` Danial Behzadi [this message]
2024-01-07 13:20 [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0 Danial Behzadi
2024-01-07 20:00 ` Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240108110949.116518-1-dani.behzi@ubuntu.com \
    --to=dani.behzi@ubuntu.com \
    --cc=68303@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).