<commit_before>{% set name = "esmcol-validator" %}
{% set version = "2020.1.29" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 36b0fa8a60d12e0952b34b208cf728541779343bfc92dbfe43d6309eec1e3f3c

build: 
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"
  number: 0
  noarch: python

requirements:
  host:
    - python >3.5
    - pip
    - setuptools_scm
  
  run:
    - python >3.5
    - click
    - requests
    - jsonschema
    - pandas

test:
  imports:
    - esmcol_validator

about:
  home: https://github.com/NCAR/esmcol-validator
  license: Apache 2.0
  license_family: Apache
  license_file: LICENSE
  summary: Earth System Model (ESM) Collection specification Validator
  dev_url: https://github.com/NCAR/esmcol-validator
  doc_url: https://github.com/NCAR/esmcol-validator

extra:
  recipe-maintainers:
    - andersy005<commit_msg>Add entry point<commit_after>{% set name = "esmcol-validator" %}
{% set version = "2020.1.29" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 36b0fa8a60d12e0952b34b208cf728541779343bfc92dbfe43d6309eec1e3f3c

build: 
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"
  number: 0
  entry_points:
    - esmcol-validator=esmcol_validator.cli:main
  noarch: python

requirements:
  host:
    - python >=3.6
    - pip
    - setuptools_scm
  
  run:
    - python >=3.6
    - click
    - requests
    - jsonschema
    - pandas

test:
  imports:
    - esmcol_validator

  commands:
    - esmcol-validator --help

about:
  home: https://github.com/NCAR/esmcol-validator
  license: Apache 2.0
  license_family: Apache
  license_file: LICENSE
  summary: Earth System Model (ESM) Collection specification Validator
  dev_url: https://github.com/NCAR/esmcol-validator
  description: |
    A utility that allows users to validate esm-collection json files against
    the esm-collection-spec.
  doc_url: https://github.com/NCAR/esmcol-validator

extra:
  recipe-maintainers:
    - andersy005
{'fraction_non_alphanumeric': 0.13189338235294118, 'fraction_numerical': 0.05606617647058824, 'mean_word_length': 3.069158878504673, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 8, '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': '5609806', 'n_tokens_mistral': 889, 'n_tokens_neox': 828, 'n_words': 170}