diff options
Diffstat (limited to 'specutils')
| -rw-r--r-- | specutils/meta.yaml | 19 | 
1 files changed, 11 insertions, 8 deletions
| diff --git a/specutils/meta.yaml b/specutils/meta.yaml index ee7ddfc..51bb7ef 100644 --- a/specutils/meta.yaml +++ b/specutils/meta.yaml @@ -1,7 +1,9 @@  {% set name = 'specutils' %} -{% set version = '0.2.1' %} -{% set tag = 'v' + version %} -{% set number = '1' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{%   set version = version[1:] %} +{% endif %} +{% set number = '2' %}  about:      home: https://github.com/astropy/specutils @@ -16,7 +18,6 @@ build:      number: {{ number }}  source: -    git_tag: {{ tag }}      git_url: https://github.com/astropy/{{ name }}.git  requirements: @@ -25,20 +26,22 @@ requirements:      - cython      - scipy      - setuptools -    - numpy -    - python x.x +    - numpy {{ numpy }} +    - python {{ python }}      run:      - astropy      - scipy      - numpy -    - python x.x +    - python  test:      imports:      - specutils +    - specutils.analysis      - specutils.io -    - specutils.models +    - specutils.modeling +    - specutils.spectra      - specutils.utils      - specutils.wcs | 
