Commit Graph
64 Commits
Author SHA1 Message Date
Samuel John 150370dcc6 MacVim: Link python statically 2013-06-05 17:37:32 +02:00
Samuel John 0d3fbcaeac macvim: typo 2013-06-05 14:46:02 +02:00
Jack Nagel d17a03ad49 macvim: style 2013-06-03 15:03:22 -05:00
Samuel John e58baae143 MacVim: Don't hardcode --with-macsdk
Instead only pass the --with-macsdk if on XCode-only.

Fix #20229
2013-06-03 22:00:40 +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
GodFather 4cc1cec0a2 mavcim: cscope is now recommended
The default osx version of vim comes with cscope on

Closes #19687.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-09 19:41:17 -07:00
Adam Vandenberg 1f3eb01bac macvim: use :optional 2013-05-06 11:41:17 -07:00
Jack Nagel 0520c36eed Replace literal paths to ruby with RUBY_PATH 2013-04-06 13:10:12 -05:00
Andrew Janke 9fddebc091 Change github /tarball/ URLs to /archive/ for formulae L-Z
This takes care of a `brew audit` complaint.

Closes #18828.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-29 14:59:28 -07:00
Charlie Sharpsteen 729563ab8a Revert SHA updates 5f4603b, 8320aca
GitHub had a hiccough---SHA checksums really didn't change.

This reverts commit 5f4603b230.
This reverts commit 8320aca3f0.

Ref #18501.
2013-03-15 17:19:07 -07:00
Karl 5f4603b230 macvim: Update SHA
MacVim got a stealth update.

Fixes #18501.
Closes #18507.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2013-03-15 12:07:20 -07:00
Yousef Ourabi 8c69d0b79f macvim: fix audit warning
Closes #17297.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-24 19:23:01 -08:00
John Whitley b96861f970 macvim: add python3 option
Closes #16630.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-22 16:40:59 -06:00
Xiao G. Wu faae352ebd MacVim 7.3-66
https://github.com/b4winckler/macvim/wiki/ChangeLog

Closes #16561.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-14 09:24:12 -08:00
Charlie Sharpsteen 0fb4c56f87 macvim: Depend on XCode
The MacVim build process requires a working `xcodebuild`.

Fixes #15111.
2012-09-25 14:05:27 -05:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Ed Robinson 25596ce7c7 MacVim: also create gvim series symlinks
Fixes #14458.

Closes #14785.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-06 22:19:22 -07:00
Teng Siong Ong b420ba34d1 macvim snapshot 65
Closes #14631.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-02 14:32:20 -07:00
Adam Vandenberg e9b63779fe macvim: fix audit warnings 2012-08-30 08:44:32 -07:00
Adam Vandenberg c8692b443f macvim: use options dsl 2012-08-09 16:28:35 -07:00
Adam Vandenberg 2b90f75ded macvim: it is OK to set these flags now 2012-08-06 14:15:15 -07:00
Adam Vandenberg 4dca98d8ff MacVim: use sha1 and %W[] 2012-07-09 12:40:39 -07:00
Ben Lavender 7eeda758d3 macvim: use system ruby
MacVim expects Ruby 1.8, but will pick up a Homebrewed ruby and fail to
compile. Force the use of System ruby.

Closes #13293.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-09 12:38:00 -07:00
Adam Vandenberg 69b3681fa7 macvim: remove other ruby check 2012-06-18 21:28:52 -07:00
Adam Vandenberg 087645a4ec MacVim: warn if not using Ruby 1.8.x
Fixes #12199.
2012-06-18 21:19:43 -07:00
Jack Nagel 439e1adbaa Avoid chdir in subshells
The preferred "chdir for this step only" idiom is to use the block-form
'cd' method.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-17 17:55:53 -05:00
Jason Foreman cea0dbbe3c macvim: option to enable Lua support
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-21 20:40:49 -07:00
Rico Sta. Cruz d805647031 macvim: decomission the --enable-clipboard flag
Closes #10497.

Signed-off-by: Max Howell <max@methylblue.com>
2012-02-26 13:25:04 +00:00
Rico Sta. Cruz 0e20df31e8 macvim: Always make icons
Closes #10489.
Closes #10491.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-25 22:18:41 -08:00
Martin Jagusch 7c22107264 MacVim 7.3-64
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-08 09:02:46 -08:00
Adam Vaughan f1abfddc0e macvim snapshot 63
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-20 13:46:50 -08:00
Adam Vandenberg a8e6d275ba MacVim: stop passing explicit SDK 2011-10-28 09:55:44 -07:00
Adam Vandenberg 009e567921 MacVim 7.3-62 2011-09-18 10:38:56 -07:00
Adam Vandenberg a96eaab4b0 macvim: add some configure flags 2011-08-04 09:22:54 -07:00
Adam Vandenberg ed7482aa34 macvim: do not use sudo on ln -s 2011-07-29 08:08:04 -07:00
David Stone c9a3effb82 MacVim: snapshot 61
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27 17:38:31 -07:00
Brandon Ferguson 53adc64ecc macvim 7.3-60
This fixes lion + zsh problems.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-22 12:39:45 -07:00
Andrew Marshall 8f91b62101 MacVim 7.3 59
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-11 19:39:13 -07:00
Adam Vaughan 899e89b232 MacVim 7.3 snapshot 58
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-09 08:53:34 -07:00
JessThrysoee 0a53bcf2c3 macvin: add --enable-clipboard option
So yanking to OSX clipboard works when running in Terminal.app.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-14 14:09:33 -07:00
Adam Vandenberg 4e7c332a48 Use https for github repos. 2011-05-26 22:02:55 -07:00
JessThrysoee 1fab3babda Add vi, vimdiff, view, vimex symlinks when overriding system vim.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-15 16:44:37 -07:00
Adam Vandenberg 1fb85efce5 Rewrite caveats to new style.
To make it easier to copy and paste multiline scripts from caveats,
no longer use $ as a prompt marker.
2011-04-04 16:56:47 -07:00
Adam Vandenberg 9d03b211b8 macvim - fix arch for Leopard 2011-03-29 08:31:47 -07:00
Adam Vandenberg 20b535e070 macvim: comment use of ARCHFLAGS 2011-03-19 09:23:07 -07:00
Adam Vandenberg f4d0a4de81 macvim - some clean up
Expand the caveats, and clean up the formula a bit.
2011-03-13 12:34:48 -07:00
Adam Vandenberg 68c5b3e331 macvim - fix font url 2011-03-13 12:34:47 -07:00
Ivan Koshkin c55b9a798c Make MacVim compile with Xcode 4.
Xcode 4 does not contain ppc/ppc64 commandline
utils, so src/MacVim/icons/ fails to build
universal binary.

Explicit selection of platform architecture
(x86_64 or i386) solves the problem.

Actually setting environment variable ARCHFLAGS
(e.g. export ARCHFLAGS='-arch x86_64') before
'brew install' should solve the problem,
but corrected formula file is better.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-13 12:34:47 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg 65c42c1ced macvim - remove xcode 4 check
macvim still won't comile under LLVM, but remove the explicit check
as we need a better solution for xcode 4 detection overall
2011-03-10 08:36:18 -08:00