{% set version = "1.2.1" %}
{% set sha256 = "919f26a68b2c17a7634da993d91339e288964f93c274f1343e3bbbe2096e1128" %}
{% set pkg_name = "snowballstemmer" %}

package:
  name: {{ pkg_name }}
  version: {{ version }}

source:
  fn: {{ pkg_name }}-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/{{ pkg_name[0] }}/{{ pkg_name }}/{{ pkg_name }}-{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  script: python setup.py install

requirements:
  host:
    - python
  run:
    - python

test:
  imports:
    - snowballstemmer

about:
  home: https://github.com/shibukawa/snowball_py
  license: BSD-2-Clause
  license_file: LICENSE.rst
  summary: 'Snowball stemming library collection for Python'
  description: |
    Snowball is a small string processing language designed for creating
    stemming algorithms for use in Information Retrieval. The Snowball
    compiler translates a Snowball script into another language - currently
    ISO C, Java and Python are supported.
  dev_url: https://github.com/shibukawa/snowball_py
  doc_url: https://pypi.python.org/pypi/snowballstemmer
  doc_source_url: https://github.com/shibukawa/snowball_py/blob/master/README.rst

extra:
  recipe-maintainers:
    - chohner
