GNU bug report logs - #77541
[PATCH 01/38] gnu: Add clipper2.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 4 Apr 2025 19:11:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Graves <ngraves <at> ngraves.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77541 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#77541] [PATCH 31/38] gnu: python-stone: Update to 3.3.9.
Date: Fri,  4 Apr 2025 21:17:03 +0200
* gnu/packages/python-xyz.scm (python-stone): Update to 3.3.9.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject.
[arguments]: Remove field.
[propagated-inputs]: Add python-jinja2, python-packaging.
[native-inputs]: Add python-setuptools, python-wheel. Remove
python-coverage, python-mock.
---
 gnu/packages/python-xyz.scm | 41 +++++++++++--------------------------
 1 file changed, 12 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e63e41ba18..d18e4cfebd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29754,38 +29754,21 @@ (define-public python-userspacefs
 (define-public python-stone
   (package
     (name "python-stone")
-    (version "3.2.1")
+    (version "3.3.9")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "stone" version))
-        (sha256
-         (base32
-          "0xby5mpsms7b2rv8j6mvxzmzz5i9ii01brb9ylxz6kiv2i08piwv"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'change-version-requirements
-           (lambda _
-             ;; Match the requirement in test/requirements.txt
-             (substitute* "setup.py"
-               (("pytest < 5") "pytest < 7"))
-             ;; We don't care about a coverage report.
-             (substitute* "test/requirements.txt"
-               (("coverage.*") "coverage\n"))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               ;; These tests don't import correctly.
-               (delete-file "test/test_js_client.py")
-               (delete-file "test/test_tsd_types.py")
-               (delete-file "test/test_python_gen.py")
-               (invoke "pytest")))))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dropbox/stone")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1x0kj4jygssjn66lbkln95chhf85vzy1wnpziy9jvpf4kbc1bmfy"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
-     (list python-ply python-six))
+     (list python-jinja2 python-packaging python-ply python-six))
     (native-inputs
-     (list python-coverage python-mock python-pytest python-pytest-runner))
+     (list python-pytest python-pytest-runner python-setuptools python-wheel))
     (home-page "https://github.com/dropbox/stone")
     (synopsis "Official Api Spec Language for Dropbox")
     (description
-- 
2.49.0





This bug report was last modified 103 days ago.

Previous Next


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