Skip to content

Commit

Permalink
yaml: Require Python for testing and fix the version in advance.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Apr 19, 2016
1 parent e0d248a commit 2923544
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/yaml/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ requirements:
- libtool # [unix]

test:
requires:
- python {{ environ['PY_VER'] + '*' }} # [win]

commands:
- test -f "${PREFIX}/lib/libyaml.a" # [unix]
- test -f "${PREFIX}/lib/libyaml.dylib" # [osx]
- test -f "${PREFIX}/lib/libyaml.so" # [linux]
- if not exist %LIBRARY_LIB%\\yaml.dll exit 1 # [win]
- if not exist %LIBRARY_LIB%\\yaml.lib exit 1 # [win]

about:
home: http://pyyaml.org/wiki/LibYAML'
Expand Down

0 comments on commit 2923544

Please sign in to comment.