* [bug#66208] [PATCH] gnu: add python-shshsh
@ 2023-09-26 9:29 Andrew Jose
2024-03-20 22:11 ` Marco Rimoldi via Guix-patches via
2024-04-04 21:44 ` [bug#66208] [PATCH v2 0/1] Review python-shshsh Steve George
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Jose @ 2023-09-26 9:29 UTC (permalink / raw)
To: 66208; +Cc: Andrew Jose
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#66208] [PATCH] gnu: add python-shshsh
2023-09-26 9:29 [bug#66208] [PATCH] gnu: add python-shshsh Andrew Jose
@ 2024-03-20 22:11 ` Marco Rimoldi via Guix-patches via
2024-04-04 21:44 ` [bug#66208] [PATCH v2 0/1] Review python-shshsh Steve George
1 sibling, 0 replies; 5+ messages in thread
From: Marco Rimoldi via Guix-patches via @ 2024-03-20 22:11 UTC (permalink / raw)
To: 66208
I suggest using the package on Pypi: https://pypi.org/project/shshsh/1.0.6/
It's been updated since the initial patch.
Marco
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#66208] [PATCH v2 0/1] Review python-shshsh
2023-09-26 9:29 [bug#66208] [PATCH] gnu: add python-shshsh Andrew Jose
2024-03-20 22:11 ` Marco Rimoldi via Guix-patches via
@ 2024-04-04 21:44 ` Steve George
2024-04-04 21:46 ` [bug#66208] [PATCH v2 1/1] gnu: Add python-shshsh Steve George
1 sibling, 1 reply; 5+ messages in thread
From: Steve George @ 2024-04-04 21:44 UTC (permalink / raw)
To: 66208, 66209; +Cc: steve, lars, marius, me, sharlatanus, tanguy, jgart
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#66208] [PATCH v2 1/1] gnu: Add python-shshsh.
2024-04-04 21:44 ` [bug#66208] [PATCH v2 0/1] Review python-shshsh Steve George
@ 2024-04-04 21:46 ` Steve George
2024-04-07 19:31 ` bug#66208: " Christopher Baines
0 siblings, 1 reply; 5+ messages in thread
From: Steve George @ 2024-04-04 21:46 UTC (permalink / raw)
To: 66208; +Cc: arnav.jose, steve, lars, marius, me, sharlatanus, tanguy, jgart
From: Andrew Jose <arnav.jose@gmail.com>
* gnu/packages/python-xyz.scm (python-shshsh): New variable.
Reviewed-by: Steve George <steve@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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#66208: [PATCH v2 1/1] gnu: Add python-shshsh.
2024-04-04 21:46 ` [bug#66208] [PATCH v2 1/1] gnu: Add python-shshsh Steve George
@ 2024-04-07 19:31 ` Christopher Baines
0 siblings, 0 replies; 5+ messages in thread
From: Christopher Baines @ 2024-04-07 19:31 UTC (permalink / raw)
To: Steve George; +Cc: arnav.jose, 66208-done
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
Steve George <steve@futurile.net> writes:
> From: Andrew Jose <arnav.jose@gmail.com>
>
> * gnu/packages/python-xyz.scm (python-shshsh): New variable.
>
> Reviewed-by: Steve George <steve@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-07 19:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-26 9:29 [bug#66208] [PATCH] gnu: add python-shshsh Andrew Jose
2024-03-20 22:11 ` Marco Rimoldi via Guix-patches via
2024-04-04 21:44 ` [bug#66208] [PATCH v2 0/1] Review python-shshsh Steve George
2024-04-04 21:46 ` [bug#66208] [PATCH v2 1/1] gnu: Add python-shshsh Steve George
2024-04-07 19:31 ` bug#66208: " Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).