summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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