1- {% set version = "2.8.1" %}
2- {% set sha256 = "f1bcc07caa568eb312411dde5308b1e250bd0e1bc020fae855bf9f43209940cc" %}
1+ {% set version = "2.9.1" %}
2+ {% set sha256 = "c6160321dc98e6e1184cc791fbeadd2907bb4a0ce0e447f2ea4ff8ab56550913" %}
3+ {% set build_number = "0" %}
34
45package :
56 name : pybind11
@@ -11,35 +12,42 @@ source:
1112 sha256 : {{ sha256 }}
1213
1314build :
14- number : 0
15+ skip : true # [win32] win32 is a deprecated platform.
16+ number : {{ build_number }}
1517
1618requirements :
1719 build :
18- - cmake >=3.18
19- - make # [unix]
2020 - {{ compiler('cxx') }}
21- - patch # [not win]
22- - m2-patch # [win]
21+ - cmake >=3.18
22+ - ninja
2323 host :
2424 - python
25- - ninja
2625 - pip
2726 - setuptools >=42
2827 - wheel
28+ # The following packages are required/desireable for the author's testing:
29+ - pytest
30+ - numpy
31+ - scipy
32+ - eigen >=3.2.7 # [not s390x] Update when s390x has this package.
33+ - libboost >=1.56 # [not s390x] Update when s390x has this package.
2934 run :
3035 - python
3136
3237test :
38+ # Note: The author's build tests are enabled in the build scripts;
39+ # however, they do not currently pass and the results of the check
40+ # are ignored. This should be corrected as time allows.
3341 imports :
3442 - pybind11
3543 requires :
3644 - pip
3745 commands :
3846 - test -f ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake # [unix]
3947 - if exist %LIBRARY_PREFIX%\share\cmake\pybind11\pybind11Config.cmake (exit 0) else (exit 1) # [win]
40- - test -f ${PREFIX}/include/pybind11/pybind11.h # [unix]
41- - if exist %LIBRARY_INC%\pybind11\pybind11.h (exit 0) else (exit 1) # [win]
42- - test -f $(python -c "import pybind11 as py; print(py.get_include())")/pybind11/pybind11.h # [unix]
48+ - test -f ${PREFIX}/include/pybind11/pybind11.h # [unix]
49+ - if exist %LIBRARY_INC%\pybind11\pybind11.h (exit 0) else (exit 1) # [win]
50+ - test -f $(python -c "import pybind11 as py; print(py.get_include())")/pybind11/pybind11.h # [unix]
4351 - if exist $(python -c "import pybind11 as py; print(py.get_include())")\pybind11\pybind11.h (exit 0) else (exit 1) # [win]
4452 - pip check
4553
0 commit comments