From unknown Sat Jun 21 10:18:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#76335 <76335@debbugs.gnu.org> To: bug#76335 <76335@debbugs.gnu.org> Subject: Status: [PATCH 0/1] trash-cli: Update to 0.24.5.26. Reply-To: bug#76335 <76335@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:18:06 +0000 retitle 76335 [PATCH 0/1] trash-cli: Update to 0.24.5.26. reassign 76335 guix-patches submitter 76335 simon@netpanic.org severity 76335 normal tag 76335 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 07:58:22 2025 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 12:58:22 +0000 Received: from localhost ([127.0.0.1]:60879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjeE2-0007Uu-1R for submit@debbugs.gnu.org; Sun, 16 Feb 2025 07:58:22 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40220) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjeDz-0007UY-Jw for submit@debbugs.gnu.org; Sun, 16 Feb 2025 07:58:20 -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 1tjeDs-00076K-2m for guix-patches@gnu.org; Sun, 16 Feb 2025 07:58:12 -0500 Received: from smtprelay06.ispgateway.de ([80.67.18.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjeDp-0008Ah-2J for guix-patches@gnu.org; Sun, 16 Feb 2025 07:58:11 -0500 Received: from [195.52.128.27] (helo=milk.netpanic.home.arpa) by smtprelay06.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tjeDe-000000004gc-169x; Sun, 16 Feb 2025 13:57:58 +0100 From: simon@netpanic.org To: guix-patches@gnu.org Subject: [PATCH 0/1] trash-cli: Update to 0.24.5.26. Date: Sun, 16 Feb 2025 13:57:56 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: c2ltb25AbmV0cGFuaWMub3Jn Received-SPF: pass client-ip=80.67.18.29; envelope-from=simon@netpanic.org; helo=smtprelay06.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Simon Streit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) From: Simon Streit Hello, as promised to clear my local modifications, please find attached a patch to update trash-cli to 0.24.5.26. I added python-shtab as new native-input to enable the generation of completion files. I tried to get this working in the build process. The results where not as good as expected. I am leaving this as an open task for someone else to pick up. Thus the package is only upgraded to the newest current version for now. Kind regards Simon Streit (1): gnu: trash-cli: Update to 0.24.5.26. gnu/packages/shellutils.scm | 61 +++++++++++++++---------------------- 1 file changed, 25 insertions(+), 36 deletions(-) -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 08:00:54 2025 Received: (at 76335) by debbugs.gnu.org; 16 Feb 2025 13:00:54 +0000 Received: from localhost ([127.0.0.1]:60898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjeGT-0007h6-Jc for submit@debbugs.gnu.org; Sun, 16 Feb 2025 08:00:53 -0500 Received: from smtprelay03.ispgateway.de ([80.67.31.41]:17567) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjeGQ-0007gt-6p for 76335@debbugs.gnu.org; Sun, 16 Feb 2025 08:00:51 -0500 Received: from [195.52.128.27] (helo=milk.netpanic.home.arpa) by smtprelay03.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tjeGY-0000000082r-2F4Q; Sun, 16 Feb 2025 14:00:58 +0100 From: simon@netpanic.org To: 76335@debbugs.gnu.org Subject: [PATCH 1/1] gnu: trash-cli: Update to 0.24.5.26. Date: Sun, 16 Feb 2025 14:00:42 +0100 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: c2ltb25AbmV0cGFuaWMub3Jn X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76335 Cc: Simon Streit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Simon Streit * gnu/packages/shellutils.scm (trash-cli): Update to 0.24.5.26. * gnu/packages/shellutils.scm: Update to 0.24.5.26. Improve style. [native-iinputs]: Add python-shtab. Sort. Change-Id: I2f9ca7e2eb27657d8356c5cd3648c1e3a10cd0a8 --- gnu/packages/shellutils.scm | 61 +++++++++++++++---------------------- 1 file changed, 25 insertions(+), 36 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index dc9a51e25f..7bd245142a 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -645,7 +645,7 @@ (define-public envstore (define-public trash-cli (package (name "trash-cli") - (version "0.22.10.20") + (version "0.24.5.26") (source (origin (method git-fetch) @@ -654,44 +654,33 @@ (define-public trash-cli (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0hkn0hmwrag56g447ddqapib0s399a6b4a9wlliif6zmirxlww9n")))) + (base32 "1mqs3y9vbph33jsaa5hc0fhk80pklmsn8ylp979k9qj63fgqrnwn")))) (build-system python-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-before 'build 'patch-path-constants - (lambda* (#:key inputs #:allow-other-keys) - (let ((libc (search-input-file inputs "lib/libc.so.6")) - (df #$(file-append coreutils "/bin/df"))) - (substitute* "trashcli/list_mount_points.py" - (("\"/lib/libc.so.6\".*") - (string-append "\"" libc "\"\n")) - (("\"df\"") - (string-append "\"" df "\"")))))) - (add-before 'build 'fix-setup.py - (lambda* (#:key outputs #:allow-other-keys) - (let ((bin (string-append #$output "/bin"))) - (mkdir-p bin) - (substitute* "setup.py" - (("add_script\\('") - (string-append "add_script('" bin "/" )))))) - ;; Whenever setup.py is invoked, scripts in out/bin/ are - ;; replaced. Thus we cannot invoke setup.py for testing. - ;; Upstream also uses pytest. - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) - (native-inputs - (list python-pytest - python-parameterized - python-flexmock - python-mock - python-six)) + (list + #:phases #~(modify-phases %standard-phases + (add-before 'build 'fix-setup.py + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append #$output "/bin"))) + (mkdir-p bin) + (substitute* "setup.py" + (("add_script\\('") + (string-append "add_script('" bin "/")))))) + ;; Whenever setup.py is invoked, scripts in out/bin/ are + ;; replaced. Thus we cannot invoke setup.py for testing. + ;; Upstream also uses pytest. + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest"))))))) + (native-inputs (list python-flexmock + python-mock + python-parameterized + python-pytest + python-shtab + python-six)) (inputs (list coreutils)) - (propagated-inputs - (list python-psutil)) + (propagated-inputs (list python-psutil)) (home-page "https://github.com/andreafrancia/trash-cli") (synopsis "Trash can management tool") (description -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 07 16:14:45 2025 Received: (at 76335-done) by debbugs.gnu.org; 7 Apr 2025 20:14:46 +0000 Received: from localhost ([127.0.0.1]:57084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1srl-0004Uy-Lk for submit@debbugs.gnu.org; Mon, 07 Apr 2025 16:14:45 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:49165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u1sri-0004Ug-N4 for 76335-done@debbugs.gnu.org; Mon, 07 Apr 2025 16:14:43 -0400 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::1ce5]) by mira.cbaines.net (Postfix) with ESMTPSA id 0769927BC49; Mon, 7 Apr 2025 21:14:41 +0100 (BST) Received: from fang (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id cf1754de; Mon, 7 Apr 2025 20:14:40 +0000 (UTC) From: Christopher Baines To: simon@netpanic.org Subject: Re: [bug#76335] [PATCH 1/1] gnu: trash-cli: Update to 0.24.5.26. In-Reply-To: (simon@netpanic.org's message of "Sun, 16 Feb 2025 14:00:42 +0100") References: User-Agent: mu4e 1.12.9; emacs 29.4 Date: Mon, 07 Apr 2025 21:14:37 +0100 Message-ID: <8734eju3te.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 76335-done Cc: 76335-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain simon@netpanic.org writes: > From: Simon Streit > > * gnu/packages/shellutils.scm (trash-cli): Update to 0.24.5.26. > > * gnu/packages/shellutils.scm: Update to 0.24.5.26. Improve > style. [native-iinputs]: Add python-shtab. Sort. > > Change-Id: I2f9ca7e2eb27657d8356c5cd3648c1e3a10cd0a8 > --- > gnu/packages/shellutils.scm | 61 +++++++++++++++---------------------- > 1 file changed, 25 insertions(+), 36 deletions(-) Thanks for the patch, I've pushed this to master as 3f69bfe87e3f0a0b3a6b5e1022faa6efd397b4e6. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmf0Mi1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfCTA/+MIDAcp/XHg+4eHJW4aZECWQ+qw5rV0x7 DgDYuhQUWqVyRh9BBeXyA5F5RVZbbfIMCxnAx3ffXTYQxEvMwtu0AoKkfTsx7ecR fcILQheKWBdtCz1vo/lkETIN4C7WitpnMjKXKwD2dZMDpKrYDNsr4RE9Pb7IM7Nh 4ccMbIe0JAxGRBpfmS0icyBkSR+sDKZrUawVt/+Wr+n64GgcUBHYXYxTHlFqy21D p4pI+2admDeGqAlUZB95FzMHEH3rD2Yao0PMmaQSiDvd3hPq+Jm4VT3+jtc411lE aZA8mzLQdA6dzq6ABEwrp/7fbRqZuTuJTHj9LzTf5HQJlAMh4ki0jO+Wujy9rhfM 6GFwEv11emCwB+ZXZAnFTjD2Shev/XInW7+riIcdm5/clYBCh0NcLE9yoXqqqSrA cn2EEre5q+j9dbuyzJg66VF5c08vwRoozdEPi5WXeCBKicWzAqqB/KqNUjCSk09o OnvTDFaD7uAtghKc42OClYN1ZvvrtFWr+NmnkIbGRLKCZ6lbLFmDosMmtwpXAaii uohxchx/SiKI7wHXrdZpJGVOtK+m3xWJmGhGx7NCpJuZrqJDK6A/Q/0iFYxPvNCs mNT/DvzjU9tEhvSZUt3UJiGnCNemK/r8sx2riShQxpXnU4uTwMhiPd92bsoP5GwT JAPB+iWS5yw= =IIoY -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 10:18:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 May 2025 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator