summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-science/packages/python-xyz.scm38
1 files changed, 13 insertions, 25 deletions
diff --git a/guix-science/packages/python-xyz.scm b/guix-science/packages/python-xyz.scm
index 802ec88..df80067 100644
--- a/guix-science/packages/python-xyz.scm
+++ b/guix-science/packages/python-xyz.scm
@@ -1743,11 +1743,10 @@ that more closely follows the features found in Bash.")
1743 "This package provides a Python library for generating word clouds.") 1743 "This package provides a Python library for generating word clouds.")
1744 (license license:expat))) 1744 (license license:expat)))
1745 1745
1746
1747(define-public python-xrft 1746(define-public python-xrft
1748 (package 1747 (package
1749 (name "python-xrft") 1748 (name "python-xrft")
1750 (version "1.0.1") 1749 (version "1.0.2")
1751 (source 1750 (source
1752 (origin 1751 (origin
1753 (method git-fetch) 1752 (method git-fetch)
@@ -1756,32 +1755,21 @@ that more closely follows the features found in Bash.")
1756 (commit (string-append "v" version)))) 1755 (commit (string-append "v" version))))
1757 (file-name (git-file-name name version)) 1756 (file-name (git-file-name name version))
1758 (sha256 1757 (sha256
1759 (base32 "065szfz022km6lv0vhfv4r4wnm4hxdp6d62lzd527fj3fgn612gj")))) 1758 (base32 "185g9irymnp3ngczly8z25i8n43fasy63i408radi53kckq0fy43"))))
1760 (build-system pyproject-build-system) 1759 (build-system pyproject-build-system)
1761 (arguments 1760 (arguments
1762 (list 1761 (list
1763 #:phases 1762 #:test-flags
1764 #~(modify-phases %standard-phases 1763 #~(list
1765 (add-after 'unpack 'fix-numpy-compatibility 1764 ;; Raise "ValueError: assignment destination is read-only".
1766 (lambda _ 1765 (string-append "--deselect=xrft/tests/test_padding.py"
1767 (substitute* "xrft/tests/test_xrft.py" 1766 "::test_pad_coordinates_invalid")
1768 (("np\\.float") 1767 (string-append "--deselect=xrft/tests/test_utils.py"
1769 "np.float64") 1768 "::test_get_spacing_unvenly_spaced"))))
1770 (("np\\.complex") 1769 (propagated-inputs (list python-dask python-numpy python-pandas
1771 "np.complex128")))) 1770 python-scipy python-xarray))
1772 (add-after 'unpack 'fix-pandas-compatibility 1771 (native-inputs (list python-cftime python-numpy-groupies python-pytest
1773 (lambda _ 1772 python-setuptools python-setuptools-scm))
1774 (substitute* "xrft/tests/test_xrft.py"
1775 (("closed=\"left\"")
1776 "inclusive=\"left\"")))))))
1777 (propagated-inputs (list python-dask
1778 python-numpy
1779 python-numpy-groupies
1780 python-pandas
1781 python-scipy
1782 python-xarray))
1783 (native-inputs (list python-cftime python-pytest python-setuptools
1784 python-setuptools-scm))
1785 (home-page "https://github.com/xgcm/xrft") 1773 (home-page "https://github.com/xgcm/xrft")
1786 (synopsis "Discrete Fourier Transform with xarray") 1774 (synopsis "Discrete Fourier Transform with xarray")
1787 (description "Discrete Fourier Transform with xarray.") 1775 (description "Discrete Fourier Transform with xarray.")