{% set name = "rastervision-aws-batch" %}
{% set version = "0.13.1" %}


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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/rastervision_aws_batch-{{ version }}.tar.gz
  sha256: 08b2a72ee30719403e9fa4042ba09d345b2f18e6d278f35e02cc58bdf72ab09d
  patches:
    - 0001-fix-imports.patch

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  entry_points:
    - rastervision=rastervision.aws_batch.aws_batch_runner:main

requirements:
  host:
    - pip
    - python
    - pydantic
    - typing_extensions
    - botocore
  run:
    - awscli
    - boto3
    - python
    - rastervision-pipeline ==0.13.1

test:
  imports:
    - rastervision.aws_batch
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/azavea/raster-vision
  summary: A rastervision plugin that adds an AWS Batch pipeline runner
  license: Apache-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - psortosgis

{% set name = "rastervision-aws-batch" %}
{% set version = "0.13.1" %}


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

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/rastervision_aws_batch-{{ version }}.tar.gz
  sha256: 08b2a72ee30719403e9fa4042ba09d345b2f18e6d278f35e02cc58bdf72ab09d
  patches:
    - 0001-fix-imports.patch

build:
  number: 0
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  entry_points:
    - rastervision=rastervision.aws_batch.aws_batch_runner:main

requirements:
  host:
    - pip
    - python
  run:
    - awscli
    - boto3
    - python
    - rastervision-pipeline ==0.13.1
    - pydantic
    - typing_extensions
    - botocore

test:
  imports:
    - rastervision.aws_batch
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/azavea/raster-vision
  summary: A rastervision plugin that adds an AWS Batch pipeline runner
  license: Apache-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - psortosgis

Move reqs from host to run section
Move reqs from host to run section
