{% set name = "arxiv-miner" %}
{% set version = "2.0.3" %}

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

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

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

requirements:
  host:
    - pip
    - python >=3.6
  run:
    - arxiv ==0.5.3
    - click
    - dataclasses
    - dateparser
    - elasticsearch
    - elasticsearch-dsl
    - expiringdict
    - luqum
    - matplotlib-base
    - numpy
    - pandas
    - python >=3.6
    - rpyc
    - tex2py

test:
  imports:
    - arxiv_miner
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://arxiv-miner.turing-bot.com/
  dev_url: https://github.com/valayDave/arxiv-miner
  summary: Mine and scrape Arxiv papers to structured datasets
  license: MIT
  license_file:
    - LICENSE.txt

extra:
  recipe-maintainers:
    - thewchan

{% set name = "arxiv-miner" %}
{% set version = "2.0.3" %}

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

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

build:
  skip: true  # [win]
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - pip
    - python >=3.6
  run:
    - arxiv ==0.5.3
    - click
    - dataclasses
    - dateparser
    - elasticsearch
    - elasticsearch-dsl
    - expiringdict
    - luqum
    - matplotlib-base
    - numpy
    - pandas
    - python >=3.6
    - rpyc
    - tex2py

test:
  imports:
    - arxiv_miner
    - arxiv_miner.database
    - arxiv_miner.semantic_parsing

about:
  home: https://arxiv-miner.turing-bot.com/
  dev_url: https://github.com/valayDave/arxiv-miner
  summary: Mine and scrape Arxiv papers to structured datasets
  license: MIT
  license_file:
    - LICENSE.txt

extra:
  recipe-maintainers:
    - thewchan

Remove no arch because of scripts, add import tests and remove pip check test
Remove no arch because of scripts, add import tests and remove pip check test
