diff options
| author | James Turner <jturner@gemini.edu> | 2016-12-12 14:41:12 -0500 |
|---|---|---|
| committer | James Turner <jturner@gemini.edu> | 2016-12-12 14:41:12 -0500 |
| commit | deeb280f2673626d0ca8147bb8b6d80f6b82df87 (patch) | |
| tree | e27f8305bf58b1cae79bff884fb6dc9932fb5703 /iraf.song | |
| parent | 9c7215cd2e0db4b934c9da1e4a2ad49695620b98 (diff) | |
| download | astroconda-iraf-deeb280f2673626d0ca8147bb8b6d80f6b82df87.tar.gz | |
Add RVSAO, SONG & SQIID IRAF packages (with small patches to fix things that were also broken in Ureka). The SONG package is missing a dependency that isn't in Ureka or AstroConda and lives in the "obsolete" directory on the IRAF FTP site.
Diffstat (limited to 'iraf.song')
| -rw-r--r-- | iraf.song/bld.bat | 2 | ||||
| -rw-r--r-- | iraf.song/build.sh | 8 | ||||
| -rw-r--r-- | iraf.song/meta.yaml | 26 | ||||
| -rw-r--r-- | iraf.song/post-link.sh | 3 | ||||
| -rw-r--r-- | iraf.song/pre-unlink.sh | 1 | ||||
| -rw-r--r-- | iraf.song/ur_extern.pkg | 6 | ||||
| -rw-r--r-- | iraf.song/ur_mkpkg_cmd | 1 | ||||
| -rw-r--r-- | iraf.song/ur_mkpkg_patterns | 1 |
8 files changed, 48 insertions, 0 deletions
diff --git a/iraf.song/bld.bat b/iraf.song/bld.bat new file mode 100644 index 0000000..e1aca7a --- /dev/null +++ b/iraf.song/bld.bat @@ -0,0 +1,2 @@ +echo Not supported on Windows +exit 1 diff --git a/iraf.song/build.sh b/iraf.song/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.song/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.song/meta.yaml b/iraf.song/meta.yaml new file mode 100644 index 0000000..4a396f9 --- /dev/null +++ b/iraf.song/meta.yaml @@ -0,0 +1,26 @@ +about: + home: http://iraf.noao.edu/ + license: IRAF MIT/X11 variant + summary: SONG 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.song + version: "2013_01_02" +source: + fn: song-universal-2013-01-02.tar.gz + url: http://astroconda-source:4440/song-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.rvx # required but currently doesn't exist in AstroConda! + diff --git a/iraf.song/post-link.sh b/iraf.song/post-link.sh new file mode 100644 index 0000000..14e56cf --- /dev/null +++ b/iraf.song/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" song diff --git a/iraf.song/pre-unlink.sh b/iraf.song/pre-unlink.sh new file mode 100644 index 0000000..5499b92 --- /dev/null +++ b/iraf.song/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove song diff --git a/iraf.song/ur_extern.pkg b/iraf.song/ur_extern.pkg new file mode 100644 index 0000000..a3aaafc --- /dev/null +++ b/iraf.song/ur_extern.pkg @@ -0,0 +1,6 @@ +# ftp://iraf.noao.edu/iraf/v216/REPO +reset song = UR_VDIR +task song.pkg = song$song.cl +reset helpdb= ( envget("helpdb") + ",song$lib/helpdb.mip" ) +reset aproposdb= ( envget("aproposdb") + ",song$lib/apropos.db" ) + diff --git a/iraf.song/ur_mkpkg_cmd b/iraf.song/ur_mkpkg_cmd new file mode 100644 index 0000000..24d2743 --- /dev/null +++ b/iraf.song/ur_mkpkg_cmd @@ -0,0 +1 @@ +echo "Nothing to do!" diff --git a/iraf.song/ur_mkpkg_patterns b/iraf.song/ur_mkpkg_patterns new file mode 100644 index 0000000..ecbb459 --- /dev/null +++ b/iraf.song/ur_mkpkg_patterns @@ -0,0 +1 @@ +^Nothing to do* |
