From 286c9d0cd069759d090007da647e78afdb937596 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 5 Jan 2018 15:01:53 -0500 Subject: [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) --- purge_path/bld.bat | 3 +-- purge_path/build.sh | 2 +- purge_path/meta.yaml | 13 +++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'purge_path') diff --git a/purge_path/bld.bat b/purge_path/bld.bat index b290566..760380e 100644 --- a/purge_path/bld.bat +++ b/purge_path/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/purge_path/build.sh b/purge_path/build.sh index 4b71885..6bd6081 100644 --- a/purge_path/build.sh +++ b/purge_path/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/purge_path/meta.yaml b/purge_path/meta.yaml index aa4187f..04b6556 100644 --- a/purge_path/meta.yaml +++ b/purge_path/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'purge_path' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '0' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '1' %} about: home: https://github.com/jhunkeler/{{ name }} @@ -18,11 +19,11 @@ package: requirements: build: - - python x.x + - python {{ python }} - setuptools run: - - python x.x + - python source: git_url: https://github.com/jhunkeler/{{ name }}.git -- cgit