summaryrefslogtreecommitdiff
path: root/webbpsf
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2018-01-05 15:01:53 -0500
committerMatt Rendina <rendinam@users.noreply.github.com>2018-01-05 15:01:53 -0500
commit286c9d0cd069759d090007da647e78afdb937596 (patch)
treed418f7d652cc5de4fe638143c30549a4fe9267b6 /webbpsf
parent90e6679788b9b9f81ef2ec1bad0d7b255ab5300d (diff)
downloadastroconda-dev-286c9d0cd069759d090007da647e78afdb937596.tar.gz
[WIP] Next (#75)
* Purge x.x style selectors * Add python jinja2 selectors * Add numpy jinja2 selectors * Add basic build matrix configuration * Delete iraf package; see astroconda/astroconda-iraf * Bump all build revisions * Remove drizzlepac and nose dependencies * Fixup dependencies * Strip newlines in version declaration * Implements new package versioning scheme * Revert sandboxing * Purge old or unnecessary packages * Clean up meta-packages * Use fake version * Minor clean up * Add missing md5 hashes * Python is not a dependency of XPA * Remove GIT_ usage in non-git recipe * Initial commit of asteval * cubeviz: sed patching glue/numpy/pytest * Add missing curly braces * Remove references to pywcs * Add mosviz * Fix up specutils * Forcefully strip all "v" version prefixes. Please stop using them. * Fix ginga * Use PYTHON * Remove d2to1 dep * Remove d2to1 dep * Remove d2to1 dep * Remove d2to1 dep * Remove deprecated JWST pipeline packages * Simplify python builds * Simplify python builds (windows) * Remove d2to1 dep * Remove d2to1 dep * Stop using 2to3 * Remove ATLAS * Move sextractor to mainline * Sextractor Intel MKL integration patches (i.e NO ATLAS)
Diffstat (limited to 'webbpsf')
-rw-r--r--webbpsf/bld.bat3
-rw-r--r--webbpsf/build.sh2
-rw-r--r--webbpsf/meta.yaml15
3 files changed, 10 insertions, 10 deletions
diff --git a/webbpsf/bld.bat b/webbpsf/bld.bat
index b290566..760380e 100644
--- a/webbpsf/bld.bat
+++ b/webbpsf/bld.bat
@@ -1,3 +1,2 @@
-python setup.py install
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/webbpsf/build.sh b/webbpsf/build.sh
index 4b71885..6bd6081 100644
--- a/webbpsf/build.sh
+++ b/webbpsf/build.sh
@@ -1,2 +1,2 @@
-python setup.py install || exit 1 \ No newline at end of file
+$PYTHON setup.py install
diff --git a/webbpsf/meta.yaml b/webbpsf/meta.yaml
index d797e79..494429a 100644
--- a/webbpsf/meta.yaml
+++ b/webbpsf/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'webbpsf' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% 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' %}
# Keep in mind:
# webbpsf-data is version-locked to prevent older builds from picking
@@ -26,7 +27,7 @@ requirements:
build:
- nose
- astropy
- - numpy
+ - numpy {{ numpy }}
- scipy
- matplotlib
- poppy
@@ -34,7 +35,7 @@ requirements:
- six [py27]
- webbpsf-data >=0.4.1
- setuptools
- - python x.x
+ - python {{ python }}
run:
- nose
@@ -47,7 +48,7 @@ requirements:
- six [py27]
- webbpsf-data >=0.4.1
- setuptools
- - python x.x
+ - python
source:
git_url: https://github.com/mperrin/{{ name }}.git