{% set version = "1.38.0" %}

package:
  name: aws-sam-translator
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/a/aws-sam-translator/aws-sam-translator-{{ version }}.tar.gz
  sha256: 0ecadda9cf5ab2318f57f1253181a2151e4c53cd35d21717a923c075a5a65cb6

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

requirements:
  host:
    - python >=3.6
    - pip
  run:
    - python >=3.6
    - boto3 >=1.5,<2.0a0
    - jsonschema >=3.0,<4.0a0
    - six >=1.11,<2.0a0
test:
  imports:
    - samtranslator
    - samtranslator.intrinsics
    - samtranslator.model
    - samtranslator.parser
    - samtranslator.plugins
    - samtranslator.policy_template_processor
    - samtranslator.public
    - samtranslator.sdk
    - samtranslator.swagger
    - samtranslator.translator
    - samtranslator.validator
  requires:
    - pip
  commands:
    - pip check

about:
  home: https://github.com/awslabs/serverless-application-model
  license: Apache-2.0
  license_family: Apache
  license_file: LICENSE
  summary: AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS.
  description: |
    You can use SAM to define serverless applications in simple and clean syntax. 
    This GitHub project is the starting point for AWS SAM. 
    It contains the SAM specification, the code that translates SAM templates into 
    AWS CloudFormation stacks, general information about the model, and examples of common applications.
  doc_url: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html
  dev_url: https://github.com/awslabs/serverless-application-model

extra:
  recipe-maintainers:
    - mxr-conda
    - hajapy
    - rluria14
    - oblute
    - ndmaxar
