diff options
author | James Turner <jturner@gemini.edu> | 2016-12-07 19:21:20 -0500 |
---|---|---|
committer | James Turner <jturner@gemini.edu> | 2016-12-07 19:21:20 -0500 |
commit | b261ae5791610666d3744dbd3b149a541bec5620 (patch) | |
tree | 84e6f2504248de882afeef214fbf09bcfbc1f4ac | |
parent | 798cbdc3c8adca613f7e36557f5e70a18f93a7fb (diff) | |
download | astroconda-iraf-b261ae5791610666d3744dbd3b149a541bec5620.tar.gz |
Add mem0 & mscdb IRAF packages.
-rw-r--r-- | iraf.mem0/bld.bat | 2 | ||||
-rw-r--r-- | iraf.mem0/build.sh | 8 | ||||
-rw-r--r-- | iraf.mem0/meta.yaml | 25 | ||||
-rw-r--r-- | iraf.mem0/post-link.sh | 3 | ||||
-rw-r--r-- | iraf.mem0/pre-unlink.sh | 1 | ||||
-rw-r--r-- | iraf.mem0/ur_extern.pkg | 6 | ||||
-rw-r--r-- | iraf.mem0/ur_mkpkg_patterns | 0 | ||||
-rw-r--r-- | iraf.mscdb/bld.bat | 2 | ||||
-rw-r--r-- | iraf.mscdb/build.sh | 8 | ||||
-rw-r--r-- | iraf.mscdb/meta.yaml | 25 | ||||
-rw-r--r-- | iraf.mscdb/post-link.sh | 3 | ||||
-rw-r--r-- | iraf.mscdb/pre-unlink.sh | 1 | ||||
-rw-r--r-- | iraf.mscdb/ur_extern.pkg | 5 | ||||
-rw-r--r-- | iraf.mscdb/ur_mkhelp_cmd | 1 | ||||
-rw-r--r-- | iraf.mscdb/ur_mkpkg_cmd | 1 | ||||
-rw-r--r-- | iraf.mscdb/ur_mkpkg_patterns | 1 |
16 files changed, 92 insertions, 0 deletions
diff --git a/iraf.mem0/bld.bat b/iraf.mem0/bld.bat new file mode 100644 index 0000000..e1aca7a --- /dev/null +++ b/iraf.mem0/bld.bat @@ -0,0 +1,2 @@ +echo Not supported on Windows +exit 1 diff --git a/iraf.mem0/build.sh b/iraf.mem0/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.mem0/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.mem0/meta.yaml b/iraf.mem0/meta.yaml new file mode 100644 index 0000000..ce2b79b --- /dev/null +++ b/iraf.mem0/meta.yaml @@ -0,0 +1,25 @@ +about: + home: http://iraf.noao.edu/ + license: IRAF MIT/X11 variant + summary: MEM0 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.mem0 + version: "2013_01_02" +source: + fn: mem0-src-2013-01-02.tar.gz + url: http://astroconda-source:4440/mem0-src-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 + diff --git a/iraf.mem0/post-link.sh b/iraf.mem0/post-link.sh new file mode 100644 index 0000000..4416f77 --- /dev/null +++ b/iraf.mem0/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" mem0 diff --git a/iraf.mem0/pre-unlink.sh b/iraf.mem0/pre-unlink.sh new file mode 100644 index 0000000..60396e3 --- /dev/null +++ b/iraf.mem0/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove mem0 diff --git a/iraf.mem0/ur_extern.pkg b/iraf.mem0/ur_extern.pkg new file mode 100644 index 0000000..3179972 --- /dev/null +++ b/iraf.mem0/ur_extern.pkg @@ -0,0 +1,6 @@ +# ftp://iraf.noao.edu/iraf/v216/REPO +reset mem0 = UR_VDIR +task mem0.pkg = mem0$mem0.cl +reset helpdb= ( envget("helpdb") + ",mem0$lib/helpdb.mip" ) +reset aproposdb= ( envget("aproposdb") + ",mem0$lib/apropos.db" ) + diff --git a/iraf.mem0/ur_mkpkg_patterns b/iraf.mem0/ur_mkpkg_patterns new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/iraf.mem0/ur_mkpkg_patterns diff --git a/iraf.mscdb/bld.bat b/iraf.mscdb/bld.bat new file mode 100644 index 0000000..e1aca7a --- /dev/null +++ b/iraf.mscdb/bld.bat @@ -0,0 +1,2 @@ +echo Not supported on Windows +exit 1 diff --git a/iraf.mscdb/build.sh b/iraf.mscdb/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.mscdb/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.mscdb/meta.yaml b/iraf.mscdb/meta.yaml new file mode 100644 index 0000000..b5a25a7 --- /dev/null +++ b/iraf.mscdb/meta.yaml @@ -0,0 +1,25 @@ +about: + home: http://iraf.noao.edu/ + license: IRAF MIT/X11 variant + summary: MSCDB 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.mscdb + version: "2011_02_28" +source: + fn: mscdb-universal-2011-02-28.tar.gz + url: http://astroconda-source:4440/mscdb-universal-2011-02-28.tar.gz +requirements: + build: + - astroconda-iraf-helpers + - iraf !=2.16.1,>=2.16.UR + run: + - iraf !=2.16.1,>=2.16.UR + diff --git a/iraf.mscdb/post-link.sh b/iraf.mscdb/post-link.sh new file mode 100644 index 0000000..ce2ea92 --- /dev/null +++ b/iraf.mscdb/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" mscdb diff --git a/iraf.mscdb/pre-unlink.sh b/iraf.mscdb/pre-unlink.sh new file mode 100644 index 0000000..f06499f --- /dev/null +++ b/iraf.mscdb/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove mscdb diff --git a/iraf.mscdb/ur_extern.pkg b/iraf.mscdb/ur_extern.pkg new file mode 100644 index 0000000..14e47d2 --- /dev/null +++ b/iraf.mscdb/ur_extern.pkg @@ -0,0 +1,5 @@ +# ftp://iraf.noao.edu/iraf/v215/REPO +reset mscdb = UR_VDIR +task mscdb.pkg = mscdb$mscdb.cl +# No help database (see mscred instead) + diff --git a/iraf.mscdb/ur_mkhelp_cmd b/iraf.mscdb/ur_mkhelp_cmd new file mode 100644 index 0000000..0099794 --- /dev/null +++ b/iraf.mscdb/ur_mkhelp_cmd @@ -0,0 +1 @@ +echo "No help to build for mscdb" diff --git a/iraf.mscdb/ur_mkpkg_cmd b/iraf.mscdb/ur_mkpkg_cmd new file mode 100644 index 0000000..a9a2c1f --- /dev/null +++ b/iraf.mscdb/ur_mkpkg_cmd @@ -0,0 +1 @@ +echo "Nothing to build for mscdb" diff --git a/iraf.mscdb/ur_mkpkg_patterns b/iraf.mscdb/ur_mkpkg_patterns new file mode 100644 index 0000000..850d593 --- /dev/null +++ b/iraf.mscdb/ur_mkpkg_patterns @@ -0,0 +1 @@ +^Nothing to build for mscdb |