Source

gorilla-catalog / mercurial.py

'''A fast, elegant distributed version control system.'''

name = 'mercurial'
homepage = 'http://mercurial.selenic.com/'

sources = {
    'hg': [
        'http://selenic.com/repo/hg-stable/',
        'http://bitbucket.org/mirror/mercurial-stable/',
    ],
    'static': {
        'latest': 'http://selenic.com/repo/hg-stable/archive/tip.tar.gz',
        '1.3.1':  'http://mercurial.selenic.com/release/mercurial-1.3.1.tar.gz',
        '1.3':    'http://mercurial.selenic.com/release/mercurial-1.3.tar.gz',
        '1.2.1':  'http://mercurial.selenic.com/release/mercurial-1.2.1.tar.gz',
        '1.2':    'http://mercurial.selenic.com/release/mercurial-1.2.tar.gz',
        '1.1.2':  'http://mercurial.selenic.com/release/mercurial-1.1.2.tar.gz',
        '1.1.1':  'http://mercurial.selenic.com/release/mercurial-1.1.1.tar.gz',
        '1.1':    'http://mercurial.selenic.com/release/mercurial-1.1.tar.gz',
        '1.0.2':  'http://mercurial.selenic.com/release/mercurial-1.0.2.tar.gz',
        '1.0.1':  'http://mercurial.selenic.com/release/mercurial-1.0.1.tar.gz',
        '1.0':    'http://mercurial.selenic.com/release/mercurial-1.0.tar.gz',
    },
}

build_commands = [
    'make local',
]

packages = [
    'mercurial',
    'hgext',
]

scripts = [
    'hg',
]

tests = {
    'python -c "import mercurial; import hgext"': '^$',
    'hg --version': '^Mercurial.*(version .+)$',
}