Skip to content

Commit

Permalink
Merge pull request #664 from mbargull-feedstocks/libxcrypt
Browse files Browse the repository at this point in the history
Build against libxcrypt on Linux
  • Loading branch information
xhochy authored Dec 23, 2023
2 parents 0c7ef16 + 1f9e9c6 commit b850a59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% set ver2 = '.'.join(version.split('.')[0:2]) %}
{% set ver2nd = ''.join(version.split('.')[0:2]) %}
{% set ver3nd = ''.join(version.split('.')[0:3]) %}
{% set build_number = 0 %}
{% set build_number = 1 %}

# this makes the linter happy
{% set channel_targets = channel_targets or 'conda-forge main' %}
Expand Down Expand Up @@ -176,6 +176,7 @@ outputs:
- ld_impl_{{ target_platform }} >=2.36.1 # [linux]
- libnsl # [linux]
- libuuid # [linux]
- libxcrypt # [linux]
- expat
run:
- ld_impl_{{ target_platform }} >=2.36.1 # [linux]
Expand Down Expand Up @@ -258,6 +259,8 @@ outputs:
- python -c "from ctypes import CFUNCTYPE; CFUNCTYPE(None)(id)"
# Test for wide character supported via ncursesw
- TERM=xterm >/dev/null python -c "import curses; scr = curses.initscr(); curses.unget_wch('x'); assert 'x' == scr.get_wch()" # [unix]
# crypt module will be removed in 3.13 => this failing is a reminder to remove the libxcrypt dependency
- python -c "import crypt" # [unix]

- name: libpython-static
script: build_static.sh # [unix]
Expand Down

0 comments on commit b850a59

Please sign in to comment.