aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
AgeCommit message (Collapse)Author
2015-04-25Add Formula#logsJack Nagel
2015-04-12formula: add more API docs for directories.Mike McQuaid
Closes #38571.
2015-04-09cmake: adjust standard built typeDominyk Tiller
Moves from None to Release, but comments out the standard release CFLAGS so we can continue using our own. Bumped Libgit2 as an example/test to play with. Closes #37332, hopefully. Closes #37361. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09Keep Homebrew site-packages in sys.path during brew testTim D. Smith
Formulas that build python things and which are tested with system Python will encounter test failures unless system Python is configured to add Homebrew's site-packages to sys.path. This change makes sure that configuration is performed in the test environment. Both lines are needed; the first reads and processes .pth files and the second makes sure that Homebrew's site-packages is read before the system extras, so that formulas depending on Homebrew/python/numpy get the Homebrew/python version and not the old system version. Closes #38466.
2015-04-06add SoftwareSpec#go_resourceTim D. Smith
by analogy to similar code in formula.rb. Permits #37877. Closes #38330.
2015-03-14Switch to a more useful serialization of tap infoJack Nagel
Closes #37383.
2015-03-04move formula_specialties to compatXu Cheng
Closes #37365. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-19ruby 1.8 doesn't have `sort_by!`Xu Cheng
Closes #36935 Closes #36936. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-13Move "path or URL" tap string to global constant.Mike McQuaid
2015-02-08cmd/info: prevent duplicate dependency display.Xu Cheng
Before: $ brew info llvm ==> Dependencies Build: xz ✔, xz ✔, xz ✔, xz ✔, xz ✔, xz ✔ $ brew info --json=v1 llvm ... "dependencies":["xz","xz","xz","xz","xz","xz"], ... After $ brew info llvm ==> Dependencies Build: xz ✔ $ brew info --json=v1 llvm ... "dependencies":["xz"], ... Closes #36653. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-07formula: sort installed version in to_hashXu Cheng
https://github.com/Homebrew/homebrew-brewdler/pull/43#discussion_r24248760 Closes #36611. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-07Save and restore build attributeJack Nagel
This probably doesn't matter in practice, but I don't want to take any chances.
2015-02-07Always respect build options when invoking post_installJack Nagel
Fixes #36335.
2015-02-07Use a local instead of an instance variableJack Nagel
2015-01-22Remove unnecessary early returnJack Nagel
Iterating over an empty list is a no-op so we can remove this early return.
2015-01-22Hide "Patching" message when there aren't any patchesJack Nagel
2015-01-22Use formula patches accessorJack Nagel
2015-01-20Expose bottle details on the formula objectJack Nagel
Fixes #36032.
2015-01-12Omit post-install warning unless formula defines itJack Nagel
Closes #34744.
2015-01-09formula: set HOME to testpath in tests.Mike McQuaid
2015-01-04Include selected spec in Formula#inspectJack Nagel
2015-01-04Make active_spec protectedJack Nagel
2015-01-04Doc most DSL methods as write-onlyJack Nagel
The public readers for these attributes are on the instance, not the class.
2015-01-04Fix markupJack Nagel
2015-01-04Top-level DSL methods only manipulate the stable specJack Nagel
2014-12-30Use block-form of File.openJack Nagel
2014-12-30Log build environment on failureJack Nagel
2014-12-30Always dump full configurationJack Nagel
2014-12-27One less external call to #active_specJack Nagel
2014-12-26Decouple applying patches from staging the sourceJack Nagel
2014-12-26Finally stop exposing url on FormulaJack Nagel
2014-12-26Unroll validation loopJack Nagel
2014-12-26Overriding #initialize is not supported, so drop late validationJack Nagel
2014-12-26formula: add/improve more API docs.Mike McQuaid
Closes #35266.
2014-12-26Fix method redefinition warningJack Nagel
test_defined? gets defined in the method_added hook.
2014-12-22The class-level keg_only_reason is private APIJack Nagel
2014-12-22Use "@api private" instead of "@private"Jack Nagel
http://www.rubydoc.info/gems/yard/file/docs/Tags.md#private http://www.rubydoc.info/gems/yard/file/docs/Tags.md#api
2014-12-20Typo in skip_clean? documentationBaptiste Fontaine
Closes #35142. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-12Formula#install has public visibilityJack Nagel
It is called with an explicit receiver in build.rb, so the base class method should also be public.
2014-12-12Formula#exec_cmd: coerce arg to string before start_with?Tim D. Smith
2014-12-10Formula#exec_cmd: recognize setuptools shim and refurbish argsTim D. Smith
2014-12-10Formula#system: hide python setup.py shim in ohaiTim D. Smith
2014-12-08formula.rb: make some methods private.Mike McQuaid
Don't seem to be used publicly anywhere. Closes #34729.
2014-12-08formula.rb: add install method.Mike McQuaid
Mostly for links in API documentation.
2014-12-08Document Formula attributes.Mike McQuaid
The beginnings of some decent API documentation. Also, tweak `.yardopts` to better fix our internal style.
2014-12-06Remove {start,stop}doc as we're using Yard now.Mike McQuaid
2014-11-06Remove outdated commentJack Nagel
2014-10-29Add predicate methods for specs and stop testing internalsJack Nagel
2014-10-21Point to a tap when installing or fetching.Mike McQuaid
When installing or fetching and stuff goes wrong we can't always catch the error and redirect to the tap. Instead, point to the tap before we do anything failure-prone and hopefully that'll encourage people to file issues in the right place. If not we can say that explicitly. Closes #33220.
2014-10-19formula: add spec deprecated_option DSL.Mike McQuaid