{% set name = "advbumpversion" %}
{% set version = "1.2.0" %}

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

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

build:
  noarch: python
  number: 0
  script: python -m pip install --no-deps --ignore-installed .
  entry_points:
    - bumpversion = bumpversion:main
    - bump2version = bumpversion:main
    - advbumpversion = bumpversion:main

requirements:
  host:
    - python
    - pip
  run:
    - python

test:
  # Cannot run tests since they're not installed with the package and
  # conda-build runs tests in an isolated environment
  # requires:
  #   - pytest
  #   - mock
  # commands:
  #   - py.test
  imports:
    - bumpversion
  commands:
    - bumpversion -h
    - bump2version -h
    - advbumpversion -h

about:
  home: https://github.com/andrivet/advbumpversion
  license: MIT
  license_family: MIT
  license_file: LICENSE.rst
  summary: 'Version-bump your software with a single command!'

  description: |
    A small command line tool to simplify releasing software by updating all
    version strings in your source code by the correct increment. Also creates
    commits and tags:

    * version formats are highly configurable
    * works without any VCS, but happily reads tag information from and writes
      commits and tags to Git and Mercurial if available
    * just handles text files, so it's not specific to any programming language
  doc_url: https://github.com/andrivet/advbumpversion
  dev_url: https://github.com/andrivet/advbumpversion

extra:
  recipe-maintainers:
    - kynan

Add recipe for advbumpversion 1.2.0
Add recipe for advbumpversion 1.2.0
