From patchwork Mon Nov 27 10:01:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danial Behzadi X-Patchwork-Id: 56855 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 D0CA527BBEA; Mon, 27 Nov 2023 10:03:18 +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=ham 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 26BC427BBE9 for ; Mon, 27 Nov 2023 10:03:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7YSD-0007uM-Qm; Mon, 27 Nov 2023 05:03:02 -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 1r7YS8-0007u3-Qz for guix-patches@gnu.org; Mon, 27 Nov 2023 05:02:56 -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 1r7YS8-0005Lq-Fe for guix-patches@gnu.org; Mon, 27 Nov 2023 05:02:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7YSE-00082G-KI for guix-patches@gnu.org; Mon, 27 Nov 2023 05:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67481] [PATCH] gnu: tractor: Change URI of source. Resent-From: Danial Behzadi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Nov 2023 10:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67481 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67481@debbugs.gnu.org Cc: Danial Behzadi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170107935830847 (code B ref -1); Mon, 27 Nov 2023 10:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Nov 2023 10:02:38 +0000 Received: from localhost ([127.0.0.1]:43335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7YRp-00081O-LF for submit@debbugs.gnu.org; Mon, 27 Nov 2023 05:02:37 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7YRl-00080z-1A for submit@debbugs.gnu.org; Mon, 27 Nov 2023 05:02:36 -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 1r7YRX-0007rW-JA for guix-patches@gnu.org; Mon, 27 Nov 2023 05:02:21 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7YRR-0005Hh-Qo for guix-patches@gnu.org; Mon, 27 Nov 2023 05:02:15 -0500 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (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 mx0.riseup.net (Postfix) with ESMTPS id 4Sf1N16ZVdz9tsQ; Mon, 27 Nov 2023 10:02:09 +0000 (UTC) X-Riseup-User-ID: 5BBEFD1BAC2484030C9DF142B5E44964001EB4BD94DFD25FBB9BE75E085781A8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4Sf1N15RRYzFtVG; Mon, 27 Nov 2023 10:02:09 +0000 (UTC) Received: from danialbehzadi by banshee with local (Exim 4.96) (envelope-from ) id 1r7YQY-000OHf-0E; Mon, 27 Nov 2023 13:31:18 +0330 From: Danial Behzadi Date: Mon, 27 Nov 2023 13:31:09 +0330 Message-Id: <20231127100109.93330-1-dani.behzi@ubuntu.com> MIME-Version: 1.0 Received-SPF: pass client-ip=198.252.153.6; envelope-from=dani.behzi@ubuntu.com; helo=mx0.riseup.net X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 | 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