summaryrefslogtreecommitdiff
path: root/webbpsf
diff options
context:
space:
mode:
Diffstat (limited to 'webbpsf')
-rw-r--r--webbpsf/meta.yaml16
1 files changed, 11 insertions, 5 deletions
diff --git a/webbpsf/meta.yaml b/webbpsf/meta.yaml
index 9756e2b..d797e79 100644
--- a/webbpsf/meta.yaml
+++ b/webbpsf/meta.yaml
@@ -2,7 +2,7 @@
{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
+".dev"
+environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '0' %}
+{% set number = '1' %}
# Keep in mind:
# webbpsf-data is version-locked to prevent older builds from picking
@@ -10,20 +10,23 @@
# need to be updated to reflect it. If there was a better way, I'd do it
about:
- home: https://github.com/mperrin/webbpsf
+ home: https://github.com/mperrin/{{ name }}
license: BSD
summary: webbpsf
+
build:
number: {{ number }}
preserve_egg_dir: 'True'
+
package:
name: {{ name }}
version: {{ version }}
+
requirements:
build:
- nose
- astropy
- - numpy x.x
+ - numpy
- scipy
- matplotlib
- poppy
@@ -32,10 +35,11 @@ requirements:
- webbpsf-data >=0.4.1
- setuptools
- python x.x
+
run:
- nose
- astropy
- - numpy x.x
+ - numpy
- scipy
- matplotlib
- jwxml
@@ -44,8 +48,10 @@ requirements:
- webbpsf-data >=0.4.1
- setuptools
- python x.x
+
source:
- git_url: https://github.com/mperrin/webbpsf
+ git_url: https://github.com/mperrin/{{ name }}.git
+
test:
commands:
- WEBBPSF_PATH=$PREFIX/share/webbpsf-data python -c 'import webbpsf'