{% set name = "perl-sub-name" %}
{% set version = "0.21" %}
{% set sha256 = "bd32e9dee07047c10ae474c9f17d458b6e9885a6db69474c7a494ccc34c27117" %}

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

source:
  url: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Sub-Name-0.21.tar.gz
  sha256: {{ sha256 }}

# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
build:
  number: 3

requirements:
  build:
    - make
    - {{ compiler('c') }}
  host:
    - perl
    - perl-test-more
    - perl-extutils-makemaker

  run:
    - perl

test:
  # Perl 'use' tests
  imports:
    - Sub::Name

  # You can also put a file called run_test.pl (or run_test.py) in the recipe
  # that will be run at test time.

  # requires:
    # Put any additional test requirements here.  For example
    # - nose

about:
  home: https://github.com/p5sagit/Sub-Name
  license: perl_5
  summary: '(Re)name a sub'

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml
