GNU bug report logs -
#59848
[PATCH] gnu: python-jsonschema-next: Simplify package.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 08 Jan 2023 15:35:31 +0100
with message-id <87y1qduma4.fsf <at> gnu.org>
and subject line Re: bug#59848: [PATCH] gnu: python-jsonschema-next: Simplify package.
has caused the debbugs.gnu.org bug report #59848,
regarding [PATCH] gnu: python-jsonschema-next: Simplify package.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
59848: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59848
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
To have this package on the latest version Guix needs to have new Python
build procedure with Hatch https://hatch.pypa.io/.
* gnu/packages/python-xyz.scm (python-jsonschema-next):
[build-system]: Use pyproject-build-system to simplify package.
[native-inputs]: Remove python-pypa-build.
---
gnu/packages/python-xyz.scm | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9a0821aebf..0e7b1bdeef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3803,6 +3803,8 @@ (define-public python-jsonschema
(define-public python-jsonschema-next
(package
(inherit python-jsonschema)
+ ;; XXX: Update to the latest version requires new build system - Hatch
+ ;; https://hatch.pypa.io/
(version "4.5.1")
(source
(origin
@@ -3810,25 +3812,9 @@ (define-public python-jsonschema-next
(uri (pypi-uri "jsonschema" version))
(sha256
(base32 "1z0x22691jva7lwfcfh377jdmlz68zhiawxzl53k631l34k8hvbw"))))
- (arguments
- (substitute-keyword-arguments (package-arguments python-jsonschema)
- ((#:phases phases)
- #~(modify-phases #$phases
- ;; XXX: PEP 517 manual build/install procedures copied from
- ;; python-isort.
- (replace 'build
- (lambda _
- ;; ZIP does not support timestamps before 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((whl (car (find-files "dist" "\\.whl$"))))
- (invoke "pip" "--no-cache-dir" "--no-input"
- "install" "--no-deps" "--prefix" #$output whl))))))))
- (native-inputs (list python-pypa-build
- python-setuptools-scm
- python-twisted))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-setuptools-scm python-twisted))
(propagated-inputs
(list python-attrs
python-importlib-metadata
--
2.38.1
[Message part 3 (message/rfc822, inline)]
Sharlatan Hellseher <sharlatanus <at> gmail.com> skribis:
> To have this package on the latest version Guix needs to have new Python
> build procedure with Hatch https://hatch.pypa.io/.
>
> * gnu/packages/python-xyz.scm (python-jsonschema-next):
> [build-system]: Use pyproject-build-system to simplify package.
> [native-inputs]: Remove python-pypa-build.
Applied, thanks!
This bug report was last modified 2 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.