diff options
Diffstat (limited to 'ginga')
-rw-r--r-- | ginga/bld.bat | 4 | ||||
-rw-r--r-- | ginga/build.sh | 5 | ||||
-rw-r--r-- | ginga/meta.yaml | 29 |
3 files changed, 23 insertions, 15 deletions
diff --git a/ginga/bld.bat b/ginga/bld.bat index b290566..39b5e1f 100644 --- a/ginga/bld.bat +++ b/ginga/bld.bat @@ -1,3 +1 @@ - -python setup.py install -if errorlevel 1 exit 1
\ No newline at end of file +%PYTHON% setup.py install diff --git a/ginga/build.sh b/ginga/build.sh index d0bc088..8c640a4 100644 --- a/ginga/build.sh +++ b/ginga/build.sh @@ -1,3 +1,4 @@ - +# README has invalid unicode characters echo > README.txt -python setup.py install || exit 1
\ No newline at end of file + +$PYTHON setup.py install diff --git a/ginga/meta.yaml b/ginga/meta.yaml index 470f6bc..be744ad 100644 --- a/ginga/meta.yaml +++ b/ginga/meta.yaml @@ -1,11 +1,14 @@ {% set name = 'ginga' %} -{% set version = '2.5.20151215011852' %} -{% 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 = '0' %} about: - home: https://github.com/ejeschke/ginga + home: https://github.com/ejeschke/{{ name }} license: BSD - summary: ginga + summary: Astronomical data visualization build: number: {{ number }} @@ -16,18 +19,24 @@ package: requirements: build: - - numpy + - astropy + - qtpy + - pillow - setuptools - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: + - astropy + - qtpy + - pillow - numpy - - python x.x + - python source: - fn: {{ name }}-{{ version }}.tar.gz - md5: 11cd8b9ed459c4438cc827e0a1ca4538 - url: https://pypi.python.org/packages/source/g/ginga/{{ name }}-{{ version }}.tar.gz + git_url: https://github.com/ejeschke/{{ name }}.git test: + commands: + - ginga --help imports: - ginga |