<commit_before>{% set name = "casacore" %}
{% set version = "2.1.0" %}
{% set sha256 = "9c0017e741c1c4b14bc09582867910f750cd76ff2673e0ecd554aa5b2db7acb4" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: v{{ version }}.tar.gz
  url: https://github.com/casacore/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - ncursesw.patch
    - default-root.patch
    - so-versioning.patch

build:
  number: 0
  detect_binary_files_with_prefix: true
  skip: true  # [win]

requirements:
  build:
    - toolchain
    - gcc  # [osx]
    - flex
    - cfitsio 3.410
    - cmake
    - fftw 3.3.*
    - hdf5 1.8.17|1.8.17.*
    - ncurses 5.9*
    - openblas 0.2.19|0.2.19.*
    - readline 6.2*
    - wcslib 5.16
  run:
    - cfitsio 3.410
    - fftw 3.3.*
    - hdf5 1.8.17|1.8.17.*
    - libgfortran  # [unix]
    - ncurses 5.9*
    - openblas 0.2.19|0.2.19.*
    - readline 6.2*
    - wcslib 5.16

test:
  commands:
    - conda inspect linkages -p $PREFIX $PKG_NAME  # [not win]
    - conda inspect objects -p $PREFIX $PKG_NAME  # [osx]

about:
  home: http://casa.nrao.edu/
  license: GPLv2
  license_file: COPYING
  summary: 'Core libraries for the Common Astronomical Software Applications (CASA)'

extra:
  recipe-maintainers:
    - pkgw
<commit_msg>casacore: ok, not shocking that bison is also needed<commit_after>{% set name = "casacore" %}
{% set version = "2.1.0" %}
{% set sha256 = "9c0017e741c1c4b14bc09582867910f750cd76ff2673e0ecd554aa5b2db7acb4" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  fn: v{{ version }}.tar.gz
  url: https://github.com/casacore/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - ncursesw.patch
    - default-root.patch
    - so-versioning.patch

build:
  number: 0
  detect_binary_files_with_prefix: true
  skip: true  # [win]

requirements:
  build:
    - toolchain
    - gcc  # [osx]
    - flex
    - bison
    - cfitsio 3.410
    - cmake
    - fftw 3.3.*
    - hdf5 1.8.17|1.8.17.*
    - ncurses 5.9*
    - openblas 0.2.19|0.2.19.*
    - readline 6.2*
    - wcslib 5.16
  run:
    - cfitsio 3.410
    - fftw 3.3.*
    - hdf5 1.8.17|1.8.17.*
    - libgfortran  # [unix]
    - ncurses 5.9*
    - openblas 0.2.19|0.2.19.*
    - readline 6.2*
    - wcslib 5.16

test:
  commands:
    - conda inspect linkages -p $PREFIX $PKG_NAME  # [not win]
    - conda inspect objects -p $PREFIX $PKG_NAME  # [osx]

about:
  home: http://casa.nrao.edu/
  license: GPLv2
  license_file: COPYING
  summary: 'Core libraries for the Common Astronomical Software Applications (CASA)'

extra:
  recipe-maintainers:
    - pkgw

{'fraction_non_alphanumeric': 0.14869466515323496, 'fraction_numerical': 0.08626560726447219, 'mean_word_length': 2.3383838383838382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '743606', 'n_tokens_mistral': 1258, 'n_tokens_neox': 1132, 'n_words': 239}