Skip to content

Commit

Permalink
0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
timbertson committed Jul 27, 2013
1 parent 2f22cc1 commit 0cec74b
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 138 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
0inst
*.pyc
version-local.xml
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.9
0.10
1 change: 1 addition & 0 deletions version.dist
@@ -0,0 +1 @@
version.py
2 changes: 1 addition & 1 deletion version.py
Expand Up @@ -122,7 +122,7 @@ def parse(cls, number, desc=None, coerce=False, expand_symbolic=False):
Version('2.0.1-pre')
>>> import time
>>> Version.parse('date', expand_symbolic=True).components[0] == strftime('%Y')
>>> str(Version.parse('date', expand_symbolic=True)).startswith('0.' + time.strftime('%Y'))
True
"""
if expand_symbolic:
Expand Down
136 changes: 0 additions & 136 deletions version.xml

This file was deleted.

39 changes: 39 additions & 0 deletions version.xml.template
@@ -0,0 +1,39 @@
<?xml version="1.0" ?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface
xmlns="http://zero-install.sourceforge.net/2004/injector/interface"
xmlns:compile="http://zero-install.sourceforge.net/2006/namespaces/0compile"
xmlns:release="http://zero-install.sourceforge.net/2007/namespaces/0release">

<name>version</name>
<summary>version</summary>
<publish mode="featured|third-party|package|0tools|ignore" xmlns="http://gfxmonk.net/dist/0install"/>
<description>
</description>
<feed-for interface="http://gfxmonk.net/dist/0install/version.xml"/>

<group>
<environment insert="" mode="prepend" name="PYTHONPATH"/>
<command name="run" path="version.py">
</command>

<command name="test">
<runner command="run-py2" interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml">
<arg>--with-doctest</arg>
<arg>--exe</arg>
</runner>
</command>
<requires interface="http://repo.roscidus.com/python/python">
<version before="3"/>
</requires>
<environment insert="" mode="prepend" name="PYTHONPATH"/>


<implementation version="{version}" released="{date}">
<manifest-digest/>
<archive href="{archive}"/>
</implementation>
</group>

</interface>

0 comments on commit 0cec74b

Please sign in to comment.