GNU bug report logs - #74544
[PATCH 1/1] gnu: Add python-jsonpath-ng.

Previous Next

Package: guix-patches;

Reported by: Markku Korkeala <markku.korkeala <at> iki.fi>

Date: Tue, 26 Nov 2024 15:21:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

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 74544 in the body.
You can then email your comments to 74544 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 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#74544; Package guix-patches. (Tue, 26 Nov 2024 15:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markku Korkeala <markku.korkeala <at> iki.fi>:
New bug report received and forwarded. Copy sent 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. (Tue, 26 Nov 2024 15:21:02 GMT) Full text and rfc822 format available.

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

From: Markku Korkeala <markku.korkeala <at> iki.fi>
To: guix-patches <at> gnu.org
Cc: Markku Korkeala <markku.korkeala <at> iki.fi>
Subject: [PATCH 1/1] gnu: Add python-jsonpath-ng.
Date: Tue, 26 Nov 2024 17:19:15 +0200
    * 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 <at> posteo.net>
 ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us <at> ieee.org>
 ;;; Copyright © 2024 Evgeny Pisemsky <mail <at> pisemsky.site>
+;;; Copyright © 2024 Markku Korkeala <markku.korkeala <at> 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





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Mon, 16 Dec 2024 20:55:02 GMT) Full text and rfc822 format available.

Notification sent to Markku Korkeala <markku.korkeala <at> iki.fi>:
bug acknowledged by developer. (Mon, 16 Dec 2024 20:55:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 74544-done <at> debbugs.gnu.org
Subject: [PATCH 1/1] gnu: Add python-jsonpath-ng.
Date: Mon, 16 Dec 2024 20:53:02 +0000
[Message part 1 (text/plain, inline)]
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
[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. (Tue, 14 Jan 2025 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 160 days ago.

Previous Next


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