Repository 'package_kurator_0_0_1'
hg clone https://toolshed.g2.bx.psu.edu/repos/aafc-mbb/package_kurator_0_0_1

Changeset 0:ea529a96b534 (2016-04-21)
Commit message:
Uploaded
added:
tool_dependencies.xml
b
diff -r 000000000000 -r ea529a96b534 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Thu Apr 21 17:15:48 2016 -0400
b
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="Kurator_Package" version="0.0.1">
+        <install version="1.0">
+            <actions>
+             <!-- Download kurator-akka.jar -->
+                <action type="download_by_url" target_filename="kurator-akka.jar">https://github.com/kurator-org/kurator-akka/releases/download/v0.3/kurator-akka-0.3-jar-with-dependencies.jar</action>
+ <action type="move_file">
+                    <source>kurator-akka.jar</source>
+                    <destination>$INSTALL_DIR</destination>
+                </action>
+                
+                <!-- Download kurator-validation package and unzip -->
+                <action type="download_by_url" target_filename="kurator-validation.jar">https://github.com/kurator-org/kurator-validation/archive/v0.3.zip</action>
+                <action type="shell_command">unzip kurator-validation.jar</action>
+                <action type="move_directory_files">
+                    <source_directory>kurator-validation-0.3</source_directory>
+                    <destination_directory>$INSTALL_DIR/kurator-validation</destination_directory>
+                </action>
+                <action type="set_environment">
+                    <environment_variable name="JYTHONPATH" action="set_to">$INSTALL_DIR/kurator-validation/packages/</environment_variable>
+                </action>
+                
+                <!-- Install and configure jython -->
+                <action type="download_by_url" target_filename="jython-installer-2.7.0.jar">http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar</action>
+                <action type="shell_command">java -jar jython-installer-2.7.0.jar -s -d \$INSTALL_DIR/jython</action>
+                <action type="set_environment">
+                    <environment_variable name="JYTHONHOME" action="set_to">$INSTALL_DIR/jython</environment_variable>
+                </action>
+                <action type="shell_command">\$INSTALL_DIR/jython/bin/pip install suds-jurko</action>
+                
+                <!-- Set an environment to reference installed files-->
+                <action type="set_environment">
+                    <environment_variable name="JAR_PATH" action="set_to">$INSTALL_DIR</environment_variable>
+                </action>
+
+            </actions>
+        </install>
+    </package>
+</tool_dependency>