[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/361: gnu: Add python-referencing.
From: |
guix-commits |
Subject: |
65/361: gnu: Add python-referencing. |
Date: |
Fri, 22 Nov 2024 06:00:13 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit d29b76bafc6eda131c62386fcc3386c7c35b6e8d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 17:01:27 2024 +0200
gnu: Add python-referencing.
* gnu/packages/python-xyz.scm (python-referencing,
python-referencing-bootstrap): New variables.
Change-Id: I16b9d32644204a72c46a2d51ebf3771d90cd099a
---
gnu/packages/python-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 88bfd22493..9a8a8d8ee1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33980,6 +33980,57 @@ YAML. It takes care of defaults, overrides, type
checking, command-line
integration, human-readable errors, and standard OS-specific locations.")
(license license:expat)))
+(define-public python-referencing
+ (package
+ (name "python-referencing")
+ (version "0.35.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "referencing" version))
+ (sha256
+ (base32 "0g3hvzz6ci6dcf701q7ilr4b7vw3fw428kqp4nj35dn8lqj23d15"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ '(list "--pyargs" "referencing/tests")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pyproject
+ (lambda _
+ ;; The build system does not like this.
+ (substitute* "pyproject.toml"
+ ((" \"Topic :: File Formats.*") "")))))))
+ (propagated-inputs (list python-attrs python-rpds-py))
+ (native-inputs
+ (list python-hatchling
+ python-hatch-vcs
+ python-jsonschema
+ python-pytest
+ python-pytest-subtests))
+ (home-page "https://github.com/python-jsonschema/referencing")
+ (synopsis "JSON Referencing + Python")
+ (description "This package provides an implementation-agnostic
+implementation of JSON reference resolution.")
+ (license license:expat)))
+
+(define-public python-referencing-bootstrap
+ (package
+ (inherit python-referencing)
+ (name "python-referencing-bootstrap")
+ (arguments
+ (list
+ #:tests? #false
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pyproject
+ (lambda _
+ ;; The build system does not like this.
+ (substitute* "pyproject.toml"
+ ((" \"Topic :: File Formats.*") "")))))))
+ (native-inputs (list python-hatchling python-hatch-vcs))))
+
(define-public python-reflink
(package
(name "python-reflink")
- 51/361: gnu: python-partd: Add missing input., (continued)
- 51/361: gnu: python-partd: Add missing input., guix-commits, 2024/11/22
- 55/361: gnu: python-pyls-black: Add missing inputs., guix-commits, 2024/11/22
- 56/361: guix: toml: Fix parsing empty strings in arrays., guix-commits, 2024/11/22
- 54/361: gnu: python-versioneer: Add missing input and use minimal git., guix-commits, 2024/11/22
- 58/361: gnu: python-pytest-xdist: Add setuptools and wheel., guix-commits, 2024/11/22
- 59/361: gnu: python-jinja2: Add setuptools and wheel., guix-commits, 2024/11/22
- 60/361: gnu: python-openpyxl: Add Setuptools and Wheel., guix-commits, 2024/11/22
- 63/361: gnu: python-rich: Remove python-ipywidgets., guix-commits, 2024/11/22
- 74/361: gnu: Add python-notebook-shim., guix-commits, 2024/11/22
- 77/361: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/11/22
- 65/361: gnu: Add python-referencing.,
guix-commits <=
- 87/361: gnu: python-jupyter-client: Set environment variable., guix-commits, 2024/11/22
- 90/361: gnu: python-nbconvert: Use pyproject-build-system., guix-commits, 2024/11/22
- 83/361: gnu: python-pytest-tornasync: Use Tornado 6., guix-commits, 2024/11/22
- 86/361: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/11/22
- 98/361: gnu: python-jupyter-server: Update to 2.14.0., guix-commits, 2024/11/22
- 112/361: gnu: python-json5: Update to 0.9.25., guix-commits, 2024/11/22
- 115/361: gnu: python-myst-parser: Update to 3.0.1., guix-commits, 2024/11/22
- 133/361: gnu: python-ipykernel: Update to 6.29.4., guix-commits, 2024/11/22
- 148/361: gnu: Add xcffibgen., guix-commits, 2024/11/22
- 149/361: gnu: Add ghc-language-python., guix-commits, 2024/11/22