GNU bug report logs -
#49470
[PATCH] gnu: Add python-beautysh.
Previous Next
Reported by: "jgart" <jgart <at> dismail.de>
Date: Thu, 8 Jul 2021 20:49:01 UTC
Severity: normal
Tags: moreinfo, patch
Done: "jgart" <jgart <at> dismail.de>
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 49470 in the body.
You can then email your comments to 49470 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#49470
; Package
guix-patches
.
(Thu, 08 Jul 2021 20:49:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"jgart" <jgart <at> dismail.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 08 Jul 2021 20:49:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
Here is a patch for python-beautysh, a bash beautifier.
Pypi release does not include tests and github release does not include a setup.py because it is using poetry instead.
What is the current recommended guix packaging practice for python projects that depend on poetry?
all best,
jgart
Information forwarded
to
guix-patches <at> gnu.org
:
bug#49470
; Package
guix-patches
.
(Thu, 08 Jul 2021 20:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 49470 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-beautysh): New variable.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2bb33dbd63..bde6ba851a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -357,6 +357,32 @@ features of the Python's built-in dict.")
from a docstring rather than the other way around.")
(license license:mpl2.0)))
+(define-public python-beautysh
+ (package
+ (name "python-beautysh")
+ (version "6.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "beautysh" version))
+ (sha256
+ (base32
+ "0i6mnxhl3v48fx4hnd2q03rxy3wg6v444kjjjrm61lvshz5llswn"))))
+ (build-system python-build-system)
+ ;; Pypi release does not include tests and github release does not include
+ ;; setup.py.
+ (arguments
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-colorama" ,python-colorama)))
+ (home-page
+ "https://github.com/lovesegfault/beautysh")
+ (synopsis "Bash beautifier for the masses")
+ (description "@command{beautysh} beautifies bash scripts. @command{beautysh}
+can be called from the command line or used as a module. In tests with large
+Linux system Bash scripts, its error-free score was ~99%.")
+ (license license:expat)))
+
(define-public python-cachetools
(package
(name "python-cachetools")
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#49470
; Package
guix-patches
.
(Wed, 22 Jun 2022 19:44:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 49470 <at> debbugs.gnu.org (full text, mbox):
tags 49470 moreinfo
thanks
Hi jgart,
"jgart" <jgart <at> dismail.de> writes:
> Hi Guix,
>
> Here is a patch for python-beautysh, a bash beautifier.
>
> Pypi release does not include tests and github release does not
> include a setup.py because it is using poetry instead.
>
> What is the current recommended guix packaging practice for python projects that depend on poetry?
You can use python-pypa-build with python-poetry-core and override the
build and install phases as done in python-isort.
Could you attempt such a build? That we could run the test suite.
Thanks,
Maxim
Added tag(s) moreinfo.
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 22 Jun 2022 19:44:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#49470
; Package
guix-patches
.
(Wed, 22 Jun 2022 23:55:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 49470 <at> debbugs.gnu.org (full text, mbox):
On Wed, 22 Jun 2022 15:43:41 -0400 Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> Could you attempt such a build? That we could run the test suite.
Hi Maxim,
What branch should I try that from?
If master, do you know of another example package that does that that I can use as a reference?
thanks,
jgart
Information forwarded
to
guix-patches <at> gnu.org
:
bug#49470
; Package
guix-patches
.
(Thu, 23 Jun 2022 04:14:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 49470 <at> debbugs.gnu.org (full text, mbox):
On Wed, 22 Jun 2022 15:43:41 -0400 Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> build and install phases as done in python-isort.
oops missed that ;() Thanks, will try!
Reply sent
to
"jgart" <jgart <at> dismail.de>
:
You have taken responsibility.
(Thu, 12 Oct 2023 01:31:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
"jgart" <jgart <at> dismail.de>
:
bug acknowledged by developer.
(Thu, 12 Oct 2023 01:31:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 49470-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Closing this patch as won't do.
Feel free to re-open if someone is interested in packaging this.
all best,
jgart
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 09 Nov 2023 12:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.