{% set version = "6.12" %}

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

source:
  fn: racket-{{ version }}.tar.gz
  url: https://github.com/racket/racket/archive/v{{ version }}.tar.gz
  sha256: c98f8d8f8dd62abdef9906adf7b1ce60b37c852b4111700c06bf0c2d290dd588

build:
  number: 0
  skip: true  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

test:
  commands:
    - racket -e "\"hello world\""

about:
  home: http://racket-lang.org/
  license: LGPL 3
  license_file: racket/src/COPYING_LESSER.txt
  summary: The Racket Programming Language

extra:
  recipe-maintainers:
    - insertinterestingnamehere

{% set version = "6.12" %}

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

source:
  fn: racket-{{ version }}.tar.gz
  url: https://github.com/racket/racket/archive/v{{ version }}.tar.gz
  sha256: c98f8d8f8dd62abdef9906adf7b1ce60b37c852b4111700c06bf0c2d290dd588

build:
  number: 0
  skip: true  # [win]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

test:
  commands:
    - racket -e "\"hello world\""
    # Run tests.
    # Adapted from https://github.com/racket/racket/blob/master/.travis.yml
    - raco pkg install --auto racket-test db-test unstable-flonum-lib net-test
    - raco test -l tests/racket/test
    - racket -l tests/racket/contract/all
    - raco test -l tests/json/json
    - raco test -l tests/file/main
    - raco test -l tests/net/head
    - raco test -l tests/net/uri-codec
    - raco test -l tests/net/url
    - raco test -l tests/net/url-port
    - raco test -l tests/net/encoders
    - raco test -l tests/openssl/basic
    - raco test -l tests/openssl/https
    - raco test -l tests/match/main
    - raco test -l tests/zo-path
    - raco test -l tests/xml/test
    - raco test -l tests/db/all-tests
    - raco test -c tests/stxparse

about:
  home: http://racket-lang.org/
  license: LGPL 3
  license_file: racket/src/COPYING_LESSER.txt
  summary: The Racket Programming Language

extra:
  recipe-maintainers:
    - insertinterestingnamehere

Expand tests run to confirm package is working.
Expand tests run to confirm package is working.
