GNU bug report logs - #60727
[PATCH] gnu: tractor: Update to 4.1.1.

Previous Next

Package: guix-patches;

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

Date: Wed, 11 Jan 2023 11:44:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60727: closed ([PATCH] gnu: tractor: Update to 4.1.1.)
Date: Sat, 28 Jan 2023 06:08:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 28 Jan 2023 14:07:37 +0800
with message-id <87ilgrqjiu.fsf <at> envs.net>
and subject line Re: bug#60727: [PATCH] gnu: tractor: Update to 4.1.1.
has caused the debbugs.gnu.org bug report #60727,
regarding [PATCH] gnu: tractor: Update to 4.1.1.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60727: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60727
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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: Update to 4.1.1.
Date: Wed, 11 Jan 2023 15:12:42 +0330
---
 gnu/packages/tor.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index d88a840..94cb0dc 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll <at> gmail.com>
 ;;; Copyright © 2020 Brice Waegeneire <brice <at> waegenei.re>
 ;;; Copyright © 2020 André Batista <nandre <at> riseup.net>
-;;; Copyright © 2021-2022 Danial Behzadi <dani.behzi <at> ubuntu.com>
+;;; Copyright © 2021-2023 Danial Behzadi <dani.behzi <at> ubuntu.com>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2022 Jim Newsome <jnewsome <at> torproject.org>
 ;;;
@@ -38,6 +38,7 @@ (define-module (gnu packages tor)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages libevent)
@@ -434,15 +435,15 @@ (define-public nyx
 (define-public tractor
   (package
     (name "tractor")
-    (version "4.0")
+    (version "4.1.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "traxtor" version))
        (sha256
         (base32
-         "107iwkhw9rxbp4samlcw24gdvgqh23rd7z60lrl1b4iljmhqjvcs"))))
-    (build-system python-build-system)
+         "1542g6alycwlmvndxcijzn4d5lgycmxxb78gqd8qwgm9kw0fnr3q"))))
+    (build-system pyproject-build-system)
     (native-inputs
      (list (list glib "bin")))       ; for glib-compile-schemas.
     (inputs
@@ -454,12 +455,21 @@ (define-public tractor
            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")))
-- 
2.39.0



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: Danial Behzadi <dani.behzi <at> ubuntu.com>
Cc: 60727-done <at> debbugs.gnu.org
Subject: Re: bug#60727: [PATCH] gnu: tractor: Update to 4.1.1.
Date: Sat, 28 Jan 2023 14:07:37 +0800
Danial Behzadi <dani.behzi <at> ubuntu.com> writes:

> ---
>  gnu/packages/tor.scm | 18 ++++++++++++++----
>  1 file changed, 14 insertions(+), 4 deletions(-)

Applied, thank you!


This bug report was last modified 2 years and 168 days ago.

Previous Next


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