mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
76470d47c5
commit
185ebc01f6
3 changed files with 62 additions and 0 deletions
15
gnu/packages/patches/python-pyreadstat-link-libiconv.patch
Normal file
15
gnu/packages/patches/python-pyreadstat-link-libiconv.patch
Normal file
|
@ -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()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue