aboutsummaryrefslogtreecommitdiff
path: root/iraf.cfh12k
diff options
context:
space:
mode:
authorJames Turner <jturner@gemini.edu>2016-12-07 13:16:51 -0500
committerJames Turner <jturner@gemini.edu>2016-12-07 13:16:51 -0500
commit1bf227afdf7d862fc26f9ed74887ef271f431fe2 (patch)
tree095395c7318737eff586cf1552a3c9aa8c1ca1ec /iraf.cfh12k
parent2bf58ad2e6d7c8cd96cc781d9dd9bdc0fa9fa85a (diff)
downloadastroconda-iraf-1bf227afdf7d862fc26f9ed74887ef271f431fe2.tar.gz
Add adccdrom, cfh12k & cirred IRAF packages.
Diffstat (limited to 'iraf.cfh12k')
-rw-r--r--iraf.cfh12k/bld.bat2
-rw-r--r--iraf.cfh12k/build.sh8
-rw-r--r--iraf.cfh12k/meta.yaml26
-rw-r--r--iraf.cfh12k/post-link.sh3
-rw-r--r--iraf.cfh12k/pre-unlink.sh1
-rw-r--r--iraf.cfh12k/ur_extern.pkg6
-rw-r--r--iraf.cfh12k/ur_mkpkg_cmd1
-rw-r--r--iraf.cfh12k/ur_mkpkg_patterns1
8 files changed, 48 insertions, 0 deletions
diff --git a/iraf.cfh12k/bld.bat b/iraf.cfh12k/bld.bat
new file mode 100644
index 0000000..e1aca7a
--- /dev/null
+++ b/iraf.cfh12k/bld.bat
@@ -0,0 +1,2 @@
+echo Not supported on Windows
+exit 1
diff --git a/iraf.cfh12k/build.sh b/iraf.cfh12k/build.sh
new file mode 100644
index 0000000..2353907
--- /dev/null
+++ b/iraf.cfh12k/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.cfh12k/meta.yaml b/iraf.cfh12k/meta.yaml
new file mode 100644
index 0000000..54d95e0
--- /dev/null
+++ b/iraf.cfh12k/meta.yaml
@@ -0,0 +1,26 @@
+about:
+ home: http://iraf.noao.edu/
+ license: IRAF MIT/X11 variant
+ summary: CFH12K 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.cfh12k
+ version: "2013_01_02"
+source:
+ fn: cfh12k-universal-2013-01-02.tar.gz
+ url: http://astroconda-source:4440/cfh12k-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.cfh12k/post-link.sh b/iraf.cfh12k/post-link.sh
new file mode 100644
index 0000000..73cc0cf
--- /dev/null
+++ b/iraf.cfh12k/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" cfh12k
diff --git a/iraf.cfh12k/pre-unlink.sh b/iraf.cfh12k/pre-unlink.sh
new file mode 100644
index 0000000..f8ff396
--- /dev/null
+++ b/iraf.cfh12k/pre-unlink.sh
@@ -0,0 +1 @@
+"$PREFIX/bin/ac_config_iraf_pkg" --remove cfh12k
diff --git a/iraf.cfh12k/ur_extern.pkg b/iraf.cfh12k/ur_extern.pkg
new file mode 100644
index 0000000..e893461
--- /dev/null
+++ b/iraf.cfh12k/ur_extern.pkg
@@ -0,0 +1,6 @@
+# ftp://iraf.noao.edu/iraf/v216/REPO
+reset cfh12k = UR_VDIR
+task cfh12k.pkg = cfh12k$cfh12k.cl
+reset helpdb= ( envget("helpdb") + ",cfh12k$lib/helpdb.mip" )
+reset aproposdb= ( envget("aproposdb") + ",cfh12k$lib/apropos.db" )
+
diff --git a/iraf.cfh12k/ur_mkpkg_cmd b/iraf.cfh12k/ur_mkpkg_cmd
new file mode 100644
index 0000000..24d2743
--- /dev/null
+++ b/iraf.cfh12k/ur_mkpkg_cmd
@@ -0,0 +1 @@
+echo "Nothing to do!"
diff --git a/iraf.cfh12k/ur_mkpkg_patterns b/iraf.cfh12k/ur_mkpkg_patterns
new file mode 100644
index 0000000..ecbb459
--- /dev/null
+++ b/iraf.cfh12k/ur_mkpkg_patterns
@@ -0,0 +1 @@
+^Nothing to do*