* [bug#74544] [PATCH 1/1] gnu: Add python-jsonpath-ng.
@ 2024-11-26 15:19 Markku Korkeala
2024-12-16 20:53 ` bug#74544: " Sharlatan Hellseher
0 siblings, 1 reply; 2+ messages in thread
From: Markku Korkeala @ 2024-11-26 15:19 UTC (permalink / raw)
To: 74544
Cc: Markku Korkeala, Lars-Dominik Braun, Marius Bakke,
Munyoki Kilyungi, Sharlatan Hellseher, Tanguy Le Carrour, jgart
* gnu/packages/python-xyz.scm (python-jsonpath-ng): New variable.
Change-Id: Ie7835850bc137f3bbaea19f01d42b01ba0f5458e
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3872b511a1..831c1d44bd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -158,6 +158,7 @@
;;; Copyright © 2024 Peter Kannewitz <petre-vps@posteo.net>
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; Copyright © 2024 Evgeny Pisemsky <mail@pisemsky.site>
+;;; Copyright © 2024 Markku Korkeala <markku.korkeala@iki.fi>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4682,6 +4683,41 @@ (define-public python-jsonargparse
variables.")
(license license:expat)))
+(define-public python-jsonpath-ng
+ (package
+ (name "python-jsonpath-ng")
+ (version "1.7.0" )
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/h2non/jsonpath-ng")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0z0qm5sgzal0qzml2fmc9h5nim8m3x6sz55gqhcd9c2jrq8jmwmi"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-ply
+ python-decorator
+ python-six))
+ (native-inputs
+ (list
+ python-oslotest
+ python-pytest
+ python-flake8
+ python-coverage
+ python-pytest-cov
+ python-coveralls
+ python-testscenarios))
+ (home-page "https://github.com/h2non/jsonpath-ng")
+ (synopsis "Python JSONPath Next-Generation")
+ (description "A final implementation of @code{JSONPath} for Python
+that aims to be standard compliant, including arithmetic and binary
+comparison operators, as defined in the original @code{JSONPath}
+proposal.")
+ (license license:asl2.0)))
+
(define-public python-pymarshal
(package
(name "python-pymarshal")
base-commit: 2bda81fadc82aa0aba1da2476192be0cd0c4ed4d
--
2.46.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#74544: [PATCH 1/1] gnu: Add python-jsonpath-ng.
2024-11-26 15:19 [bug#74544] [PATCH 1/1] gnu: Add python-jsonpath-ng Markku Korkeala
@ 2024-12-16 20:53 ` Sharlatan Hellseher
0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-12-16 20:53 UTC (permalink / raw)
To: 74544-done
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
Hi,
Thank you for the patch.
I've simplified it a little:
- use PyPI archive, it contains tests
- use pyproject-build-system as produced by
guix import -i gnu/packages/python-xyz.scm pypi jsonpath-ng
- remove all extra dependencies leaving requiring for tests and install
- reword synopsis and description
Pushed as 3b002a28690519590a06c5ca4ac39e99be1193cd to master.
--
Thanks,
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-16 23:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-26 15:19 [bug#74544] [PATCH 1/1] gnu: Add python-jsonpath-ng Markku Korkeala
2024-12-16 20:53 ` bug#74544: " Sharlatan Hellseher
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).