Commit Graph
24 Commits
Author SHA1 Message Date
Grzegorz Dzięgielewski d65e6e0478 colletd: add debug option
Closes #20578.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-18 07:51:40 -07: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
Ankit Solanki 41a4a6bf8f collectd 5.3.0
Closes #19335.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-24 18:39:34 -05:00
Mike McQuaid 3bffe5629c Remove unnecessary/unused UserName plist keys.
Fixes #18293.
2013-04-06 16:19:39 +01:00
Luke Petre ca263f9137 collectd: add launchctl plist
Closes #16892.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-05 13:18:14 -08:00
Adam Vandenberg 4fabbd179f CollectC: make java opt-in
Enabling Java only works against Java 1.6, not 1.7.
So make this opt-in as more people will be switching their
JAVA HOME to 1.7 paths.

Closes #14707.
2012-11-26 10:06:05 -08:00
Adam Vandenberg 3e7d4aab26 collectd: remove skip_clean 2012-09-14 11:06:19 -07: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
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Adam Vandenberg 090e60ca80 collectd 5.1.0 2012-06-03 18:50:21 -07:00
Toby DiPasquale c5a91c4f2b collectd: fails with clang
cf. #11651.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-20 22:30:43 -05:00
Jack Nagel c749a81e2e collectd: fix permissions errors during configure
Fixes #11651.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-20 22:28:06 -05:00
Adam Vandenberg af3ff07ba0 collectd 5.0.2 2012-02-03 20:44:24 -08:00
Lamnk aa77fe8537 collectd 5.0.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-15 16:47:10 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg 829f5cb65b collectd 4.10.2 2011-03-21 22:20:50 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg fe71fe3b95 collectd - disable Perl on Leopard
Perl support fails to compile on Leopard, so disable.
Better patches welcome.
2010-10-16 08:22:16 -07:00
William Lynch befd4713cb collectd - var should not be inside the Cellar directory
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-08 05:47:08 -07:00
Adam Vandenberg d0efd9ee94 Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg 1cd2554011 collectd 4.10.1 2010-07-27 17:44:58 -07:00
Piotr Usewicz 34898e7284 Updated collectd to 4.10.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-01 07:45:30 -07:00
Adam Vandenberg 76a9a58e18 Update collectd to not strip symbols. 2010-02-23 22:30:36 -08:00
spahl 88c86029de collectd 4.9.1
A daemon which collects system performance statistics periodically.
2010-01-24 13:14:30 +00:00