aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2013-06-14Fix another constant referenceJack Nagel
2013-06-14Fix constant referenceJack Nagel
2013-06-14Favor compound if over compound unlessJack Nagel
2013-06-14Use ||= instead of unlessJack Nagel
2013-06-14Remove outdated commentJack Nagel
2013-06-14Assign this inlineJack Nagel
2013-06-14Delete rather than assign nilJack Nagel
2013-06-14Simplify nested conditionalJack Nagel
2013-06-14Use has_key? rather than accessing the valueJack Nagel
2013-06-14Rename single-letter variableJack Nagel
2013-06-14Make flag lists into constantsJack Nagel
2013-06-14ENV: clean up set_cpu_flags and set_cpu_cflags usageJack Nagel
2013-06-14Use Hardware::CPU moduleJack Nagel
2013-06-09Remove adamv-alt references.Adam Vandenberg
Closes #20364.
2013-06-08Add :ld64 dependencyMisty De Meo
This allows formulae which won't build with Tiger's ld to conditionally request a dependency on the ld64 formula. This modifies the build environment appropriately, and will only be active on Tiger.
2013-06-08Sniff for non-tarred gzipsAdam Vandenberg
Don't try to untar non-tarred gzips.
2013-06-08Add Enumerable#group_byJack Nagel
2013-06-06Move oldest_cpu to HardwareJack Nagel
2013-06-04ENV.userpaths! Hotfix to prefer brewed stuffSamuel John
The depends_on 'nose' => :python tests fails even if people did `pip install nose` with their brewed pythons because during the tests the PATH is set up such that /usr/bin comes before HOMEBRE_PREFIX/bin. This is a hot fix. Proper fix need resorting the PATH.
2013-06-04Extract attr_rw from Formula for reuseJack Nagel
Closes #20239.
2013-06-01Require hardware where it is neededJack Nagel
2013-05-20Simplify implementation of ARGV.flag? and .switch?Jack Nagel
2013-05-19Fix set_cpu_flags invocations in ENV.fortranJack Nagel
Fixes #19013. Fixes #19862. Fixes #19921.
2013-05-11Fix --build-bottle CFLAGS.Mike McQuaid
The CFLAGS were previously not generic enough. References #18944. References #19179.
2013-05-09Overwrite broken symlinks with --overwriteDesmond Brand
Closes #19480. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-04-27Only remove DS_Store on ENOTEMPTYJack Nagel
2013-04-20Avoid calling to_s on the same Pathname multiple timesJack Nagel
2013-04-14Performance fix for Pathname#prepend_prefixJack Nagel
See 05a456c231dc6da7cb0f7c70cb21feaf9a0d803c; same story.
2013-04-14Performance fix for Pathname#chop_basenameJack Nagel
This is an internal method, but is called a bunch of times in performance-critical codepaths, and is ultra slow because the constant is interpoplated into the Regexp each time the method is called. Alas, this has been fixed in Ruby 1.9+.
2013-04-03Recognize 7z files by magic bytes, not filenameJack Nagel
2013-04-01Requirement: env DSL is evaluated in context of self, not ENVJack Nagel
This was meant to support: env do |req| append_path 'PATH', req.some_method ... end i.e., the block was evaluated in the context of ENV. But it turned out to be not so useful after all, so I'm ripping it out before something actually depends on it.
2013-03-28extend/fileutils: suppress discarded method definition warningsJack Nagel
2013-03-23Hardware: separate out CPU values into CPU moduleMisty De Meo
* CPU functions now exist in Hardware::CPU * Added compatibility functions in compat/hardware_compat.rb * Names are less specific to Mac hardware, e.g. CPU.family instead of Hardware.intel_family * Hardware::CPU.family works for both Intel and PowerPC * New helper methods on CPU, like .sse4? and .altivec? Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-21Replace remaining shelled-out `which`esMisty De Meo
2013-03-16ENV: clear influential include path varsJack Nagel
2013-03-11Don't run certain functions on non-MACOS.Mike McQuaid
2013-03-11Add with_system_path to run using system PATHs.Mike McQuaid
Needed for Linux compatibility.
2013-03-11Add current Ruby globals.Mike McQuaid
Allows access to the Ruby path. Needed for Linux porting.
2013-03-09Adjust BOTTLE_EXTNAME_RX for :snow_leopard_32Jack Nagel
2013-03-09Index pkgconfig directories by MacOS.versionJack Nagel
2013-03-01Add environment variable to build bottles.Mike McQuaid
2013-03-01Support 32-bit 10.6 bottles.Mike McQuaid
Closes #17735. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-18Don't shadow outer local variablesJack Nagel
2013-02-15Remove redundant returnJack Nagel
2013-02-15Make this more idiomaticJack Nagel
2013-02-10Fix Regexp encoding under 1.9/2.0Jack Nagel
2013-02-02Move ruby methods to FileUtils extensionJack Nagel
2013-01-30Remove MD5 support.Mike McQuaid
Closes #17317.
2013-01-29Don't use underscores in (new) bottle filenames.Mike McQuaid
Closes #14270
2013-01-29Cleanup old bottle syntax.Mike McQuaid