6059 Commits

Author SHA1 Message Date
Shaun Jackman
6ca42964cb pathname: remove hyphen from BOTTLE_EXTNAME_RX
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-31 18:53:26 +01:00
Shaun Jackman
1ad0de8660 pathname: Add [-0-9] to BOTTLE_EXTNAME_RX
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-31 15:07:46 +01:00
Mike McQuaid
30de8f0f74 pull: make the bintray message stronger. 2015-03-31 13:11:21 +01:00
Viktor Szakáts
f6946cd9f6 audit: enforce https on *.bintray.com urls
Closes Homebrew/homebrew#38209.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31 12:55:24 +01:00
ojab
1db6a756c9 Fix test.pdf
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-31 19:04:58 +08:00
Dominique Orban
877eddb127 Move ticcutils, timbl, wopr to homebrew/science.
Closes Homebrew/homebrew#37450.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-30 13:30:35 +08:00
Ben Morgan
1795599d88 keg: explicitly create cmake dir under lib
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-29 22:01:21 +08:00
Xu Cheng
8f8061e5f8 bottle_version: support apparix-11-062 2015-03-29 13:12:20 +08:00
Shammel Lee
4836dda1d4 manpage: fix typo
Closes Homebrew/homebrew#38168.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-03-28 21:54:52 -07:00
Xu Cheng
1539fda3e8 Silently ignore FormulaUnavailableError in check_conflicts
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-28 13:08:08 +08:00
Xu Cheng
c46e2dc196 software_spec: ignore bottles compatibility if --force-bottle is passed
Closes Homebrew/homebrew#38123.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-28 13:06:15 +08:00
Jack Nagel
9b75afcf4a Make Version#<=> allocation-free 2015-03-27 20:07:50 -04:00
Xu Cheng
d632294f0f ensure metafiles being installed to prefix rather than libexec
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-27 16:00:37 +08:00
Jack Nagel
96f7a8015f Pass around only pathname objects 2015-03-26 22:22:45 -04:00
Jack Nagel
3721e0be6f Always yield a path from install_p extension 2015-03-26 22:22:45 -04:00
Jack Nagel
522f7ea8c7 Add tests for cp_path_sub 2015-03-26 22:02:15 -04:00
Jack Nagel
8a8de3a296 Add test for InstallRenamed on directories 2015-03-26 22:02:15 -04:00
Jack Nagel
4c21ad30d8 Adjust variable in InstallRenamed test 2015-03-26 22:02:14 -04:00
Jack Nagel
23d9173cb1 Don't run pathname tests twice 2015-03-26 22:02:14 -04:00
Jack Nagel
60fe954bfd unpack: expand destdir in case a relative path is given
Fixes Homebrew/homebrew#38067.
2015-03-25 22:22:51 -04:00
Jack Nagel
038332d8d7 Get rid of setup_install_test method 2015-03-25 21:37:26 -04:00
Jack Nagel
148ebcb72e Eliminate chdir from pathname tests 2015-03-25 21:37:26 -04:00
Jack Nagel
b49d3bd0a9 Pull install tests into a separate class 2015-03-25 21:37:26 -04:00
Jack Nagel
53b7d45de8 Do less work inside chdir blocks 2015-03-25 21:11:51 -04:00
Jack Nagel
617544694c Parallelize the language module dependency tests 2015-03-25 21:11:50 -04:00
Jack Nagel
380b8ce46d Combine assignments 2015-03-25 20:26:04 -04:00
Jack Nagel
1351f67e91 Make install_p and install_symlink_p private 2015-03-24 21:08:12 -04:00
Jack Nagel
ab3d622da2 Always pass basename to install_symlink_p 2015-03-24 21:06:19 -04:00
Jack Nagel
6f0efd6f3d Always pass basename to install_p
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-24 21:03:45 -04:00
Xu Cheng
453990f1aa add method to detect shell profile file based on users' preference shell
Closes Homebrew/homebrew#38017.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-24 21:18:32 +08:00
Mike McQuaid
28f26e0c9f reinstall, upgrade: tweak use of tab build_bottle.
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-24 12:11:40 +00:00
Mike McQuaid
959d92a84a test-bot: first git clean should not be a test.
We don't care if it fails as we'll immediately run a stronger version
afterwards (and we care if that fails).
2015-03-24 09:13:42 +00:00
Jack Nagel
86006ba36b Go through regular logic when installing a file 2015-03-23 21:01:50 -04:00
Tim D. Smith
3c212ebc3f py3cairo 1.10.0
Restore py3cairo from homebrew/homebrew-x11 tap.

Closes Homebrew/homebrew#37981.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-23 08:08:25 -07:00
Baptiste Fontaine
b097eae935 bottle_version: support avce00 style
Closes Homebrew/homebrew#37975.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23 14:16:03 +00:00
Mike McQuaid
a4f474ddb9 test-bot: uninstall build deps before bottle test.
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-23 13:30:55 +00:00
Mike McQuaid
e7053ac35a test-bot: allow skipping homebrew step. 2015-03-23 13:30:55 +00:00
Mike McQuaid
a46ab0d641 test-bot: tweak documentation indentation. 2015-03-23 13:30:55 +00:00
Mike McQuaid
a09641a581 deps: allow skipping build, optional deps. 2015-03-23 13:30:54 +00:00
Xu Cheng
4fccab615f install_plist: create var/log path
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-23 18:35:58 +08:00
Baptiste Fontaine
941842f0d6 bottle_version: support psutils style
Closes Homebrew/homebrew#37959.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23 08:37:48 +00:00
Baptiste Fontaine
edf205f5ca aspell-dictionaries: use sha256 for resources
Closes Homebrew/homebrew#37962.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-22 16:28:34 +00:00
Mike McQuaid
862c0ddf4a test-bot: remove --debug flag.
Too spammy in the output. May consider readding later to specific
commands.
2015-03-20 20:22:54 +00:00
Mike McQuaid
cf204b6234 pull: die on invalid parameters. 2015-03-20 17:46:19 +00:00
Mike McQuaid
3f9d5aad74 pull: allow pulling from API URLs.
Jenkins has started spitting these out; no idea why.
2015-03-20 17:46:18 +00:00
Mike McQuaid
2d1c8b4de4 test-bot: don't run readall on <=10.8.
The Ruby 1.8 implementation seems to be really flaky, unfortunately.
2015-03-20 16:59:21 +00:00
Baptiste Fontaine
dcf6be10f8 guilt moved to the boneyard
Closes Homebrew/homebrew#37847.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-20 09:11:53 +00:00
Tanachat Nilanon
e97fac1dd6 add :python3 to LANGUAGE_MODULES
Add special :python3 dependency tag to LANGUAGE_MODULES in
dependency_collector.

Closes Homebrew/homebrew#37898.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-19 23:04:35 -07:00
Mike McQuaid
3fd45673a5 pull: always publish bottles.
The previous logic was flawed as it wasn't publishing new versions of
bottles.
2015-03-18 18:15:40 +00:00
Viktor Szakáts
3d23580ff2 audit: fix to enforce https for apache homepage
It was failing to recognize the URL without an ending slash.

Closes Homebrew/homebrew#37808.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-18 12:29:00 +00:00