diff options
author | James Turner <jturner@gemini.edu> | 2016-12-12 11:26:01 -0500 |
---|---|---|
committer | James Turner <jturner@gemini.edu> | 2016-12-12 11:26:01 -0500 |
commit | 9c7215cd2e0db4b934c9da1e4a2ad49695620b98 (patch) | |
tree | 9078004dc9a300925861f2d4cb005a79789121bc /iraf.nfextern | |
parent | b261ae5791610666d3744dbd3b149a541bec5620 (diff) | |
download | astroconda-iraf-9c7215cd2e0db4b934c9da1e4a2ad49695620b98.tar.gz |
Add mtools, nfextern & optic AstroConda IRAF packages.
Diffstat (limited to 'iraf.nfextern')
-rw-r--r-- | iraf.nfextern/ac.iraf.nfextern.patch | 6 | ||||
-rw-r--r-- | iraf.nfextern/bld.bat | 2 | ||||
-rw-r--r-- | iraf.nfextern/build.sh | 8 | ||||
-rw-r--r-- | iraf.nfextern/meta.yaml | 29 | ||||
-rw-r--r-- | iraf.nfextern/post-link.sh | 3 | ||||
-rw-r--r-- | iraf.nfextern/pre-unlink.sh | 1 | ||||
-rw-r--r-- | iraf.nfextern/ur_extern.pkg | 6 | ||||
-rw-r--r-- | iraf.nfextern/ur_mkpkg_cmd | 1 | ||||
-rw-r--r-- | iraf.nfextern/ur_mkpkg_patterns | 1 |
9 files changed, 57 insertions, 0 deletions
diff --git a/iraf.nfextern/ac.iraf.nfextern.patch b/iraf.nfextern/ac.iraf.nfextern.patch new file mode 100644 index 0000000..e2b1cfc --- /dev/null +++ b/iraf.nfextern/ac.iraf.nfextern.patch @@ -0,0 +1,6 @@ +diff -Nur ../original/numrec_list.txt ./numrec_list.txt +--- ../original/numrec_list.txt 1969-12-31 21:00:00.000000000 -0300 ++++ ./numrec_list.txt 2016-05-03 13:32:07.000000000 -0300 +@@ -0,0 +1,2 @@ ++src/msctools/mscdisplay/src/gamma.x ++src/msctools/mscdisplay/src/imexam/iejimexam.x diff --git a/iraf.nfextern/bld.bat b/iraf.nfextern/bld.bat new file mode 100644 index 0000000..e1aca7a --- /dev/null +++ b/iraf.nfextern/bld.bat @@ -0,0 +1,2 @@ +echo Not supported on Windows +exit 1 diff --git a/iraf.nfextern/build.sh b/iraf.nfextern/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.nfextern/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.nfextern/meta.yaml b/iraf.nfextern/meta.yaml new file mode 100644 index 0000000..742865b --- /dev/null +++ b/iraf.nfextern/meta.yaml @@ -0,0 +1,29 @@ +about: + home: http://iraf.noao.edu/ + license: IRAF MIT/X11 variant, Numerical Recipes + summary: NFEXTERN 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.nfextern + version: "2013_01_02" +source: + fn: nfextern-src-2013-01-02.tar.gz + url: http://astroconda-source:4440/nfextern-src-2013-01-02.tar.gz + patches: + - ac.iraf.nfextern.patch +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.nfextern/post-link.sh b/iraf.nfextern/post-link.sh new file mode 100644 index 0000000..3102aa3 --- /dev/null +++ b/iraf.nfextern/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" nfextern diff --git a/iraf.nfextern/pre-unlink.sh b/iraf.nfextern/pre-unlink.sh new file mode 100644 index 0000000..a3a3660 --- /dev/null +++ b/iraf.nfextern/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove nfextern diff --git a/iraf.nfextern/ur_extern.pkg b/iraf.nfextern/ur_extern.pkg new file mode 100644 index 0000000..1095bc1 --- /dev/null +++ b/iraf.nfextern/ur_extern.pkg @@ -0,0 +1,6 @@ +# ftp://iraf.noao.edu/iraf/v216/REPO +reset nfextern = UR_VDIR +task nfextern.pkg = nfextern$nfextern.cl +reset helpdb= ( envget("helpdb") + ",nfextern$lib/helpdb.mip" ) +reset aproposdb= ( envget("aproposdb") + ",nfextern$lib/apropos.db" ) + diff --git a/iraf.nfextern/ur_mkpkg_cmd b/iraf.nfextern/ur_mkpkg_cmd new file mode 100644 index 0000000..e6761d9 --- /dev/null +++ b/iraf.nfextern/ur_mkpkg_cmd @@ -0,0 +1 @@ +mkpkg -p noao -p nfextern update diff --git a/iraf.nfextern/ur_mkpkg_patterns b/iraf.nfextern/ur_mkpkg_patterns new file mode 100644 index 0000000..7fe2053 --- /dev/null +++ b/iraf.nfextern/ur_mkpkg_patterns @@ -0,0 +1 @@ +^copy * |