aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Turner <jturner@gemini.edu>2016-12-07 18:22:43 -0500
committerJames Turner <jturner@gemini.edu>2016-12-07 18:22:43 -0500
commit798cbdc3c8adca613f7e36557f5e70a18f93a7fb (patch)
treeec7c3161f357826229a0667920ba69a22452c4dd
parenta8b67d3d8c3d9a9796e33c85ac64c80d80e8d9e6 (diff)
downloadastroconda-iraf-798cbdc3c8adca613f7e36557f5e70a18f93a7fb.tar.gz
Add incomplete kepler package (builds but needs patching to use io.fits instead of pyfits and is missing a couple of dependencies used by one of the tasks, as was Ureka).
-rw-r--r--iraf.kepler/bld.bat2
-rw-r--r--iraf.kepler/build.sh8
-rw-r--r--iraf.kepler/meta.yaml37
-rw-r--r--iraf.kepler/post-link.sh3
-rw-r--r--iraf.kepler/pre-unlink.sh1
-rw-r--r--iraf.kepler/ur_extern.pkg2
-rw-r--r--iraf.kepler/ur_manifest0
-rw-r--r--iraf.kepler/ur_mkhelp_cmd1
-rw-r--r--iraf.kepler/ur_mkpkg_cmd0
-rw-r--r--iraf.kepler/ur_mkpkg_patterns0
10 files changed, 54 insertions, 0 deletions
diff --git a/iraf.kepler/bld.bat b/iraf.kepler/bld.bat
new file mode 100644
index 0000000..e1aca7a
--- /dev/null
+++ b/iraf.kepler/bld.bat
@@ -0,0 +1,2 @@
+echo Not supported on Windows
+exit 1
diff --git a/iraf.kepler/build.sh b/iraf.kepler/build.sh
new file mode 100644
index 0000000..2353907
--- /dev/null
+++ b/iraf.kepler/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.kepler/meta.yaml b/iraf.kepler/meta.yaml
new file mode 100644
index 0000000..19a2ab5
--- /dev/null
+++ b/iraf.kepler/meta.yaml
@@ -0,0 +1,37 @@
+# This package is still missing dependencies in AstroConda and is not fully
+# functional yet:
+# - The package source needs patching to convert pyfits references to io.fits.
+# - The "analysis" (& "transit"?) module used by ma02.py and, in turn,
+# lightcurve.py & keptransit.py are missing from both AstroConda and Ureka.
+
+about:
+ home: http://iraf.noao.edu/
+ license: US government notice, BSD, attribution requirement
+ summary: KEPLER 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.kepler
+ version: "2.6.2"
+source:
+ fn: PyKE_2.6.2.tar
+ url: http://astroconda-source:4440/PyKE_2.6.2.tar
+requirements:
+ build:
+ - astroconda-iraf-helpers
+ - iraf !=2.16.1,>=2.16.UR
+ run:
+ - iraf !=2.16.1,>=2.16.UR
+ - pyraf
+ - astropy
+ - matplotlib
+ - numpy
+ - scipy
+ - mdp
+
diff --git a/iraf.kepler/post-link.sh b/iraf.kepler/post-link.sh
new file mode 100644
index 0000000..f0e5a63
--- /dev/null
+++ b/iraf.kepler/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" kepler
diff --git a/iraf.kepler/pre-unlink.sh b/iraf.kepler/pre-unlink.sh
new file mode 100644
index 0000000..e8b9801
--- /dev/null
+++ b/iraf.kepler/pre-unlink.sh
@@ -0,0 +1 @@
+"$PREFIX/bin/ac_config_iraf_pkg" --remove kepler
diff --git a/iraf.kepler/ur_extern.pkg b/iraf.kepler/ur_extern.pkg
new file mode 100644
index 0000000..9b23cce
--- /dev/null
+++ b/iraf.kepler/ur_extern.pkg
@@ -0,0 +1,2 @@
+reset kepler = UR_VDIR
+task kepler.pkg = kepler$kepler.cl
diff --git a/iraf.kepler/ur_manifest b/iraf.kepler/ur_manifest
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/iraf.kepler/ur_manifest
diff --git a/iraf.kepler/ur_mkhelp_cmd b/iraf.kepler/ur_mkhelp_cmd
new file mode 100644
index 0000000..b193179
--- /dev/null
+++ b/iraf.kepler/ur_mkhelp_cmd
@@ -0,0 +1 @@
+echo "No help to build for kepler/PyKe"
diff --git a/iraf.kepler/ur_mkpkg_cmd b/iraf.kepler/ur_mkpkg_cmd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/iraf.kepler/ur_mkpkg_cmd
diff --git a/iraf.kepler/ur_mkpkg_patterns b/iraf.kepler/ur_mkpkg_patterns
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/iraf.kepler/ur_mkpkg_patterns