Fixes to meta.yaml for linter and osx build
@@ -11,9 +11,11 @@ source:
build:
skip: True # [win]
+ skip: True # [py < 39]
script:
- echo __version__ = \"{{ version }}\" > pysjef/pysjef/_version.py # [unix]
- - cmake -B cmake-build . -DCMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_TESTS=OFF -DBUILD_PROGRAM=OFF # [unix]
+ - cmake -B cmake-build . -DCMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_TESTS=OFF -DBUILD_PROGRAM=OFF # [linux]
+ - CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY" cmake -B cmake-build . -DCMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_TESTS=OFF -DBUILD_PROGRAM=OFF # [osx]
- cmake --build cmake-build -t install # [unix]
- cd pysjef && {{ PYTHON }} -m pip install . -vv # [unix]
number: 0
@@ -24,7 +26,7 @@ requirements:
- {{ compiler('cxx') }}
- cmake >=3.14
- make
- - python >=3.10
+ - python
- pip
- cython >=0.24
- boost-cpp >=1.71
@@ -33,7 +35,7 @@ requirements:
- numpy >=1.17
- lxml >=4.0
host:
- - python >=3.10
+ - python
- pip
- cython >=0.24
- boost-cpp >=1.71
@@ -41,7 +43,7 @@ requirements:
- pugixml >=1.10
- numpy >=1.17
run:
- - python >=3.10
+ - python
- numpy >=1.17
- boost-cpp >=1.71
- lxml >=4.0
