<commit_before>{% set name = "dask-gateway" %}
{% set version = "0.2.0" %}

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

source:
  url: https://github.com/jcrist/{{ name }}/archive/{{ version }}.tar.gz
  sha256: 1ae59cc611fb4a7dd1210bdf82e1eef151d450f144ae66d1d478582cd9f95964

build:
  number: 0
  version: {{ version }}

outputs:
  - name: dask-gateway-base
    script: dask-gateway-client.sh
    build:
      entry_points:
        - dask-gateway-scheduler = dask_gateway.dask_cli:scheduler
        - dask-gateway-worker = dask_gateway.dask_cli:worker
    requirements:
      host:
        - python
        - pip
      run:
        - python
        - tornado
        - dask >=2.0.0
        - distributed >=2.0.0
    test:
      imports:
        - dask_gateway
      commands:
        - dask-gateway-scheduler --help
        - dask-gateway-worker --help
  - name: dask-gateway-kerberos
    requirements:
      - {{ pin_subpackage('dask-gateway-base', exact=True) }}
      - pykerberos

  - name: dask-gateway-server-base
    script: dask-gateway-server.sh
    build:
      entry_points:
        - dask-gateway-server = dask_gateway_server.app:main
        - dask-gateway-jobqueue-launcher = dask_gateway_server.managers.jobqueue.launcher:main
    requirements:
      host:
        - python
        - go
        - pip
      run:
        - python
        - cryptography
        - tornado
        - traitlets
        - sqlalchemy
    test:
      imports:
        - dask_gateway_server
      commands:
        - dask-gateway-server --help
        - dask-gateway-jobqueue-launcher --help
  - name: dask-gateway-server-kerberos
    requirements:
      - {{ pin_subpackage('dask-gateway-server-base', exact=True) }}
      - pykerberos

  - name: dask-gateway-server-kubernetes
    requirements:
      - {{ pin_subpackage('dask-gateway-server-base', exact=True) }}
      - kubernetes >=1.9

  - name: dask-gateway-server-yarn
    requirementse:
      - {{ pin_subpackage('dask-gateway-server-base', exact=True) }}
      - skein >=0.7.3


about:
  home: http://github.com/jcrist/dask-gateway
  license: New BSD
  license_family: BSD
  license_file: dask-gateway/LICENSE
  summary: A multi-tenant server for securely deploying and managing Dask clusters.
  description: A multi-tenant server for securely deploying and managing Dask clusters.<commit_msg>Getting closer<commit_after>{% set name = "dask-gateway" %}
{% set version = "0.2.0" %}

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

source:
  url: https://github.com/jcrist/{{ name }}/archive/{{ version }}.tar.gz
  sha256: 1ae59cc611fb4a7dd1210bdf82e1eef151d450f144ae66d1d478582cd9f95964
  patches:
    - setup.py.patch

build:
  number: 0
  version: {{ version }}
  skip: True  # [py<36]

outputs:
  - name: dask-gateway
    script: dask-gateway-client.sh
    build:
      entry_points:
        - dask-gateway-scheduler = dask_gateway.dask_cli:scheduler
        - dask-gateway-worker = dask_gateway.dask_cli:worker
    requirements:
      host:
        - python
        - pip
      run:
        - python
        - tornado
        - dask >=2.0.0
        - distributed >=2.0.0
    test:
      imports:
        - dask_gateway
      commands:
        - dask-gateway-scheduler --help
        - dask-gateway-worker --help
  - name: dask-gateway-kerberos
    requirements:
      - {{ pin_subpackage('dask-gateway', exact=True) }}
      - pykerberos

  - name: dask-gateway-server
    script: dask-gateway-server.sh
    build:
      # The server does not do anything for path handling or process handling
      # on windows
      skip: True  # [win]
      entry_points:
        - dask-gateway-server = dask_gateway_server.app:main
        - dask-gateway-jobqueue-launcher = dask_gateway_server.managers.jobqueue.launcher:main
    requirements:
      host:
        - python
        - go
        - pip
      run:
        - python
        - cryptography
        - tornado
        - traitlets
        - sqlalchemy
    test:
      imports:
        - dask_gateway_server
      commands:
        - dask-gateway-server --help
        - which dask-gateway-jobqueue-launcher
  - name: dask-gateway-server-kerberos
    requirements:
      - {{ pin_subpackage('dask-gateway-server', exact=True) }}
      - pykerberos
    test:
      imports:
        # This import is to silence the linter, it doesn't actually verify that
        # this packages is functional
        - dask_gateway_server

  - name: dask-gateway-server-kubernetes
    requirements:
      - {{ pin_subpackage('dask-gateway-server', exact=True) }}
      - kubernetes >=1.9.0
    test:
      imports:
        - dask_gateway_server.managers.kubernetes

  - name: dask-gateway-server-yarn
    requirements:
      - {{ pin_subpackage('dask-gateway-server', exact=True) }}
      - skein >=0.7.3
    test:
      imports:
        - dask_gateway_server.managers.yarn

about:
  home: http://github.com/jcrist/dask-gateway
  license: New BSD
  license_family: BSD
  license_file: dask-gateway/LICENSE
  summary: A multi-tenant server for securely deploying and managing Dask clusters.
  description: A multi-tenant server for securely deploying and managing Dask clusters.
{'fraction_non_alphanumeric': 0.11087543386039336, 'fraction_numerical': 0.022560740455071344, 'mean_word_length': 2.2038295243977766, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '3805450', 'n_tokens_mistral': 1822, 'n_tokens_neox': 1756, 'n_words': 333}