Commit graph

27 commits

Author SHA1 Message Date
Mike McQuaid
c8e1078ff9 collectd: cleanup python usage. 2014-01-04 13:19:21 +00:00
Adam Vandenberg
4fa314cfa9 collectd 5.4.0 2013-12-09 22:35:21 -08:00
Misty De Meo
f7a044271e Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -07:00
Grzegorz Dzięgielewski
67e48217c3 colletd: add debug option
Closes Homebrew/homebrew#20578.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-18 07:51:40 -07:00
Samuel John
f6e80bdea2 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
38ca86150b collectd 5.3.0
Closes Homebrew/homebrew#19335.

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-05 13:18:14 -08:00
Adam Vandenberg
b1bd63c2dd 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 Homebrew/homebrew#14707.
2012-11-26 10:06:05 -08:00
Adam Vandenberg
04b24de005 collectd: remove skip_clean 2012-09-14 11:06:19 -07:00
Jack Nagel
53473b6bf5 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
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Adam Vandenberg
262b5c5662 collectd 5.1.0 2012-06-03 18:50:21 -07:00
Toby DiPasquale
e9a94400c4 collectd: fails with clang
cf. Homebrew/homebrew#11651.

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

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-20 22:28:06 -05:00
Adam Vandenberg
eaadf309b0 collectd 5.0.2 2012-02-03 20:44:24 -08:00
Lamnk
87020ea66f collectd 5.0.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-15 16:47:10 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
696d2cf18f collectd 4.10.2 2011-03-21 22:20:50 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
e85d69b86a 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
af9fb23b26 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
7bd947eb0b 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
c86a050552 collectd 4.10.1 2010-07-27 17:44:58 -07:00
Piotr Usewicz
bf83a0b97a Updated collectd to 4.10.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-01 07:45:30 -07:00
Adam Vandenberg
b99e95f7d6 Update collectd to not strip symbols. 2010-02-23 22:30:36 -08:00
spahl
9e46d77f65 collectd 4.9.1
A daemon which collects system performance statistics periodically.
2010-01-24 13:14:30 +00:00