aboutsummaryrefslogtreecommitdiff
path: root/iraf.esowfi
diff options
context:
space:
mode:
authorJames Turner <jturner@gemini.edu>2016-12-07 15:24:07 -0500
committerJames Turner <jturner@gemini.edu>2016-12-07 15:24:07 -0500
commit0eb9031610dead0ae92d7a479eba22d4ac10562b (patch)
tree407ee7b9d71157ae119bae185ede2c3a5003123d /iraf.esowfi
parent0fa57d74bbdc1958bff662be487eacdeb68bd635 (diff)
downloadastroconda-iraf-0eb9031610dead0ae92d7a479eba22d4ac10562b.tar.gz
Add ESOWFI & MSCRED IRAF packages.
Diffstat (limited to 'iraf.esowfi')
-rw-r--r--iraf.esowfi/bld.bat2
-rw-r--r--iraf.esowfi/build.sh8
-rw-r--r--iraf.esowfi/meta.yaml26
-rw-r--r--iraf.esowfi/post-link.sh3
-rw-r--r--iraf.esowfi/pre-unlink.sh1
-rw-r--r--iraf.esowfi/ur_extern.pkg6
-rw-r--r--iraf.esowfi/ur_mkpkg_cmd1
-rw-r--r--iraf.esowfi/ur_mkpkg_patterns1
8 files changed, 48 insertions, 0 deletions
diff --git a/iraf.esowfi/bld.bat b/iraf.esowfi/bld.bat
new file mode 100644
index 0000000..e1aca7a
--- /dev/null
+++ b/iraf.esowfi/bld.bat
@@ -0,0 +1,2 @@
+echo Not supported on Windows
+exit 1
diff --git a/iraf.esowfi/build.sh b/iraf.esowfi/build.sh
new file mode 100644
index 0000000..2353907
--- /dev/null
+++ b/iraf.esowfi/build.sh
@@ -0,0 +1,8 @@
+# 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
+
+# Build from source in envs/_build (using build script from astroconda-utils):
+ac_build_iraf_pkg
+
diff --git a/iraf.esowfi/meta.yaml b/iraf.esowfi/meta.yaml
new file mode 100644
index 0000000..44ac1df
--- /dev/null
+++ b/iraf.esowfi/meta.yaml
@@ -0,0 +1,26 @@
+about:
+ home: http://iraf.noao.edu/
+ license: IRAF MIT/X11 variant
+ summary: ESOWFI package for IRAF
+build:
+ binary_relocation: False
+ number: '0'
+ # These must be copied from astroconda-iraf-helpers, since conda disallows
+ # the post-install step from depending on other packages:
+ always_include_files:
+ - bin/ac_config_iraf_pkg
+ - bin/ac_update_extern_pkg
+package:
+ name: iraf.esowfi
+ version: "2013_01_02"
+source:
+ fn: esowfi-universal-2013-01-02.tar.gz
+ url: http://astroconda-source:4440/esowfi-universal-2013-01-02.tar.gz
+requirements:
+ build:
+ - astroconda-iraf-helpers
+ - iraf !=2.16.1,>=2.16.UR
+ run:
+ - iraf !=2.16.1,>=2.16.UR
+ - iraf.mscred
+
diff --git a/iraf.esowfi/post-link.sh b/iraf.esowfi/post-link.sh
new file mode 100644
index 0000000..e97418d
--- /dev/null
+++ b/iraf.esowfi/post-link.sh
@@ -0,0 +1,3 @@
+# Call a common script that updates extern.pkg for the new IRAF package:
+
+"$PREFIX/bin/ac_config_iraf_pkg" esowfi
diff --git a/iraf.esowfi/pre-unlink.sh b/iraf.esowfi/pre-unlink.sh
new file mode 100644
index 0000000..86b0496
--- /dev/null
+++ b/iraf.esowfi/pre-unlink.sh
@@ -0,0 +1 @@
+"$PREFIX/bin/ac_config_iraf_pkg" --remove esowfi
diff --git a/iraf.esowfi/ur_extern.pkg b/iraf.esowfi/ur_extern.pkg
new file mode 100644
index 0000000..6261ca7
--- /dev/null
+++ b/iraf.esowfi/ur_extern.pkg
@@ -0,0 +1,6 @@
+# ftp://iraf.noao.edu/iraf/v216/REPO
+reset esowfi = UR_VDIR
+task esowfi.pkg = esowfi$esowfi.cl
+reset helpdb= ( envget("helpdb") + ",esowfi$lib/helpdb.mip" )
+reset aproposdb= ( envget("aproposdb") + ",esowfi$lib/apropos.db" )
+
diff --git a/iraf.esowfi/ur_mkpkg_cmd b/iraf.esowfi/ur_mkpkg_cmd
new file mode 100644
index 0000000..24d2743
--- /dev/null
+++ b/iraf.esowfi/ur_mkpkg_cmd
@@ -0,0 +1 @@
+echo "Nothing to do!"
diff --git a/iraf.esowfi/ur_mkpkg_patterns b/iraf.esowfi/ur_mkpkg_patterns
new file mode 100644
index 0000000..ecbb459
--- /dev/null
+++ b/iraf.esowfi/ur_mkpkg_patterns
@@ -0,0 +1 @@
+^Nothing to do*