diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-24 13:18:12 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 13:27:29 +0000 |
| commit | d0d5278165944d1f6cd5e3442c60aaa281581fbe (patch) | |
| tree | 0613f3dfd605cd5055cdb611dfa70c953b7f7342 /gnu | |
| parent | f123706a898c835e149616de49b20338187ca0f5 (diff) | |
gnu: python-jstyleson: Update to 0.0.2-0.8c47cc9.
* gnu/packages/python-web.scm (python-jstyleson): Update to 0.0.2-0.8c47cc9.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.
Change-Id: I54bfd8f5873ef29f3d710ec83639191cae352b13
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ce1a1b063ff..24cc26b47a3 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -12566,23 +12566,29 @@ mining to monitoring and automated testing.") (license license:bsd-3))) (define-public python-jstyleson - (package + (let ((commit "8c47cc9e665b3b1744cccfaa7a650de5f3c575dd") + (revision "0")) + (package (name "python-jstyleson") - (version "0.0.2") + (version (git-version "0.0.2" revision commit)) (source (origin - (method url-fetch) - (uri (pypi-uri "jstyleson" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/linjackson78/jstyleson") + (commit commit))) + (file-name (git-file-name name version)) (sha256 - (base32 "13ihw6jqwkg3ai4xb83kw39pvh73b2wg6ld3wvj5jaasn7rh6038")))) - (build-system python-build-system) - (arguments (list #:tests? #f)) ;no tests in pypi release + (base32 "0r72mq7h294w5icpdbjd202w25kwr1dz7nh79f6m74xisc9cixia")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/linjackson78/jstyleson") (synopsis "JSON parser supporting js-style comments") - (description "@code{jstyleson} is a Python library to parse JSON. -Contrary to the standard Python @code{json} library, it understands js-style -comments. Trailing comma is also supported.") - (license license:expat))) + (description + "@code{jstyleson} is a Python library to parse JSON. Contrary to the +standard Python @code{json} library, it understands js-style comments. +Trailing comma is also supported.") + (license license:expat)))) (define-public python-html-text (package |
