From c987ab1a9b13d8230a4e5d1d441ea00c4de8ac44 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 27 Jun 2018 11:03:28 -0400 Subject: Add stregion (#141) * Initial commit of stregion (#377) * stregion: convert to dev --- stregion/bld.bat | 1 + stregion/build.sh | 1 + stregion/meta.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 stregion/bld.bat create mode 100644 stregion/build.sh create mode 100644 stregion/meta.yaml diff --git a/stregion/bld.bat b/stregion/bld.bat new file mode 100644 index 0000000..39b5e1f --- /dev/null +++ b/stregion/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install diff --git a/stregion/build.sh b/stregion/build.sh new file mode 100644 index 0000000..5a5aeeb --- /dev/null +++ b/stregion/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install diff --git a/stregion/meta.yaml b/stregion/meta.yaml new file mode 100644 index 0000000..6c6ab99 --- /dev/null +++ b/stregion/meta.yaml @@ -0,0 +1,41 @@ +{% set name = 'stregion' %} +{% 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/spacetelescope/{{ name }} + license: BSD + summary: Python parser for ds9 region files + +build: + number: {{ number }} + +package: + name: {{ name }} + version: {{ version }} + +requirements: + build: + - astropy + - cython + - numpy {{ numpy }} + - pyparsing + - python {{ python }} + - setuptools + run: + - astropy + - cython + - numpy + - pyparsing + - setuptools + - python + +source: + git_url: https://github.com/spacetelescope/{{ name }}.git + +test: + imports: + - stregion -- cgit