guix/gnu/packages/patches/python-pyreadstat-link-libiconv.patch
Sharlatan Hellseher 00fb9fdd68
gnu: python-pyreadstat: Update to 1.3.2.
* gnu/packages/statistics.scm (python-pyreadstat): Update to 1.3.2.
[arguments] <test-backend, test-flags>: Move custom 'check phase logic here.
<phases>: Remove 'change-home-dir; add 'pre-check.
[inputs]: Add readstat.
[propagated-inputs]: Add python-narwhals-minimal and python-numpy.

* gnu/packages/patches/python-pyreadstat-link-libiconv.patch: Refresh
patch for 1.3.2.

Change-Id: I478c67cb48574178483b6dfe97b5ed7bf9b4c783
2026-01-21 22:57:01 +01:00

16 lines
457 B
Diff

To ensure libiconv can be found by Guix, we need to link the library.
--- a/setup.py
+++ b/setup.py
@@ -109,9 +109,7 @@ if os.name == 'nt':
else:
libraries.extend(["m", "z"])
_platform = sys.platform
- # Mac and ubuntu: iconv needs to be linked statically
- if _platform.lower().startswith("darwin") or (is_ubuntu() and is_python_lt_14()):
- libraries.append("iconv")
+ libraries.append("iconv")
# Extensions
sources.sort()