Commit Graph
53 Commits
Author SHA1 Message Date
Spencer Ewall 42bcf4a9af mercurial 2.7.2
Closes #23008.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-03 15:57:52 -05:00
Adam Vandenberg da59b76829 mercurial: add mirror
Closes #22901.
2013-09-28 21:01:26 -07:00
Pedro Araujo 2297dea79c mercurial 2.7.1
Closes #22399.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-08 23:08:18 +01:00
Reuben Morais b612f149f8 Mercurial 2.7
Closes #21631.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-03 09:58:25 -07:00
Adam Vandenberg 799ae842f2 mercurial: de-dent caveats 2013-07-16 21:08:34 -07:00
Adam Vandenberg e8a33097a3 mercurial: fix compilation on Snow Leopard 2013-07-16 21:00:34 -07:00
Samuel John 4f47ae3821 mercurial: 2.6.3 & use depends_on :python
* The `hg` binary is installed in `$(brew --prefix)/bin/hg`.
* Optional docs (hg help will still work) so that docutils is not
  needed.
* The `depends_on :python` is needed for software that needs
  the `Python.h`.

Fix #20929
2013-07-15 15:00:46 +02:00
Adam Vandenberg e96d4b7806 Mercurial: revert to standalone install
This resolves issues with the hg binary being in the wrong place and
the docutils module being required to install.

Note that users who need mercurial installed as a Python module will
need to install it some other way.

Closes #20620.
2013-06-30 10:37:05 -07:00
Samuel John 8b9d6d15ce mercurial: 2.6.2 and fix contrib/hgk not found.
hgk is an [unloved][1] feature. The extension (hgk.py)
is still installed but not the binray (hgk).

[1]: http://mercurial.selenic.com/wiki/UnlovedFeatures)
2013-06-18 10:48:51 +02:00
Samuel John 6ea10c37bb mercurial: docutils are always needed. 2013-06-04 22:18:13 +02:00
Samuel John 9f70104b84 mercurial: Remove outdated doc option
make doc is only needed for --HEAD and shipped else.
2013-06-04 22:07:15 +02:00
Samuel John f1a4dad61f mercurial: Install python bindings properly
Also allow to build with --HEAD by making brew's
download strategy aware of a brewed but unlined hg.

Adapted the caveats so that the procedure to brew
hg --HEAD is clear.

Mention how to config hgk in the caveats.
2013-06-04 17:05:02 +02:00
Samuel John ab2ed1d258 mercurial: Style bit 2013-06-03 22:17:37 +02:00
Samuel John 183ab35306 mercurial: XCode-only system py: Find Python.h
Fix #18517
2013-06-03 20:56:25 +02:00
Samuel John 0b50110107 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Jack Nagel c996f2a396 mercurial 2.6.1 2013-05-15 20:34:39 -05:00
Reuben Morais ba182aab49 mercurial 2.6
Closes #19631.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-06 09:58:16 -05:00
Adam Vandenberg c150b7ed85 use bash/zsh path helpers 2013-05-03 11:03:42 -07:00
Robson Peixoto e155f59f0e mercurial 2.5.4
Closes #19116.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 23:35:03 -05:00
Reuben Morais 90353178d3 mercurial 2.5.2
Closes #18227.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-04 15:09:45 -06:00
Christian Höltje 35c8a0c7fb mercurial: Use opt_prefix in caveat
The caveat mentioned that the `hgext` directory was
in the Cellar.  A better path is the `opt_prefix` path
because it doesn't change when the mercurial is updated.

Closes #17773.
Closes #17779.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-11 18:46:56 -08:00
Antonio Zanardo 80b469948d Mercurial 2.5.1
Closes #17720.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-09 09:12:47 -08:00
Antonio Zanardo 954e37a75a Mercurial 2.5
Closes #17578.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-04 11:38:25 -08:00
David Albert 85a666701f Mercurial 2.4.2
Closes #16928.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-06 11:07:57 -08:00
Mark Janssen d8e0dfeda9 Mercurial 2.4.1
Closes #16621.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-17 11:21:10 -06:00
Frank Schoenmann d877b1d974 mercurial 2.4
Closes #16120.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-17 12:40:11 -06:00
Adam Vandenberg 327d45ac28 Mercurial: install extensions
Closes #15839.
2012-11-04 16:11:29 -08:00
Adam Vandenberg ba6e0bf4e8 Mercurial: make install self-contained
Update mercurial install to once again be self-contained in libexec
2012-10-27 08:00:01 -07:00
Adam Vandenberg 5ce75a78b8 Mercurial: fix install warning 2012-10-27 07:45:59 -07:00
mbcoguno 6633322183 mercurial: works with all CPythons.
Replace shebang whatever CPython is. This can works with system,
homebrew, official, pythonbrew, etc.'s CPython.

Closes #15342.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-15 09:07:10 -07:00
David M. Carr cee8575007 mercurial 2.3.1
Closes #14885.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-12 18:55:50 -05:00
Adam Vandenberg 5ed1a3caa3 mercurial: use new dsl 2012-09-03 20:17:42 -07:00
Jack Nagel 3bcf766035 mercurial: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 13:06:48 -05:00
Adam Vandenberg d21d609169 Mercurial 2.3 2012-08-08 10:25:58 -07:00
Amir Chaudhry 26afe76334 mercurial 2.2.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-18 21:13:00 -07:00
Boris Feld b8f048d33a mercurial: Update to 2.2.2
Closes #12563.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-03 11:22:09 -07:00
Mark Janssen f92f1622a5 Mercurial 2.2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-10 06:51:32 -07:00
Jack Nagel 7eb6bd3cb7 mercurial 2.2
- add test

Closes #12013.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-02 18:45:16 -05:00
Stian Eikeland af2fab2824 mercurial 2.1.2
Closes #11380.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-02 13:20:58 -05:00
George Song 691e4601bd hg: bash completion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-05 21:49:04 -08:00
Jack Nagel 15f0a2d2c9 mercurial 2.1.1
- Add an upstream patch to fix the usage of xcodebuild in setup.py.

Fixes #10314.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-02 14:52:27 -06:00
Jack Nagel 8c0ff06f2a mercurial: fix failing inreplace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-29 22:56:16 -06:00
Jack Nagel 4ea0fb3f2e mercurial: style nits
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-29 22:56:15 -06:00
Adam Vandenberg cdf9cfad12 Mercurial: patch to remove error codes 2012-02-18 09:29:34 -08:00
Adam Vandenberg 89ad7abcda mercurial: use install_symlink 2012-02-12 20:09:00 -08:00
Joseph Hsu 1cadc597d9 Mercurial 2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-02 19:14:48 -08:00
Misty De Meo aebc60a63a mercurial: update regexp to match framework python
Fixes #9593
2012-01-14 11:42:31 -06:00
Adam Vandenberg a2eb4399cf Mercurial 2.0.2 2012-01-07 10:29:11 -08:00
Adam Vandenberg fc1cb74786 Mercurial 2.0.1 2011-12-17 10:08:16 -08:00
Charlie Sharpsteen f5a0e23fc5 mercurial: Prune unneeded version 2011-11-21 10:17:19 -08:00