[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: |
Thu, 21 Nov 2024 06:28:50 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 1e84fcf1cdcda181f1bb734d6bae06a89fad3b00
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")
- 43/361: gnu: python-pytest-arraydiff: Add missing inputs., (continued)
- 43/361: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/21
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/11/21
- 10/361: build-system/pyproject: Use TOML parser., guix-commits, 2024/11/21
- 20/361: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/21
- 44/361: gnu: python-itemloaders: Fix indentation., guix-commits, 2024/11/21
- 48/361: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/21
- 49/361: gnu: python-box: Add missing input., guix-commits, 2024/11/21
- 75/361: gnu: Add python-nbclassic., guix-commits, 2024/11/21
- 71/361: gnu: Add python-overrides., guix-commits, 2024/11/21
- 91/361: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/11/21
- 65/361: gnu: Add python-referencing.,
guix-commits <=
- 07/361: gnu: criu: Remove temporary workaround., guix-commits, 2024/11/21
- 38/361: gnu: python-argcomplete: Add missing input., guix-commits, 2024/11/21
- 37/361: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/11/21
- 39/361: gnu: java-testng: Drop input labels., guix-commits, 2024/11/21
- 41/361: gnu: python-pycurl: Add missing inputs., guix-commits, 2024/11/21
- 46/361: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/11/21
- 69/361: gnu: Add python-uri-template., guix-commits, 2024/11/21
- 64/361: gnu: Add python-pep440., guix-commits, 2024/11/21
- 57/361: gnu: snakemake-6: Add Setuptools and Wheel., guix-commits, 2024/11/21
- 61/361: gnu: python-nbclient: Add Setuptools and Wheel., guix-commits, 2024/11/21