From patchwork Mon Jan 8 11:09:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Danial Behzadi X-Patchwork-Id: 58669 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 75FE327BBE9; Mon, 8 Jan 2024 11:11:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C60E027BBE2 for ; Mon, 8 Jan 2024 11:11:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMnX5-0004gy-II; Mon, 08 Jan 2024 06:11:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMnWz-0004Zb-80 for guix-patches@gnu.org; Mon, 08 Jan 2024 06:10:58 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMnWx-0004VG-Km for guix-patches@gnu.org; Mon, 08 Jan 2024 06:10:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMnX3-00022I-OB for guix-patches@gnu.org; Mon, 08 Jan 2024 06:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68303] [PATCH] gnu: tractor: Update to 4.3.0. Resent-From: Danial Behzadi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68303 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68303@debbugs.gnu.org Cc: Danial Behzadi Received: via spool by 68303-submit@debbugs.gnu.org id=B68303.17047122147765 (code B ref 68303); Mon, 08 Jan 2024 11:11:01 +0000 Received: (at 68303) by debbugs.gnu.org; 8 Jan 2024 11:10:14 +0000 Received: from localhost ([127.0.0.1]:35330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMnWH-00021A-UI for submit@debbugs.gnu.org; Mon, 08 Jan 2024 06:10:14 -0500 Received: from mx1.riseup.net ([198.252.153.129]:41652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMnWE-00020x-Rf for 68303@debbugs.gnu.org; Mon, 08 Jan 2024 06:10:12 -0500 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4T7rtv0DqBzDqPf; Mon, 8 Jan 2024 11:09:59 +0000 (UTC) X-Riseup-User-ID: D046D459A279FF53375526045646EDE63C16E9CA0F53ECA185389B1B2901025B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4T7rtt3mY6zJmtT; Mon, 8 Jan 2024 11:09:58 +0000 (UTC) Received: from danialbehzadi by banshee with local (Exim 4.96) (envelope-from ) id 1rMnVy-000UMA-1e; Mon, 08 Jan 2024 14:39:54 +0330 From: Danial Behzadi Date: Mon, 8 Jan 2024 14:39:49 +0330 Message-Id: <20240108110949.116518-1-dani.behzi@ubuntu.com> In-Reply-To: <8> References: <8> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 André Batista -;;; Copyright © 2021-2023 Danial Behzadi +;;; Copyright © 2021-2024 Danial Behzadi ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Jim Newsome ;;; Copyright © 2023 Clément Lassieur @@ -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