changeset 6:3619c6fb132d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/xpath commit c9d0e222bf9ec49f5a58a2d7f9990310933d71e9
author iuc
date Sat, 25 Jun 2016 17:12:28 -0400
parents b88fc7f8ca73
children a890cac292f3
files macros.xml tool_dependencies.xml xpath xpath.xml
diffstat 4 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Mon May 04 22:47:10 2015 -0400
+++ b/macros.xml	Sat Jun 25 17:12:28 2016 -0400
@@ -2,7 +2,7 @@
 <macros>
   <xml name="requirements">
     <requirements>
-      <requirement type="package" version="1.13">package_perl_xml_xpath</requirement>
+      <requirement type="package" version="1.33">perl-xml-xpath</requirement>
       <yield/>
     </requirements>
   </xml>
--- a/tool_dependencies.xml	Mon May 04 22:47:10 2015 -0400
+++ b/tool_dependencies.xml	Sat Jun 25 17:12:28 2016 -0400
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <tool_dependency>
   <package name="package_perl_xml_xpath" version="1.13">
-    <repository changeset_revision="18eb71d4fd93" name="package_perl_xml_xpath_1_13" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+    <repository changeset_revision="7463e0d151e3" name="package_perl_xml_xpath_1_13" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
   </package>
 </tool_dependency>
--- a/xpath	Mon May 04 22:47:10 2015 -0400
+++ b/xpath	Sat Jun 25 17:12:28 2016 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
     if 0; # not running under some shell
 use strict;
--- a/xpath.xml	Mon May 04 22:47:10 2015 -0400
+++ b/xpath.xml	Sat Jun 25 17:12:28 2016 -0400
@@ -6,10 +6,7 @@
   </macros>
   <expand macro="requirements"/>
   <expand macro="stdio"/>
-  <command interpreter="bash"><![CDATA[xpath
-      -q
-      -e '$expression' $input > $output
-      ]]></command>
+  <command><![CDATA[perl $__tool_directory__/xpath -q -e '$expression' $input > $output]]></command>
   <inputs>
     <param name="input" type="data" format="xml" label="Input XML data"/>
     <param name="expression" type="text" label="XPath Query">