GNU bug report logs -
#50799
[PATCH] gnu: Add python-glom.
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Sat, 25 Sep 2021 07:48:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.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 50799 in the body.
You can then email your comments to 50799 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#50799
; Package
guix-patches
.
(Sat, 25 Sep 2021 07:48:02 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
.
(Sat, 25 Sep 2021 07:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Below are patches for glom and face.
https://github.com/mahmoud/glom
https://github.com/mahmoud/face
all best,
jgart
3B1D 7F19 E36B B60C 0F5B 2CA9 A52A A2B4 77B6 DD35
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50799
; Package
guix-patches
.
(Sat, 25 Sep 2021 07:50:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 50799 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-face): New variable.
---
gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bfe7031eba..9e3a1144f6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26970,6 +26970,43 @@ location. This small Python module determines the appropriate
platform-specific directories, e.g. the ``user data dir''.")
(license license:expat)))
+(define-public python-face
+ (package
+ (name "python-face")
+ (version "20.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "face" version))
+ (sha256
+ (base32 "0gpd9f0rmbv3rd2szi2na37l29fabkwazikjrxc6wca1lddwlnbx"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-v" "face/test")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-boltons" ,python-boltons)))
+ (home-page "https://github.com/mahmoud/face")
+ (synopsis "Straightforward CLI parsing and dispatching microframework")
+ (description
+"@code{face} is a Pythonic microframework for building command-line
+applications:
+@itemize
+@item First-class subcommand support
+@item Powerful middleware architecture
+@item Separate Parser layer
+@item Built-in flagfile support
+@item Handy testing utilities
+@item Themeable help display
+@end itemize")
+ (license license:bsd-3)))
(define-public python-box
(package
(name "python-box")
--
2.33.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50799
; Package
guix-patches
.
(Sat, 25 Sep 2021 07:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 50799 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-glom): New variable.
---
gnu/packages/python-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9e3a1144f6..ed033df0ad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27007,6 +27007,52 @@ applications:
@item Themeable help display
@end itemize")
(license license:bsd-3)))
+
+(define-public python-glom
+ (package
+ (name "python-glom")
+ (version "20.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "glom" version))
+ (sha256
+ (base32 "04pba09vdr3qjvqvy14g60fscdsi35chbbyqpczdp76cpir101al"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (setenv "PYTHONPATH"
+ (string-append ".:" (getenv "PYTHONPATH")))
+ (setenv "PATH"
+ (string-append (assoc-ref outputs "out") "/bin"
+ ":" (getenv "PATH")))
+ (invoke "pytest" "-v" "glom/test")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pyyaml" ,python-pyyaml)))
+ (propagated-inputs
+ `(("python-attrs" ,python-attrs)
+ ("python-boltons" ,python-boltons)
+ ("python-face" ,python-face)))
+ (home-page "https://github.com/mahmoud/glom")
+ (synopsis "Restructuring data, the Python way")
+ (description
+"Real applications have real data, and real data nests.
+Objects inside of objects inside of lists of objects.
+glom is a new and powerful way to handle real-world data, featuring:
+@itemize
+@item Path-based access for nested data structures
+@item Readable, meaningful error messages
+@item Declarative data transformation, using lightweight, Pythonic specifications
+@item Built-in data exploration and debugging features
+@end itemize")
+ (license license:bsd-3)))
+
(define-public python-box
(package
(name "python-box")
--
2.33.0
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Tue, 28 Sep 2021 18:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
jgart <jgart <at> dismail.de>
:
bug acknowledged by developer.
(Tue, 28 Sep 2021 18:49:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 50799-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi jgart,
I have pushed your patches to master after improving the indentation,
synopsis and description, and removing a few unnecessary parts from the
check phases.
Cheers! :-)
Arun
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50799
; Package
guix-patches
.
(Tue, 28 Sep 2021 23:30:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 50799-done <at> debbugs.gnu.org (full text, mbox):
On Wed, 29 Sep 2021 00:18:25 +0530 Arun Isaac <arunisaac <at> systemreboot.net> wrote:
>
> Hi jgart,
>
> I have pushed your patches to master after improving the indentation,
> synopsis and description, and removing a few unnecessary parts from the
> check phases.
Thanks Arun for that!
all best,
jgart
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Oct 2021 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.