aboutsummaryrefslogtreecommitdiff
path: root/iraf.deitab
diff options
context:
space:
mode:
authorJames Turner <jturner@gemini.edu>2016-12-07 14:27:57 -0500
committerJames Turner <jturner@gemini.edu>2016-12-07 14:27:57 -0500
commit0fa57d74bbdc1958bff662be487eacdeb68bd635 (patch)
tree0988e634efe8c462eca5fd86d076b63cfe3d88aa /iraf.deitab
parent162293e8024bba18d40f7d125eba3b0e9a1796e1 (diff)
downloadastroconda-iraf-0fa57d74bbdc1958bff662be487eacdeb68bd635.tar.gz
Add ctio, cutoutpkg & deitab IRAF packages.
Diffstat (limited to 'iraf.deitab')
-rw-r--r--iraf.deitab/bld.bat2
-rw-r--r--iraf.deitab/build.sh8
-rw-r--r--iraf.deitab/meta.yaml27
-rw-r--r--iraf.deitab/post-link.sh3
-rw-r--r--iraf.deitab/pre-unlink.sh1
-rw-r--r--iraf.deitab/ur_extern.pkg6
-rw-r--r--iraf.deitab/ur_mkpkg_patterns0
7 files changed, 47 insertions, 0 deletions
diff --git a/iraf.deitab/bld.bat b/iraf.deitab/bld.bat
new file mode 100644
index 0000000..e1aca7a
--- /dev/null
+++ b/iraf.deitab/bld.bat
@@ -0,0 +1,2 @@
+echo Not supported on Windows
+exit 1
diff --git a/iraf.deitab/build.sh b/iraf.deitab/build.sh
new file mode 100644
index 0000000..2353907
--- /dev/null
+++ b/iraf.deitab/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.deitab/meta.yaml b/iraf.deitab/meta.yaml
new file mode 100644
index 0000000..486cf8f
--- /dev/null
+++ b/iraf.deitab/meta.yaml
@@ -0,0 +1,27 @@
+about:
+ home: http://iraf.noao.edu/
+ license: IRAF MIT/X11 variant
+ summary: DEITAB 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.deitab
+ version: "2013_01_02"
+source:
+ fn: deitab-src-2013-01-02.tar.gz
+ url: http://astroconda-source:4440/deitab-src-2013-01-02.tar.gz
+requirements:
+ build:
+ - astroconda-iraf-helpers
+ - iraf !=2.16.1,>=2.16.UR
+ - iraf.tables
+ run:
+ - iraf !=2.16.1,>=2.16.UR
+ - iraf.tables
+
diff --git a/iraf.deitab/post-link.sh b/iraf.deitab/post-link.sh
new file mode 100644
index 0000000..bc4fc92
--- /dev/null
+++ b/iraf.deitab/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" deitab
diff --git a/iraf.deitab/pre-unlink.sh b/iraf.deitab/pre-unlink.sh
new file mode 100644
index 0000000..3b52c43
--- /dev/null
+++ b/iraf.deitab/pre-unlink.sh
@@ -0,0 +1 @@
+"$PREFIX/bin/ac_config_iraf_pkg" --remove deitab
diff --git a/iraf.deitab/ur_extern.pkg b/iraf.deitab/ur_extern.pkg
new file mode 100644
index 0000000..0416d81
--- /dev/null
+++ b/iraf.deitab/ur_extern.pkg
@@ -0,0 +1,6 @@
+# ftp://iraf.noao.edu/iraf/v216/REPO
+reset deitab = UR_VDIR
+task deitab.pkg = deitab$deitab.cl
+reset helpdb= ( envget("helpdb") + ",deitab$lib/helpdb.mip" )
+reset aproposdb= ( envget("aproposdb") + ",deitab$lib/apropos.db" )
+
diff --git a/iraf.deitab/ur_mkpkg_patterns b/iraf.deitab/ur_mkpkg_patterns
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/iraf.deitab/ur_mkpkg_patterns