summaryrefslogtreecommitdiff
path: root/photutils/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'photutils/meta.yaml')
-rw-r--r--photutils/meta.yaml17
1 files changed, 8 insertions, 9 deletions
diff --git a/photutils/meta.yaml b/photutils/meta.yaml
index ad12632..2417653 100644
--- a/photutils/meta.yaml
+++ b/photutils/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'photutils' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '3' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '4' %}
about:
home: https://github.com/astropy/{{ name }}
@@ -18,17 +19,15 @@ package:
requirements:
build:
- - d2to1
- - stsci.distutils
- nose
- astropy
- cython
- matplotlib
- - numpy
+ - numpy {{ numpy }}
- scikit-image
- scipy
- setuptools
- - python x.x
+ - python {{ python }}
run:
- astropy
@@ -38,7 +37,7 @@ requirements:
- scikit-image
- scipy
- setuptools
- - python x.x
+ - python
source:
git_url: https://github.com/astropy/{{ name }}.git