From unknown Fri Aug 15 20:05:08 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58514] [PATCH] gnu: Add s3cmd. Resent-From: Matthew James Kraai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Oct 2022 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58514@debbugs.gnu.org Cc: Matthew James Kraai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166575463513137 (code B ref -1); Fri, 14 Oct 2022 13:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Oct 2022 13:37:15 +0000 Received: from localhost ([127.0.0.1]:36255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojKsF-0003Po-9B for submit@debbugs.gnu.org; Fri, 14 Oct 2022 09:37:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:47730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojKs9-0003Pc-5d for submit@debbugs.gnu.org; Fri, 14 Oct 2022 09:37:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojKs8-0006es-Vg for guix-patches@gnu.org; Fri, 14 Oct 2022 09:37:08 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:40222 helo=aws.ftbfs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojKs7-0008Sc-Au for guix-patches@gnu.org; Fri, 14 Oct 2022 09:37:08 -0400 Received: from ip68-4-255-43.oc.oc.cox.net ([68.4.255.43] helo=carlo.lan) by aws.ftbfs.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ojKs4-000Gor-4x; Fri, 14 Oct 2022 13:37:04 +0000 From: Matthew James Kraai Date: Fri, 14 Oct 2022 06:37:01 -0700 Message-Id: <20221014133701.4764-1-kraai@ftbfs.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No (score -2.9): Spam detection software, running on the system "aws.ftbfs.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: * gnu/packages/python-xyz.scm (python-s3cmd): New variable. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c647bd42f..3c5b247df8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -75,7 +75,7 @@ ;;; Cop [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Received-SPF: pass client-ip=52.8.68.13; envelope-from=kraai@ftbfs.org; helo=aws.ftbfs.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) * gnu/packages/python-xyz.scm (python-s3cmd): New variable. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c647bd42f..3c5b247df8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -75,7 +75,7 @@ ;;; Copyright © 2020 Josh Marshall ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Alex ter Weele -;;; Copyright © 2020 Matthew James Kraai +;;; Copyright © 2020, 2022 Matthew James Kraai ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman @@ -16189,6 +16189,32 @@ (define-public python-magic the same purpose: to provide Python bindings for libmagic.") (license license:expat))) +(define-public python-s3cmd + (package + (name "python-s3cmd") + (version "2.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/s3tools/s3cmd") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rdgwwmmp8mdxc84bxq6k9a7v7z2qgc3df47djzs2b84gw81dglx")))) + (build-system python-build-system) + (propagated-inputs + (list python-dateutil python-magic)) + (home-page "https://s3tools.org/s3cmd") + (synopsis "Command line tool for S3-compatible storage services") + (description + "S3cmd is a command line tool for uploading, retrieving and managing data +in storage services that are compatible with the Amazon Simple Storage +Service (S3) protocol, including S3 itself. It supports rsync-like backup, +GnuPG encryption, and more. It also supports management of Amazon's +CloudFront content delivery network.") + (license license:gpl2+))) + (define-public python-pkgconfig (package (name "python-pkgconfig") -- 2.38.0 From unknown Fri Aug 15 20:05:08 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Matthew James Kraai Subject: bug#58514: closed (Re: [bug#58514] [PATCH] gnu: Add s3cmd.) Message-ID: References: <87v8ojaa4l.fsf@cbaines.net> <20221014133701.4764-1-kraai@ftbfs.org> X-Gnu-PR-Message: they-closed 58514 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 58514@debbugs.gnu.org Date: Sun, 16 Oct 2022 18:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1665945422-9581-1" This is a multi-part message in MIME format... ------------=_1665945422-9581-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58514: [PATCH] gnu: Add s3cmd. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58514@debbugs.gnu.org. --=20 58514: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58514 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1665945422-9581-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58514-done) by debbugs.gnu.org; 16 Oct 2022 18:36:45 +0000 Received: from localhost ([127.0.0.1]:46239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok8VB-0002U1-58 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 14:36:45 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok8V9-0002Ts-SW for 58514-done@debbugs.gnu.org; Sun, 16 Oct 2022 14:36:44 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 3F9DD27BBE9; Sun, 16 Oct 2022 19:36:43 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 52427065; Sun, 16 Oct 2022 18:36:42 +0000 (UTC) References: <20221014133701.4764-1-kraai@ftbfs.org> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: Matthew James Kraai Subject: Re: [bug#58514] [PATCH] gnu: Add s3cmd. Date: Sun, 16 Oct 2022 19:34:51 +0100 In-reply-to: <20221014133701.4764-1-kraai@ftbfs.org> Message-ID: <87v8ojaa4l.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: 58514-done Cc: 58514-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 Matthew James Kraai writes: > * gnu/packages/python-xyz.scm (python-s3cmd): New variable. > --- > gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- > 1 file changed, 27 insertions(+), 1 deletion(-) Thanks Matthew, I've gone ahead and pushed this to master as cf19228932eff2ede5f39f4fdc759374e3b89991. I made a few tweaks, all around packaging this more as a tool than a Python library. I made the inputs plain inputs rather than propagated inputs, since that'll interfere less with users profiles, and I also just named the package s3cmd, since the python bit is not particularly relevant. Thanks again, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNMTzpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XdgIA/8DI//+eAuY//1so1F18YZA53bYR+9SoQL NkVomgJEu8PU039IYvKVcybcV6xwBDBwvVtAnplFilGZV4nGpbqHB2Prclg99bfD AeQl/neCNvemxS2DkOEdehycM7wcTOv5V9PzugWD53sLUTqNMuzih56u/LJ+SBMG M1s57to4qD5BJkyh/dQCskcFBgIYjmQpJWGdUo8f6dJ+kVhXqsYeNWYtNs32oHzZ Ko3YcGDKcDRIQZrqpLSpTJff4cif/dKFX+uq9DhwItxUXbgsJtrtuOmg2LAuPBEy m+WIABjBQAKuvwKe6RRCSdOCqkNN0+F3UOKSvG9ioBPgtF/Pt/EirmlvPNqGQWoD E6oNaUk29NWtiiWmxh7Z0ZIHcqmoVVWGGVn2ufnp8gsr5LACXceIbzA1rcNPagIk zFDxN79rnQh21qfxDK/J/EY9jAKQm+Y8OpqwLOWcrpQ2NK165IJQOnjygiYeaKHG YhXoHX8bsrwqMsj8szgiDYefyZQo8WV9gSCIeGp6/PHVNuEIkKmLw8hsEiUSW5cU Y7H3MhCJVIYG7FCcFsKc7yEY/n4/SkzKfq42WP84Qrcht2G7PKtibpmHIYZkbjWn FpWzXKKn8Upu5Eckq0qX1U/jupInJ0ps6AXNEAGX17bWv6FXmkAldH5L/GpWA/U+ HLBKY5Ns3FA= =bT3q -----END PGP SIGNATURE----- --=-=-=-- ------------=_1665945422-9581-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Oct 2022 13:37:15 +0000 Received: from localhost ([127.0.0.1]:36255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojKsF-0003Po-9B for submit@debbugs.gnu.org; Fri, 14 Oct 2022 09:37:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:47730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojKs9-0003Pc-5d for submit@debbugs.gnu.org; Fri, 14 Oct 2022 09:37:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojKs8-0006es-Vg for guix-patches@gnu.org; Fri, 14 Oct 2022 09:37:08 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:40222 helo=aws.ftbfs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojKs7-0008Sc-Au for guix-patches@gnu.org; Fri, 14 Oct 2022 09:37:08 -0400 Received: from ip68-4-255-43.oc.oc.cox.net ([68.4.255.43] helo=carlo.lan) by aws.ftbfs.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ojKs4-000Gor-4x; Fri, 14 Oct 2022 13:37:04 +0000 From: Matthew James Kraai To: guix-patches@gnu.org Subject: [PATCH] gnu: Add s3cmd. Date: Fri, 14 Oct 2022 06:37:01 -0700 Message-Id: <20221014133701.4764-1-kraai@ftbfs.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No (score -2.9): Spam detection software, running on the system "aws.ftbfs.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: * gnu/packages/python-xyz.scm (python-s3cmd): New variable. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c647bd42f..3c5b247df8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -75,7 +75,7 @@ ;;; Cop [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Received-SPF: pass client-ip=52.8.68.13; envelope-from=kraai@ftbfs.org; helo=aws.ftbfs.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Matthew James Kraai 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: -2.4 (--) * gnu/packages/python-xyz.scm (python-s3cmd): New variable. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c647bd42f..3c5b247df8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -75,7 +75,7 @@ ;;; Copyright © 2020 Josh Marshall ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Alex ter Weele -;;; Copyright © 2020 Matthew James Kraai +;;; Copyright © 2020, 2022 Matthew James Kraai ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman @@ -16189,6 +16189,32 @@ (define-public python-magic the same purpose: to provide Python bindings for libmagic.") (license license:expat))) +(define-public python-s3cmd + (package + (name "python-s3cmd") + (version "2.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/s3tools/s3cmd") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rdgwwmmp8mdxc84bxq6k9a7v7z2qgc3df47djzs2b84gw81dglx")))) + (build-system python-build-system) + (propagated-inputs + (list python-dateutil python-magic)) + (home-page "https://s3tools.org/s3cmd") + (synopsis "Command line tool for S3-compatible storage services") + (description + "S3cmd is a command line tool for uploading, retrieving and managing data +in storage services that are compatible with the Amazon Simple Storage +Service (S3) protocol, including S3 itself. It supports rsync-like backup, +GnuPG encryption, and more. It also supports management of Amazon's +CloudFront content delivery network.") + (license license:gpl2+))) + (define-public python-pkgconfig (package (name "python-pkgconfig") -- 2.38.0 ------------=_1665945422-9581-1--