diff options
author | Troy Figiel <troy@troyfigiel.com> | 2024-01-07 17:40:35 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2024-01-09 10:19:43 +0100 |
commit | 185ebc01f6122e0312202e53a5cf2dfaa85d6672 (patch) | |
tree | c46ca0a90f7bf38c2ea5b25aa964cb63164a75d5 /gnu/packages/patches | |
parent | 76470d47c56c2abc67e9a5dc20acd67f0426fd02 (diff) | |
download | guix-185ebc01f6122e0312202e53a5cf2dfaa85d6672.tar.gz guix-185ebc01f6122e0312202e53a5cf2dfaa85d6672.zip |
gnu: Add python-pyreadstat.
* gnu/packages/patches/python-pyreadstat-link-libiconv.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/statistics.scm (python-pyreadstat): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: I361df91487412e4bfd26fb728a6999752e6343e5
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/python-pyreadstat-link-libiconv.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-pyreadstat-link-libiconv.patch b/gnu/packages/patches/python-pyreadstat-link-libiconv.patch new file mode 100644 index 0000000000..7efd71faeb --- /dev/null +++ b/gnu/packages/patches/python-pyreadstat-link-libiconv.patch @@ -0,0 +1,15 @@ +To ensure libiconv can be found by Guix, we need to link the library. + +--- a/setup.py ++++ b/setup.py +@@ -81,8 +81,7 @@ else: + libraries.extend(["m", "z"]) + _platform = sys.platform + # Mac: iconv needs to be linked statically +- if _platform.lower().startswith("darwin"): +- libraries.append("iconv") ++ libraries.append("iconv") + + # Extensions + sources.sort() + |