guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ae602f4cf14208076eed0573102ff99cbc7552b6
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 19 17:27:22 2025 +0200

    gnu: python-forex-python: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-forex-python):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Ifc02624ec4879b676adbd11473196a9ef71a8b1b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4ceefbff04..d81805bac7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19164,17 +19164,17 @@ from elisp.")
     (version "1.5")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "forex-python" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/MicroPyramid/forex-python";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1ma8cl1i2dh8aa99pifnlilyy4d1gd1s07fj0yd17wcbpsh532cj"))))
-    (build-system python-build-system)
-    (arguments
-     ;; Tests are not included in the PyPI tarball.  Also, the tests in the
-     ;; repository require online data.
-     `(#:tests? #f))
-    (propagated-inputs
-     (list python-requests python-simplejson))
+        (base32 "0pl5sfd0wkv1a2y324l518h6sing7wkadrbr5xcf6hjykn2mbi5h"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ; Tests require online data.
+    (native-inputs (list python-setuptools))
+    (propagated-inputs (list python-requests python-simplejson))
     (home-page "https://github.com/MicroPyramid/forex-python";)
     (synopsis "Foreign exchange rates and currency conversion")
     (description

Reply via email to