changeset 1:1ba5c66e39c9 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:39 -0400
parents 7e01c6a6dbed
children b1dbdbf2be18
files macros.xml xpath xpath.xml
diffstat 3 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Fri Jun 10 15:08:32 2016 -0400
+++ b/macros.xml	Sat Jun 25 17:12:39 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/xpath	Fri Jun 10 15:08:32 2016 -0400
+++ b/xpath	Sat Jun 25 17:12:39 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	Fri Jun 10 15:08:32 2016 -0400
+++ b/xpath.xml	Sat Jun 25 17:12:39 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">