<commit_before># https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html?highlight=meta.yaml

{% set name = "tracktable" %}
{% set version = "1.5.0" %}
{% set build_number = 0 %}
{% set sha256 = "afe9d27e4371ade061f195eaeb984468231245094ed0aaf294818f5e4b84c452" %}

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

source:
  # Building source from local dir
  # path: ../..

  # Building source from tarball or archive
  url: https://github.com/sandialabs/tracktable/archive/refs/tags/v{{ version }}.tar.gz
  sha256: {{ sha256 }} # Generate hash command: curl -sL https://github.com/sandialabs/tracktable/archive/refs/tags/v{{ version }}.tar.gz | openssl sha256

  # Building source from github repository
  # git_url: https://github.com/sandialabs/tracktable.git
  # git_rev: v{{ version }}
  # git_tag: main # set the tag or branch to build from
  # git_depth: 1 # Only pull the latest git changes, use -1 or comment out to get all git history

  # Any patch files that should be built into the package
  # patches:
  #   - my.patch # the patch file is expected to be found in the recipe

build:
  number: {{ build_number }}
  # string: debug # String for build version: 1.4.1 => 1.4.1-debug

  # script_env: # Whitelist of env vars to pass to the build script
    # - LD_LIBRARY_PATH # [linux]
    # - DYLD_LIBRARY_PATH # [osx]
    # - MYVAR
    # - ANOTHER_VAR=some value

requirements:

  build:
    # Conda-Build Dependencies
    - {{ compiler('cxx') }}
    # We need a recent CMake in order to support Boost 1.75.
    - cmake >=3.19.5
    - ninja  # [win]
    - make   # [unix]
    - setuptools

  host:
    # Python Dependencies
    - python {{ python }}
    - numpy >=1.11
    - cartopy >=0.18.0
    - pytz
    - shapely
    - tqdm

    # C++ Dependencies
    - boost {{ boost }}

  run:
    - python {{ python }}
    - boost {{ boost }}.*
    - cartopy >=0.18.0
    - folium >=0.11.0
    - numpy
    - pyshp
    - pytz >=2020.1
    - tqdm

test:
  imports:
    - tracktable
    - tracktable.analysis.dbscan
    - tracktable.analysis.distance_geometry
    - tracktable.analysis.rtree
    - tracktable.core.geomath
    - tracktable.domain.cartesian2d
    - tracktable.domain.cartesian3d
    - tracktable.domain.feature_vectors
    - tracktable.domain.terrestrial
    - tracktable.info.timezones
    - tracktable.render.render_trajectories

about:
  home: https://tracktable.sandia.gov/
  license_file: ../../LICENSE.txt
  license: BSD-2-Clause
  license_url: https://opensource.org/licenses/BSD-2-Clause
  license_family: BSD
  summary: 'Trajectory Analysis and Rendering'
  description: >
    Tracktable is for analyzing trajectories from moving objects.  It
    provides modules to read in points/trajectories, assemble trajectories
    from points, compute features and feature vectors for trajectories,
    run DBSCAN clustering, search for similar trajectories, and render
    the results in static or dynamic maps.
  dev_url: https://github.com/sandialabs/tracktable
  doc_url: https://tracktable.readthedocs.io/en/latest/

extra:
  recipe-maintainers:
    - mjfadem
    - atwilso
<commit_msg>add in possible fix for cl.exe and add boost-cpp to reqs<commit_after># https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html?highlight=meta.yaml

{% set name = "tracktable" %}
{% set version = "1.5.0" %}
{% set build_number = 0 %}
{% set sha256 = "afe9d27e4371ade061f195eaeb984468231245094ed0aaf294818f5e4b84c452" %}

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

source:
  # Building source from local dir
  # path: ../..

  # Building source from tarball or archive
  url: https://github.com/sandialabs/tracktable/archive/refs/tags/v{{ version }}.tar.gz
  sha256: {{ sha256 }} # Generate hash command: curl -sL https://github.com/sandialabs/tracktable/archive/refs/tags/v{{ version }}.tar.gz | openssl sha256

  # Building source from github repository
  # git_url: https://github.com/sandialabs/tracktable.git
  # git_rev: v{{ version }}
  # git_tag: main # set the tag or branch to build from
  # git_depth: 1 # Only pull the latest git changes, use -1 or comment out to get all git history

  # Any patch files that should be built into the package
  # patches:
  #   - my.patch # the patch file is expected to be found in the recipe

build:
  number: {{ build_number }}
  # string: debug # String for build version: 1.4.1 => 1.4.1-debug

  # script_env: # Whitelist of env vars to pass to the build script
    # - LD_LIBRARY_PATH # [linux]
    # - DYLD_LIBRARY_PATH # [osx]
    # - MYVAR
    # - ANOTHER_VAR=some value

requirements:

  build:
    # Conda-Build Dependencies
    - {{ compiler('cxx') }}
    # We need a recent CMake in order to support Boost 1.75.
    - cmake >=3.19.5
    - ninja  # [win]
    - make   # [unix]
    - setuptools

  host:
    # Python Dependencies
    - python {{ python }}
    - numpy >=1.11
    - cartopy >=0.18.0
    - pytz
    - shapely
    - tqdm

    # C++ Dependencies
    - boost {{ boost }}
    - boost-cpp {{ boost }}

  run:
    - python {{ python }}
    - boost {{ boost }}.*
    - boost-cpp {{ boost }}.*
    - cartopy >=0.18.0
    - folium >=0.11.0
    - numpy
    - pyshp
    - pytz >=2020.1
    - tqdm

test:
  imports:
    - tracktable
    - tracktable.analysis.dbscan
    - tracktable.analysis.distance_geometry
    - tracktable.analysis.rtree
    - tracktable.core.geomath
    - tracktable.domain.cartesian2d
    - tracktable.domain.cartesian3d
    - tracktable.domain.feature_vectors
    - tracktable.domain.terrestrial
    - tracktable.info.timezones
    - tracktable.render.render_trajectories

about:
  home: https://tracktable.sandia.gov/
  license_file: LICENSE.txt
  license: BSD-2-Clause
  license_url: https://opensource.org/licenses/BSD-2-Clause
  license_family: BSD
  summary: 'Trajectory Analysis and Rendering'
  description: >
    Tracktable is for analyzing trajectories from moving objects.  It
    provides modules to read in points/trajectories, assemble trajectories
    from points, compute features and feature vectors for trajectories,
    run DBSCAN clustering, search for similar trajectories, and render
    the results in static or dynamic maps.
  dev_url: https://github.com/sandialabs/tracktable
  doc_url: https://tracktable.readthedocs.io/en/latest/

extra:
  recipe-maintainers:
    - mjfadem
    - atwilso

{'fraction_non_alphanumeric': 0.1149209331454517, 'fraction_numerical': 0.030374197588852358, 'mean_word_length': 2.8668280871670704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 16, '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': '7292793', 'n_tokens_mistral': 2289, 'n_tokens_neox': 2107, 'n_words': 556}