Skip to content

Commit

Permalink
Merge pull request #5 from traversaro/patch-1
Browse files Browse the repository at this point in the history
Use pin_subpackage in run_exports and fix installation of CMake config in Windows
  • Loading branch information
repagh authored Mar 23, 2021
2 parents 1798604 + 8ac802f commit c96999f
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cdt_name
- docker_image
22 changes: 19 additions & 3 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .scripts/logging_utils.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .scripts/run_docker_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 16 additions & 18 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ source:
- modify-dotpc-win.patch # [win]

build:
number: 3
number: 4
skip: true # [win and py==27]
# add libode to the whitelist; it can apparently not be found yet when
# pyode is built
Expand Down Expand Up @@ -51,7 +51,8 @@ outputs:
- libcxx # [osx]
- vs2015_runtime # [win]
run_exports:
- libode
# No ABI docs or ABI Laboratory history, better be conservative
- {{ pin_subpackage(name, max_pin='x.x.x') }}
files:
- lib/libode* # [unix]
- lib/pkgconfig/ode.pc # [unix]
Expand All @@ -60,7 +61,7 @@ outputs:
- Library/lib/ode_double.lib # [win]
- Library/bin/ode_double.dll # [win]
- Library/lib/pkgconfig/ode.pc # [win]
- Library/lib/cmake/ode* # [win]
- Library/lib/cmake/ode-{{ soversion }} # [win]
- include/ode
test:
commands:
Expand All @@ -69,9 +70,12 @@ outputs:
- test -f $PREFIX/lib/libode.{{ soversion }}${SHLIB_EXT} # [osx]
- test -d $PREFIX/include/ode # [unix]
- test -f $PREFIX/lib/pkgconfig/ode.pc # [unix]
- test -f $PREFIX/lib/cmake/ode-{{ soversion }}/ode-config.cmake # [unix]
- if not exist %PREFIX%\Library\lib\ode_double.lib exit 1 # [win]
- if not exist %PREFIX%\Library\bin\ode_double.dll exit 1 # [win]
- if not exist %PREFIX%\Library\lib\pkgconfig\ode.pc exit 1 # [win]
- if not exist %PREFIX%\\Library\\lib\\cmake\\ode-{{ soversion }}\\ode-config.cmake # [win]

- name: pyode
requirements:
run:
Expand Down

0 comments on commit c96999f

Please sign in to comment.