aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
AgeCommit message (Collapse)Author
2016-03-22software_spec: add ExternalPatch to dependency_collectorXu Cheng
Since we support `apply` DSL in the `patch` block, external patch files could be any compressed archive. As result, it could introduce dependencies like xz, 7z etc. Add the resource of ExternalPatch to dependency_collector, so we could track these resource dependencies. Closes Homebrew/homebrew#50318. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-18formula: add new pour_bottle DSL with reason.Mike McQuaid
This allows there to be a user-visible description of why a bottle is not being installed.
2016-02-18software_spec: add new bottle check class.Mike McQuaid
2016-01-15build: store source modified time in tabfileXu Cheng
2015-12-15Allow multiple option_names in dep/reqs.Mike McQuaid
This means that dependencies can be merged but still maintain all their option names. Closes Homebrew/homebrew#46916. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01add Formula#bottle_defined?Xu Cheng
2015-10-19Formula: add bottle disable DSLXu Cheng
2015-08-21Add no-Xcode documentation for all classes, methodsWilliam Woodruff
2015-08-21Add guards to calls that would trigger Xcode install requestsWilliam Woodruff
add guard in Formula#file_modified? to prevent git popup add guard in Superenv.bin before calling MacOS::Xcode.version add guard against missing Xcode/CLT in Xcode.uncached_version return nil instread of 0 in uncached_version when Xcode/CLT are not present, to distinguish from linuxbrew behavior checks against pour_bottle? and needs_relocation?, add guard around keg.relocate_install_names to check pour_bottle?/needs_relocation? as well needs_relocation? becomes skip_relocation?, use cellar attr to indicate relocation instead of does_not_need_relocation MacOS.can_build? becomes MacOS.has_apple_developer_tools?
2015-08-21BottleSpecification: add does_not_need_relocation fieldWilliam Woodruff
Toggled with does_not_need_relocation method in bottle block. Also declare needs_relocation? accessors in software/bottle specs.
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-06support downloading bottles through 3rd-party mirrorXu Cheng
Closes Homebrew/homebrew#41328. Closes Homebrew/homebrew#41332. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-06auto resolve bottle root_url based on tapXu Cheng
2015-05-29SoftwareSpec: add full_name fieldXu Cheng
2015-04-06add SoftwareSpec#go_resourceTim D. Smith
by analogy to similar code in formula.rb. Permits Homebrew/homebrew#37877. Closes Homebrew/homebrew#38330.
2015-03-28software_spec: ignore bottles compatibility if `--force-bottle` is passedXu Cheng
Closes Homebrew/homebrew#38123. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-17software_spec: check if bottles are compatible.Mike McQuaid
The `bottled?` method makes more sense when it also checks for compatibility. This is particularly useful for the case in `brew info` so it prints out `(bottled)` correctly depending on the `Cellar`. Closes Homebrew/homebrew#37636. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-26Remove SourceForge references.Mike McQuaid
It was fun but we just love Bintray more than you. Closes Homebrew/homebrew#37211. Closes Homebrew/homebrew#37213. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-19Switch bottle provider over to Bintray.Mike McQuaid
2015-02-19software_spec: use homebrew Bintray subdomain.Mike McQuaid
Also: split into two variables so they can be used for taps.
2015-02-17Add initial Bintray upload support.Mike McQuaid
2015-01-08Remove the direct url writer from ResourceJack Nagel
2014-10-19formula: add spec deprecated_option DSL.Mike McQuaid
2014-10-19Add deprecated_option to software_spec.Mike McQuaid
Allows remapping one option name to another and updates build options and flags accordingly.
2014-09-18Remove fails_with? from the formula instanceJack Nagel
2014-09-01Add Go language module, resourcesMisty De Meo
This introduces a new GoResource category of resource. GoResources have a specialized stage method which allows a resource to stage itself into a gopath. The new Go language module provides a one-liner to stage all GoResources present in the formula.
2014-08-29Add a method for retrieving only flags from ARGVJack Nagel
2014-08-28Single character options should not be used in a formulaJack Nagel
2014-08-19Make fails_with available in spec blocksJack Nagel
Closes Homebrew/homebrew#31706.
2014-08-13Replace Options.coerce with an alternate constructorJack Nagel
2014-08-13Always pass an Options instance to the BuildOptions constructorJack Nagel
2014-08-13Revert "Always pass an Options instance to the BuildOptions constructor"Mike McQuaid
This reverts commit e143bcef259ca76b2124e6e73bd9bdf872418723. Closes Homebrew/homebrew#31557. Closes Homebrew/homebrew#31559. Closes Homebrew/homebrew#31561. Closes Homebrew/homebrew#31562.
2014-08-13Revert "Replace Options.coerce with an alternate constructor"Mike McQuaid
This reverts commit 8d2ef974a3a87bf4207f71ccb8a7b4776e16a016.
2014-08-12Replace Options.coerce with an alternate constructorJack Nagel
2014-08-12Always pass an Options instance to the BuildOptions constructorJack Nagel
2014-08-10Handle legacy options in the method_added hookJack Nagel
We only need to process the legacy options at load time, not each time the class is instantiated, and only when there is an options method defined.
2014-08-07Use predefined options for universal, cxx11, and 32-bit optionsJack Nagel
:universal and :cxx11 are now handled directly, so we don't need to always convert symbols to strings in this method. Symbols should be reserved for future use.
2014-08-07Move management of options collection to the spec objectJack Nagel
2014-08-07Raise ArgumentError for argument errorsJack Nagel
2014-07-31Hide the options data structure betterJack Nagel
2014-07-31Make options available on the spec objectsJack Nagel
2014-07-30Rename resource? to resource_defined?Jack Nagel
2014-07-29Simplify internal representation of patchesJack Nagel
- remove support for IO objects, since we no longer access ::DATA directly - since we don't need to support IO objects, use a separate class for string patches and stop wrapping strings in StringIO ojects
2014-07-22Stop exposing the downloader as an attributeJack Nagel
2014-07-22Hide the downloader implementation from the installerJack Nagel
2014-07-18Add a factory method that accepts a formula objectJack Nagel
2014-07-18Ask the filename object for the prefixJack Nagel
2014-07-18Move bottle URL construction to the bottle objectJack Nagel
2014-07-18Move bottle filename construction to a classJack Nagel
2014-07-17Spell out "formula" in parameter nameJack Nagel