diff options
author | James Turner <jturner@gemini.edu> | 2016-12-07 14:27:57 -0500 |
---|---|---|
committer | James Turner <jturner@gemini.edu> | 2016-12-07 14:27:57 -0500 |
commit | 0fa57d74bbdc1958bff662be487eacdeb68bd635 (patch) | |
tree | 0988e634efe8c462eca5fd86d076b63cfe3d88aa /iraf.cutoutpkg | |
parent | 162293e8024bba18d40f7d125eba3b0e9a1796e1 (diff) | |
download | astroconda-iraf-0fa57d74bbdc1958bff662be487eacdeb68bd635.tar.gz |
Add ctio, cutoutpkg & deitab IRAF packages.
Diffstat (limited to 'iraf.cutoutpkg')
-rw-r--r-- | iraf.cutoutpkg/ac.iraf.cutoutpkg.patch | 68 | ||||
-rw-r--r-- | iraf.cutoutpkg/bld.bat | 2 | ||||
-rw-r--r-- | iraf.cutoutpkg/build.sh | 8 | ||||
-rw-r--r-- | iraf.cutoutpkg/meta.yaml | 27 | ||||
-rw-r--r-- | iraf.cutoutpkg/post-link.sh | 3 | ||||
-rw-r--r-- | iraf.cutoutpkg/pre-unlink.sh | 1 | ||||
-rw-r--r-- | iraf.cutoutpkg/ur_extern.pkg | 6 | ||||
-rw-r--r-- | iraf.cutoutpkg/ur_manifest | 1 | ||||
-rw-r--r-- | iraf.cutoutpkg/ur_mkpkg_cmd | 2 | ||||
-rw-r--r-- | iraf.cutoutpkg/ur_mkpkg_patterns | 0 |
10 files changed, 118 insertions, 0 deletions
diff --git a/iraf.cutoutpkg/ac.iraf.cutoutpkg.patch b/iraf.cutoutpkg/ac.iraf.cutoutpkg.patch new file mode 100644 index 0000000..24c76e2 --- /dev/null +++ b/iraf.cutoutpkg/ac.iraf.cutoutpkg.patch @@ -0,0 +1,68 @@ +diff -Nur ../original/cutoutpkg.cl ./cutoutpkg.cl +--- ../original/cutoutpkg.cl 1969-12-31 21:00:00.000000000 -0300 ++++ ./cutoutpkg.cl 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1,14 @@ ++#{ Package script task for the cutout package, added for Ureka. ++ ++print ("Parent package for cutout tasks, added in Ureka mainly to provide IRAF help") ++print ("") ++ ++# cl < "cutoutpkg$lib/zzsetenv.def" ++ ++package cutoutpkg, bin = cutoutpkg$ ++ ++task cutout, ++ ndwfsget = "cutoutpkg$x_cutout.e" ++ ++clbye() ++ +diff -Nur ../original/cutoutpkg.hd ./cutoutpkg.hd +--- ../original/cutoutpkg.hd 1969-12-31 21:00:00.000000000 -0300 ++++ ./cutoutpkg.hd 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1,10 @@ ++# Help directory for the cutout package (added for UR). ++ ++$doc = "cutoutpkg$" ++$srcdir = "cutoutpkg$" ++ ++cutoutpkg hlp=cutoutpkg$cutoutpkg.men ++ ++cutout hlp=doc$cutout.hlp, src=srcdir$t_cutout.x ++ndwfsget hlp=doc$ndwfsget.hlp, src=srcdir$t_ndwfsget.x ++ +diff -Nur ../original/cutoutpkg.men ./cutoutpkg.men +--- ../original/cutoutpkg.men 1969-12-31 21:00:00.000000000 -0300 ++++ ./cutoutpkg.men 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1,3 @@ ++ cutout - Extract FITS cutout images from a survey using world coordinates ++ ndwfsget - Extract FITS cutout images from the NDWFS survey using WCS info. ++ +diff -Nur ../original/cutoutpkg.par ./cutoutpkg.par +--- ../original/cutoutpkg.par 1969-12-31 21:00:00.000000000 -0300 ++++ ./cutoutpkg.par 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1,2 @@ ++# cutout package parameter file. ++version,s,h,"05Apr2001-UR" +Binary files ../original/lib/helpdb.mip and ./lib/helpdb.mip differ +diff -Nur ../original/lib/rootcutoutpkg.hd ./lib/rootcutoutpkg.hd +--- ../original/lib/rootcutoutpkg.hd 1969-12-31 21:00:00.000000000 -0300 ++++ ./lib/rootcutoutpkg.hd 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1,6 @@ ++cutoutpkg men = cutoutpkg$cutoutpkg.men, ++ hlp = cutoutpkg$cutoutpkg.men, ++ sys = cutoutpkg$cutoutpkg.hlp, ++ pkg = cutoutpkg$cutoutpkg.hd, ++ src = cutoutpkg$cutoutpkg.cl ++ +diff -Nur ../original/lib/root.hd ./lib/root.hd +--- ../original/lib/root.hd 1969-12-31 21:00:00.000000000 -0300 ++++ ./lib/root.hd 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1 @@ ++_cutoutpkg pkg = cutoutpkg$lib/rootcutoutpkg.hd +diff -Nur ../original/lib/zzsetenv.def ./lib/zzsetenv.def +--- ../original/lib/zzsetenv.def 1969-12-31 21:00:00.000000000 -0300 ++++ ./lib/zzsetenv.def 2016-05-03 13:32:00.000000000 -0300 +@@ -0,0 +1,3 @@ ++set cutoutpkgbin = "cutoutpkg$bin(arch)/" ++ ++keep diff --git a/iraf.cutoutpkg/bld.bat b/iraf.cutoutpkg/bld.bat new file mode 100644 index 0000000..e1aca7a --- /dev/null +++ b/iraf.cutoutpkg/bld.bat @@ -0,0 +1,2 @@ +echo Not supported on Windows +exit 1 diff --git a/iraf.cutoutpkg/build.sh b/iraf.cutoutpkg/build.sh new file mode 100644 index 0000000..2353907 --- /dev/null +++ b/iraf.cutoutpkg/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.cutoutpkg/meta.yaml b/iraf.cutoutpkg/meta.yaml new file mode 100644 index 0000000..0bedf01 --- /dev/null +++ b/iraf.cutoutpkg/meta.yaml @@ -0,0 +1,27 @@ +about: + home: http://iraf.noao.edu/ + license: IRAF MIT/X11 variant + summary: CUTOUTPKG 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.cutoutpkg + version: "2001_04_05" +source: + fn: cutout-2001-04-05.tar.Z + url: http://astroconda-source:4440/cutout-2001-04-05.tar.Z + patches: + - ac.iraf.cutoutpkg.patch +requirements: + build: + - astroconda-iraf-helpers + - iraf !=2.16.1,>=2.16.UR + run: + - iraf !=2.16.1,>=2.16.UR + diff --git a/iraf.cutoutpkg/post-link.sh b/iraf.cutoutpkg/post-link.sh new file mode 100644 index 0000000..9bfc9a5 --- /dev/null +++ b/iraf.cutoutpkg/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" cutoutpkg diff --git a/iraf.cutoutpkg/pre-unlink.sh b/iraf.cutoutpkg/pre-unlink.sh new file mode 100644 index 0000000..f513ae0 --- /dev/null +++ b/iraf.cutoutpkg/pre-unlink.sh @@ -0,0 +1 @@ +"$PREFIX/bin/ac_config_iraf_pkg" --remove cutoutpkg diff --git a/iraf.cutoutpkg/ur_extern.pkg b/iraf.cutoutpkg/ur_extern.pkg new file mode 100644 index 0000000..e387524 --- /dev/null +++ b/iraf.cutoutpkg/ur_extern.pkg @@ -0,0 +1,6 @@ +# http://archive.noao.edu/ndwfs/data-cutout.html +reset cutoutpkg = UR_VDIR # UR - define pkg to find help database +task cutoutpkg.pkg = cutoutpkg$cutoutpkg.cl +reset helpdb= ( envget("helpdb") + ",cutoutpkg$lib/helpdb.mip" ) # Added for UR +reset aproposdb= ( envget("aproposdb") + ",cutoutpkg$lib/apropos.db" ) # UR + diff --git a/iraf.cutoutpkg/ur_manifest b/iraf.cutoutpkg/ur_manifest new file mode 100644 index 0000000..12ce32f --- /dev/null +++ b/iraf.cutoutpkg/ur_manifest @@ -0,0 +1 @@ +x_cutout.e diff --git a/iraf.cutoutpkg/ur_mkpkg_cmd b/iraf.cutoutpkg/ur_mkpkg_cmd new file mode 100644 index 0000000..6bdb790 --- /dev/null +++ b/iraf.cutoutpkg/ur_mkpkg_cmd @@ -0,0 +1,2 @@ +mkpkg +# mv x_cutout.e bin/ # Not found here automatically with current setup diff --git a/iraf.cutoutpkg/ur_mkpkg_patterns b/iraf.cutoutpkg/ur_mkpkg_patterns new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/iraf.cutoutpkg/ur_mkpkg_patterns |