GNU bug report logs - #66208
[PATCH] gnu: add python-shshsh

Previous Next

Package: guix-patches;

Reported by: Andrew Jose <arnav.jose <at> gmail.com>

Date: Tue, 26 Sep 2023 09:31:01 UTC

Owned by: Steve George <steve <at> futurile.net>

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66208 in the body.
You can then email your comments to 66208 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Tue, 26 Sep 2023 09:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Jose <arnav.jose <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 26 Sep 2023 09:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Jose <arnav.jose <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Andrew Jose <arnav.jose <at> gmail.com>
Subject: [PATCH] gnu: add python-shshsh
Date: Tue, 26 Sep 2023 14:59:32 +0530
Adds a new module, shshsh, from github as the pypi version does not have
a license yet. Its homepage: https://github.com/zqqqqz2000/shshsh
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bebcfb50e9..bbfd4970c3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19072,6 +19072,31 @@ (define-public python-shellingham
 running in.")
     (license license:isc)))
 
+(define-public python-shshsh
+  (package
+   (name "python-shshsh")
+   (version "1.0.5")
+   (source
+    (origin
+     (method git-fetch)
+     (uri
+      (git-reference
+       (url "https://github.com/zqqqqz2000/shshsh")
+       (commit "d9b846782e4d5ae6d02aa3febffb11e746e34a80")))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32
+       "0l661h9nf1vlaw5242yiq0cxk44p76xl88xm4327qisf2k136m52"))))
+   (build-system pyproject-build-system)
+   (native-inputs
+    (list python-poetry-core
+	  python-pytest
+          python-tox))
+   (home-page "https://github.com/zqqqqz2000/shshsh")
+   (synopsis "bridge of python and shell")
+   (description "bridge of python and shell")
+   (license license:expat)))
+
 (define-public python-memcached
   (package
     (name "python-memcached")
-- 
2.34.1





Owner recorded as Steve George <steve <at> futurile.net>. Request was from Steve George <steve <at> futurile.net> to control <at> debbugs.gnu.org. (Thu, 07 Mar 2024 19:16:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org, Steve George <steve <at> futurile.net>:
bug#66208; Package guix-patches. (Wed, 20 Mar 2024 22:13:01 GMT) Full text and rfc822 format available.

Message #10 received at 66208 <at> debbugs.gnu.org (full text, mbox):

From: Marco Rimoldi <rimarko <at> libero.it>
To: 66208 <at> debbugs.gnu.org
Subject: [PATCH] gnu: add python-shshsh
Date: Wed, 20 Mar 2024 23:11:35 +0100
I suggest using the package on Pypi: https://pypi.org/project/shshsh/1.0.6/

It's been updated since the initial patch.

Marco




Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Thu, 04 Apr 2024 21:46:03 GMT) Full text and rfc822 format available.

Message #13 received at 66208 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 66208 <at> debbugs.gnu.org,
	66209 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>, guix-patches <at> gnu.org
Subject: [PATCH v2 0/1] Review python-shshsh
Date: Thu,  4 Apr 2024 22:44:58 +0100
Review:
  * submission: checked & updated commit format, synopsis and description
  * submission: checked license and patch applies cleanly
  * functionality: test installed and used in python
  * code: ran guix lint, formatting looked OK
  * added: Reviewed-by commit trailer
  * Re-roll to trigger QA build

Andrew Jose (1):
  gnu: Add python-shshsh.

 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)


base-commit: 83b9867e007348693c9e5e2a567b688eb5b74964
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Thu, 04 Apr 2024 21:47:03 GMT) Full text and rfc822 format available.

Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Thu, 04 Apr 2024 21:48:02 GMT) Full text and rfc822 format available.

Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Thu, 04 Apr 2024 21:48:03 GMT) Full text and rfc822 format available.

Message #22 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 66208 <at> debbugs.gnu.org
Cc: Andrew Jose <arnav.jose <at> gmail.com>, Steve George <steve <at> futurile.net>,
 guix-patches <at> gnu.org
Subject: [PATCH v2 1/1] gnu: Add python-shshsh.
Date: Thu,  4 Apr 2024 22:46:18 +0100
From: Andrew Jose <arnav.jose <at> gmail.com>

* gnu/packages/python-xyz.scm (python-shshsh): New variable.

Reviewed-by: Steve George <steve <at> futurile.net>
Change-Id: Iadd75c769a4391195b32789590f94fd8afbe21b6
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cd10f304c83..f201b3ec31e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20738,6 +20738,35 @@ (define-public python-shellingham
 running in.")
     (license license:isc)))
 
+(define-public python-shshsh
+  (package
+   (name "python-shshsh")
+   (version "1.0.5")
+   (source
+    (origin
+     (method git-fetch)
+     (uri
+       (git-reference
+         (url "https://github.com/zqqqqz2000/shshsh")
+         (commit
+           "fd21c8696aebaae04507760c16cb45979291fef5")))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32
+           "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f"))))
+   (build-system pyproject-build-system)
+   (native-inputs
+     (list python-poetry-core
+           python-pytest
+           python-tox))
+   (home-page "https://github.com/zqqqqz2000/shshsh")
+   (synopsis "Write Shell commands simply and safely within Python")
+   (description "This package provides a way to write Shell commands from
+within Python.  Python functions can be chained together to process input
+Bash control characters are escapted so that parameters can be passed
+without worrying about command injection.")
+   (license license:expat)))
+
 (define-public python-memcached
   (package
     (name "python-memcached")
-- 
2.41.0





Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Thu, 04 Apr 2024 21:48:03 GMT) Full text and rfc822 format available.

Information forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#66208; Package guix-patches. (Thu, 04 Apr 2024 21:48:03 GMT) Full text and rfc822 format available.

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 07 Apr 2024 19:32:03 GMT) Full text and rfc822 format available.

Notification sent to Andrew Jose <arnav.jose <at> gmail.com>:
bug acknowledged by developer. (Sun, 07 Apr 2024 19:32:04 GMT) Full text and rfc822 format available.

Message #33 received at 66208-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Steve George <steve <at> futurile.net>
Cc: arnav.jose <at> gmail.com, 66208-done <at> debbugs.gnu.org
Subject: Re: [bug#66208] [PATCH v2 1/1] gnu: Add python-shshsh.
Date: Sun, 07 Apr 2024 20:31:24 +0100
[Message part 1 (text/plain, inline)]
Steve George <steve <at> futurile.net> writes:

> From: Andrew Jose <arnav.jose <at> gmail.com>
>
> * gnu/packages/python-xyz.scm (python-shshsh): New variable.
>
> Reviewed-by: Steve George <steve <at> futurile.net>
> Change-Id: Iadd75c769a4391195b32789590f94fd8afbe21b6
> ---
>  gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)

Thanks both, I tweaked the indentation and pushed this to master as
1977fa35c553f4ba9427876f065f5816f7b70b5b.

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 May 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


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