* build with serf instead of neon; 1.8 will drop neon support
* remove ENV.deparallelize because it did not fix#13226Closes#20372.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Some useful tools can be installed through 'make install-tools'. Among
them, the following five binaries have filenames with the prefix 'svn',
and won't conflict with binaries form other packages. So it's safe to
install these tools by default.
* svn-populate-node-origins-index
* svn-rep-sharing-stats
* svnauthz-validate
* svnmucc
* svnraisetreeconflict
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
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.
Removes any global methods from formulae, and moves #kext_prefix (which
seems to be at least somewhat abstractable) into the Formula class. The
only formula with global methods is now aspell; it (and its generating
script in contrib) has been changed to prefix that method with
`aspell_`, to minimize the risk of name collisions.
Closes#19331.
Closes#19343.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- In subversion and gdal, because they used
HOMEBREW_PREFIX/lib instead of
Formula.factory('sqlite').opt_prefix
Closes#17005.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
subversion --perl tries to install to `/Library/Perl` which is
not writeable by the regular user and causes a build error.
- Set the perl `DESTDIR=#{prefix}` and add a caveat.
Fixes#15352Closes#15652.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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>
This will find EXTERN.h correctly even if the user has installed a
custom perl installation, such as from perlbrew. See #11619 for a bit
more info.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Subversion will fail with clang when it queries the compiler
used to build system Python and finds it is llvm-gcc. It then
uses the clang cflags with llvm-gcc to compile the python bindings
which causes the usual unknown `-march=native` flag issue.
Pre-define the configure variable `ac_cv_python_compile` as ENV.cc
Fixes#10914.
Closes#12059.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Subversion's JavaHL library depends on JNI headers that are only available by
installing Developer Tools. Setting JAVA_HOME to something in /System/Library
breaks because JNI headers aren't symlinked into the framework directories
here. I believe the proper JAVA_HOME setting, if necessary, is the output of
/usr/libexec/java_home, but the same effect can be achieved by not setting
JAVA_HOME at all.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>