aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2015-04-07gcc5: add regexDominyk Tiller
Fixes the bottle regex problem seen in https://github.com/Homebrew/homebrew-versions/pull/678. I don’t know whether it’s a good regex, or an awful regex, but it works and passes `brew tests` and a bottled install. Open to improvements if anyone has them. Closes Homebrew/homebrew#38333. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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-04-06list: exclude pypy from unbrewedDominyk Tiller
Excludes the PyPy paths from the unbrewed list, since we do the same with Python. Closes Homebrew/homebrew#38399.
2015-04-05switch: do not require an existing formulaJack Nagel
2015-04-02Switch PkgVersion to use compositionJack Nagel
Comparing PkgVersion and Version objects can produce nonsensical results. For example, equality is not symmetric: irb(main):002:0> PkgVersion.new("1.0", 0) == Version.new("1.0") => false irb(main):003:0> Version.new("1.0") == PkgVersion.new("1.0", 0) => true Rather than attempt to deal with subclass-superclass equality, let's use composition and punt on the problem altogether.
2015-04-02audit: enforce https for bare bintray.com domainViktor Szakáts
Closes Homebrew/homebrew#38302. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-01Use pkg_version when comparing against keg versionsJack Nagel
2015-04-01Simplify versions codeJack Nagel
2015-04-01Remove dead codeJack Nagel
2015-03-31pathname: remove hyphen from BOTTLE_EXTNAME_RXShaun Jackman
A hyphen is not a valid character in a Ruby symbol, and the bottle tag should be a valid Ruby symbol for its use in the bottle stanza. Closes Homebrew/homebrew#38235. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31pathname: Add [-0-9] to BOTTLE_EXTNAME_RXShaun Jackman
Change [a-z_]+(32)? to [-a-z0-9_]+ The Linuxbrew bottle tag is x86_64-linux. Closes Homebrew/homebrew#32687. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31pull: make the bintray message stronger.Mike McQuaid
2015-03-31audit: enforce https on *.bintray.com urlsViktor Szakáts
Closes Homebrew/homebrew#38209. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31Fix test.pdfojab
test.pdf wasn't a valid PDF file: >$ mutool info test.pdf >test.pdf: >error: cannot recognize xref format >error: cannot read xref (ofs=406) >error: cannot read xref at offset 406 >warning: trying to repair broken xref Process it with `mutool clean` to fix errors, collapse newlines to reduce size Closes Homebrew/homebrew#38194. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-30Move ticcutils, timbl, wopr to homebrew/science.Dominique Orban
Closes Homebrew/homebrew#37450. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-29keg: explicitly create cmake dir under libBen Morgan
Packages supporting CMake may install configuration files for use with CMake's find_package command. A recommended location for these is `<prefix>/lib/cmake` which is not unique across packages. This may cause issues for Formula using this location when their Keg is linked. As with pkg-config, explicitly create the `lib/cmake` folder when linking a Keg that has installed folders/files to this location. Also add testcase. Closes Homebrew/homebrew#38005. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-29bottle_version: support apparix-11-062Xu Cheng
2015-03-28manpage: fix typoShammel Lee
Closes Homebrew/homebrew#38168. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-03-28Silently ignore FormulaUnavailableError in check_conflictsXu Cheng
If the formula name is in full-qualified name. Let's silently ignore it as we don't care about things used in taps that aren't currently tapped. Closes Homebrew/homebrew#38089. Signed-off-by: Xu Cheng <xucheng@me.com>
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-27Make Version#<=> allocation-freeJack Nagel
2015-03-27ensure metafiles being installed to prefix rather than libexecXu Cheng
This is a follow-up of Homebrew/homebrew#37734. I think we should treat `install_metafiles` as a general issue rather than a formula-specific one. Closes Homebrew/homebrew#37968. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-26Pass around only pathname objectsJack Nagel
2015-03-26Always yield a path from install_p extensionJack Nagel
2015-03-26Add tests for cp_path_subJack Nagel
2015-03-26Add test for InstallRenamed on directoriesJack Nagel
2015-03-26Adjust variable in InstallRenamed testJack Nagel
2015-03-26Don't run pathname tests twiceJack Nagel
2015-03-25unpack: expand destdir in case a relative path is givenJack Nagel
Fixes Homebrew/homebrew#38067.
2015-03-25Get rid of setup_install_test methodJack Nagel
2015-03-25Eliminate chdir from pathname testsJack Nagel
2015-03-25Pull install tests into a separate classJack Nagel
2015-03-25Do less work inside chdir blocksJack Nagel
2015-03-25Parallelize the language module dependency testsJack Nagel
2015-03-25Combine assignmentsJack Nagel
2015-03-24Make install_p and install_symlink_p privateJack Nagel
2015-03-24Always pass basename to install_symlink_pJack Nagel
2015-03-24Always pass basename to install_pJack Nagel
Currently, when called with one argument, dst is set to self, i.e. the directory into which the source file should be moved. When called with a second argument (for renames), dst is the full path, including the basename, to the moved file. Instead, let's always pass the full path, which means we can remove the branching logic around computing dst.
2015-03-24add method to detect shell profile file based on users' preference shellXu Cheng
Closes Homebrew/homebrew#38017. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-24reinstall, upgrade: tweak use of tab build_bottle.Mike McQuaid
In the case where a bottle wasn't around before and is now it probably doesn't make sense to use `build-bottle` to build something that will be identical to the binary bottle package anyway. After all, when you use the bottle you will end up with something that has been built with `build-bottle` anyway (just not by you).
2015-03-24test-bot: first git clean should not be a test.Mike McQuaid
We don't care if it fails as we'll immediately run a stronger version afterwards (and we care if that fails).
2015-03-23Go through regular logic when installing a fileJack Nagel
2015-03-23py3cairo 1.10.0Tim D. Smith
Restore py3cairo from homebrew/homebrew-x11 tap. Closes Homebrew/homebrew#37981. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-23bottle_version: support avce00 styleBaptiste Fontaine
Closes Homebrew/homebrew#37975. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23test-bot: uninstall build deps before bottle test.Mike McQuaid
This should hopefully more often catch the situation where things are marked as build dependencies incorrectly. Closes Homebrew/homebrew#37927. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23test-bot: allow skipping homebrew step.Mike McQuaid
2015-03-23test-bot: tweak documentation indentation.Mike McQuaid
2015-03-23deps: allow skipping build, optional deps.Mike McQuaid
2015-03-23install_plist: create var/log pathXu Cheng
Let homebrew create var/log path to avoid permission problem. Closes Homebrew/homebrew#37966 Closes Homebrew/homebrew#37967. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-23bottle_version: support psutils styleBaptiste Fontaine
Closes Homebrew/homebrew#37959. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>