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>
7 Test compiling a program with a pinned dependency.
9 <feed-for interface='http://localhost/pinned-version.xml'/>
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"/>
22 </compile:implementation>