aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E.H. Turner <jturner@gemini.edu>2016-10-12 13:28:54 -0400
committerJames E.H. Turner <jturner@gemini.edu>2016-10-12 13:28:54 -0400
commit26e9edead94cfb61b791bc7717b4c7c4957cc879 (patch)
tree99ed1c7c407f19a045fa5e719e948b5043dda399
parent6173807e3dcc404d7c8b5343b57f78158e9e9046 (diff)
downloadastroconda-iraf-26e9edead94cfb61b791bc7717b4c7c4957cc879.tar.gz
Package containing the core IRAF help & apropos databases (separated because the script to build help depends on pyraf).
-rw-r--r--iraf-help/bld.bat3
-rw-r--r--iraf-help/build.sh14
-rw-r--r--iraf-help/meta.yaml16
3 files changed, 33 insertions, 0 deletions
diff --git a/iraf-help/bld.bat b/iraf-help/bld.bat
new file mode 100644
index 0000000..fa5316a
--- /dev/null
+++ b/iraf-help/bld.bat
@@ -0,0 +1,3 @@
+
+echo Not supported on Windows
+exit 1 \ No newline at end of file
diff --git a/iraf-help/build.sh b/iraf-help/build.sh
new file mode 100644
index 0000000..4ff47c8
--- /dev/null
+++ b/iraf-help/build.sh
@@ -0,0 +1,14 @@
+# Configure the environment for IRAF, since conda build appears not to do
+# "source activate" after installing dependencies (this would instead need to
+# eval $PREFIX/iraf/unix/hlib/setup directly if "--level" needs specifying):
+. setup_iraf.sh
+
+logname=help_log
+
+make_iraf_help iraf > $logname 2>&1
+make_iraf_help noao >> $logname 2>&1
+make_iraf_help color >> $logname 2>&1
+make_iraf_help vol >> $logname 2>&1
+
+cp -p $logname "$PREFIX/iraf/"
+
diff --git a/iraf-help/meta.yaml b/iraf-help/meta.yaml
new file mode 100644
index 0000000..382284a
--- /dev/null
+++ b/iraf-help/meta.yaml
@@ -0,0 +1,16 @@
+about:
+ home: http://iraf.noao.edu
+ license: MIT (and third-party licenses)
+ summary: Core IRAF help & apropos databases (built separately)
+build:
+ binary_relocation: False
+ number: '0'
+package:
+ name: iraf-help
+ version: "2.16.UR"
+requirements:
+ build:
+ - astroconda-build-utils # depends on PyRAF, hence why separate
+ - iraf !=2.16.1,>=2.16.UR
+ run:
+ - iraf !=2.16.1,>=2.16.UR