{% set name = "couchdb-python" %}
{% set pypi_name = "couchdb" %}
{% set version = "1.2" %}

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

source:
  url: https://pypi.io/packages/source/{{ pypi_name[0] }}/{{ pypi_name }}/CouchDB-{{ version }}.tar.gz
  sha256: 1386a1a43f25bed3667e3b805222054940d674fa1967fa48e9d2012a18630ab7

build:
  entry_points:
    - couchpy = couchdb.view:main
    - couchdb-dump = couchdb.tools.dump:main
    - couchdb-load = couchdb.tools.load:main
    - couchdb-replicate = couchdb.tools.replicate:main
    - couchdb-load-design-doc = couchdb.loader:main
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - python >=2.7
    - pip
  run:
    - python >=2.7

test:
  imports:
    - couchdb
  commands:
    - pip check
    - couchpy --help
    - couchdb-dump --help
    - couchdb-load --help
    - couchdb-replicate --help
  requires:
    - pip

about:
  home: https://github.com/djc/couchdb-python/
  summary: Python library for working with CouchDB
  license: BSD-3-Clause
  license_file: COPYING

extra:
  recipe-maintainers:
    - acaprez

Add recipe for couchdb-python 1.2.
Add recipe for couchdb-python 1.2.
