1. Steve Losh
  2. gorilla-catalog

Commits

Steve Losh  committed 2b57af3

mercurial: Add a card for Mercurial.

  • Participants
  • Parent commits ad5a114
  • Branches default

Comments (0)

Files changed (1)

File mercurial.py

View file
+'''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 .+)$',
+}