summaryrefslogtreecommitdiff
path: root/stregion
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2018-06-27 11:03:28 -0400
committerGitHub <noreply@github.com>2018-06-27 11:03:28 -0400
commitc987ab1a9b13d8230a4e5d1d441ea00c4de8ac44 (patch)
tree4416fe249412b1fe73ffdd85288f1c618206a6eb /stregion
parent75954d4d24d89ccc7f6f7e390f76875c34de8460 (diff)
downloadastroconda-dev-c987ab1a9b13d8230a4e5d1d441ea00c4de8ac44.tar.gz
Add stregion (#141)
* Initial commit of stregion (#377) * stregion: convert to dev
Diffstat (limited to 'stregion')
-rw-r--r--stregion/bld.bat1
-rw-r--r--stregion/build.sh1
-rw-r--r--stregion/meta.yaml41
3 files changed, 43 insertions, 0 deletions
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