Add compile:pin-components attribute to version tag of implementation template
[0compile.git] / tests / pinned-version / pinned-version.xml
blob8a2e50edf1f8b37fdccafccaa2867c47fb0fa09b
1 <?xml version="1.0" ?>
2 <?xml-stylesheet type='text/xsl' href='interface.xsl'?>
3 <interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:compile="http://zero-install.sourceforge.net/2006/namespaces/0compile">
4   <name>pinned-version</name>
5   <summary>testing</summary>
6   <description>
7     Test compiling a program with a pinned dependency.
8   </description>
9   <feed-for interface='http://localhost/pinned-version.xml'/>
11   <group arch="*-src">
12     <requires interface="http://repo.roscidus.com/python/python"/>
13     <implementation id="." version="0.1"/>
14     <command name='compile' shell-command='cp "$SRCDIR/main.py" "$DISTDIR"'>
15       <compile:implementation main='main.py'>
16         <command name='run' path='main.py'>
17           <runner interface='http://repo.roscidus.com/python/python'/>
18           <requires interface='http://repo.roscidus.com/python/python'>
19             <version compile:pin-components="2"/>
20           </requires>
21         </command>
22       </compile:implementation>
23     </command>
24   </group>
25 </interface>