sbsv2/raptor/python/raptor_version.py
author Dean Draper <dean.draper@nokia.com>
Tue, 30 Mar 2010 11:52:44 +0100
branchfix
changeset 420 220fb389a872
parent 366 7006bcce5299
child 425 f81a1816b925
permissions -rw-r--r--
Another small tweek to fix case issue for cli_makevar_override test
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     1
#
177
a363840a27e3 release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents: 158
diff changeset
     2
# Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     3
# All rights reserved.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     4
# This component and the accompanying materials are made available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     6
# which accompanies this distribution, and is available
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     8
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
     9
# Initial Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    10
# Nokia Corporation - initial contribution.
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    11
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    12
# Contributors:
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    13
#
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    14
# Description: 
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    15
# raptor version information module
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    16
177
a363840a27e3 release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents: 158
diff changeset
    17
# replace CHANGESET with the Hg changeset for ANY release
a363840a27e3 release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents: 158
diff changeset
    18
366
7006bcce5299 version 2.12.5 (candidate 1)
Richard Taylor <richard.i.taylor@nokia.com>
parents: 303
diff changeset
    19
version=(2,12,5,"2010-03-18","symbian build system","CHANGESET")
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    20
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    21
def numericversion():
3
e1eecf4d390d Team sf branch.
tnmurphy@4GBL06592.nokia.com
parents: 0
diff changeset
    22
	"""Raptor version string"""
5
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    23
	return "%d.%d.%d" % version[:3]
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    24
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    25
def fullversion():
593a8820b912 Team Wip branch
tnmurphy@4GBL06592.nokia.com
parents: 3
diff changeset
    26
	"""Raptor version string"""
177
a363840a27e3 release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents: 158
diff changeset
    27
	return "%d.%d.%d [%s %s %s]" % version