{% set name = "splunk_handler" %}
{% set version = "2.0.0" %}
{% set md5 = "404f7c81c5534560e792603113cb6491" %}

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

source:
  fn: {{ name }}-{{ version }}.tar.gz
  url: https://pypi.python.org/packages/68/c2/53e106e2e0805777b6bb9cde1245bed7f94e479125e94f9d7d09cd3f16a5/{{ name }}-{{ version }}.tar.gz
  md5: {{ md5 }}

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - requests >=2.6.0,<3.0.0

test:
  imports:
    - splunk_handler

about:
  home: https://github.com/zach-taylor/splunk_handler
  doc_url: https://github.com/zach-taylor/splunk_handler
  dev_url: https://github.com/zach-taylor/splunk_handler
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'A Python logging handler that sends your logs to Splunk'

  description: |
      Splunk Handler is a Python Logger for sending logged events to an installation
      of Splunk Enterprise. This logger requires the destination Splunk Enterprise 
      server to have enabled and configured the Splunk HTTP Event Collector.

extra:
  recipe-maintainers:
    - sodre

Add splunk logging handler package
Add splunk logging handler package
