Mike McQuaid
b507536f80
bottle_versions: add perforce bottle detection.
2013-08-03 22:27:42 -07:00
Mike McQuaid
cfdd23b3ef
bottles: use dedicated version class.
2013-08-03 22:27:42 -07:00
Mike McQuaid
705a248719
versions: remove perforce bottle detection.
2013-08-03 22:27:42 -07:00
Adam Vandenberg
73547fc750
Remove ARCHFLAGS fixme from Python dependency
...
This will be handled by env/superenv, not Python.
2013-08-03 10:28:57 -07:00
Adam Vandenberg
71a4b8c6b9
Add comment to superenv ENV to note trailing if
2013-08-03 10:27:52 -07:00
Adam Vandenberg
583dd38b08
Add homebrew-binary to search
2013-08-03 10:27:45 -07:00
Adam Vandenberg
ba0bebd343
regenerate man page
2013-08-03 10:11:52 -07:00
Ches Martin
6f908880d8
man page: fix argument order for brew create
...
The implementation requires that the URL is the first argument.
Closes Homebrew/homebrew#21597 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-03 10:11:12 -07:00
Ches Martin
7d30e4445e
brew-create: don't break when given --set-version
...
Since 9f2782812cbaf2, specifying a version breaks with:
Error: undefined method `detected_from_url?' for "1.2.2":String
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-03 10:11:11 -07:00
Jack Nagel
ba96851606
Always load net/https before referencing related constants
...
I put this require inside the method body, because eager-loading
net/https is slow compared to the rest of Homebrew, and utils.rb is
loaded for each `brew` invocation.
It's probably worth breaking up global.rb a bit, to reduce the amount of
code we are loading unnecessarily, but hopefully also to make inter-file
dependencies a bit more obvious.
Fixes Homebrew/homebrew#21617 .
2013-08-02 18:25:17 -05:00
Jack Nagel
faf0a7204a
Improve signal-to-noise ratio of brew list --unbrewed
...
Closes Homebrew/homebrew#21573 .
2013-08-01 22:13:46 -05:00
Adam Vandenberg
27c53e5ba8
Document superenv HOMEBREW_CCFG flags
2013-08-01 20:12:23 -07:00
Misty De Meo
ea3861d296
ArchRequirement: support :intel, :ppc
2013-08-01 19:57:05 -07:00
MerelyAPseudonym
1dc2e12f3a
fix typo
...
Closes Homebrew/homebrew#21601 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-01 17:22:51 -07:00
Jack Nagel
36f5452ae3
Handle mkpath of node_modules directory in keg
2013-07-31 13:51:05 -05:00
Samuel John
7aa86d3313
Increase copyright year in LICENSE to 2013
2013-07-31 09:49:03 +02:00
Misty De Meo
0845341de3
cc: delegate cpp to the real tool, not compiler
...
Fixes Homebrew/homebrew#21527 .
2013-07-30 18:41:27 -07:00
Misty De Meo
f274ad3250
superenv: fix locating non-Xcode gcc-4.2
2013-07-29 18:45:03 -07:00
Mike McQuaid
b072da141f
audit: don't complain about bottle versions.
...
`brew bottle` already complains and this is a niche case.
References Homebrew/homebrew#21374 .
2013-07-28 16:26:16 -07:00
Jack Nagel
325db99a3c
RbConfig::CONFIG['bindir'] is already a string
2013-07-28 16:43:22 -05:00
Jack Nagel
366cb87aec
search: silence JSON decode errors
...
Closes Homebrew/homebrew#21506 .
Closes Homebrew/homebrew#21508 .
2013-07-28 15:38:46 -05:00
Jack Nagel
bac6533d5c
Set close-on-exec on lock file descriptors
...
The formula locks used by the installer and commands like link and
unlink are backed by open files and flock(). The open file descriptors
are thus leaked to any subprocesses. This can result in weird behavior
in programs spawned from formula that do not expect to inherit these
descriptors.
Fix this by setting close-on-exec on the lock file descriptors.
Fixes Homebrew/homebrew#21486 .
2013-07-27 23:57:35 -05:00
Misty De Meo
6242a6d7fa
MacOS.locate: search HOMEBREW_PREFIX before xcrun
...
Since xcrun doesn't work on CLT-only systems. Querying HOMEBREW_PREFIX
first before xcrun is much faster for that case.
2013-07-26 23:22:22 -07:00
Jack Nagel
613546a994
Fix expansion of deps with --build-bottle
2013-07-26 15:05:42 -05:00
Jack Nagel
023aff10c7
Adjust logic to properly sort erlang versions
...
Fixes Homebrew/homebrew#21417 .
2013-07-24 19:48:21 -05:00
Mike McQuaid
4a2817d826
SUPPORTERS: Add £15, cleanup.
2013-07-23 18:41:00 -07:00
Adam Vandenberg
9608c2bfae
audit: add TODO
2013-07-23 10:51:07 -07:00
Jack Nagel
387200cea5
audit: use !~ instead of "not ... =~"
2013-07-23 11:22:16 -05:00
Jack Nagel
be984215c9
audit: fix dep name escaping
2013-07-23 11:22:15 -05:00
Jack Nagel
a3863394c0
audit: escape dep before regexp interpolation
2013-07-22 22:53:43 -05:00
Jack Nagel
3afa9c2ceb
audit: fix indentation
2013-07-22 22:53:22 -05:00
Jack Nagel
dd9b317e24
audit: fix broken condition
2013-07-22 22:53:11 -05:00
Jack Nagel
c05275e362
Update comment
2013-07-22 21:49:14 -05:00
Jack Nagel
93af660c7f
Handle optional build-time deps correctly
2013-07-22 21:36:11 -05:00
Jack Nagel
fcfc53df33
Check deps of satisfied deps
2013-07-22 21:36:11 -05:00
Jack Nagel
1fb4cd501b
Pathname#write: don't check ARGV.force?
...
Closes Homebrew/homebrew#21390 .
2013-07-22 21:26:42 -05:00
Phil Smith
9942bcc21e
typo
...
Closes Homebrew/homebrew#21385 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-22 11:24:40 -07:00
Jack Nagel
6090b9b2bf
Silence warnings
2013-07-22 11:41:47 -05:00
Jack Nagel
e33cdb2f8b
Fix python dependency hash equality
...
eql? should not depend on the hash value as hash values of uneql objects
can collide, but eql values may only collide for objects that are
actually eql.
Further, python dependencies are uniquely identified by the combination
of the name and imports attributes, so there is no reason to involved
the expensive binary computation for simple equality checks.
Fixes Homebrew/homebrew#20840 .
2013-07-22 11:41:46 -05:00
Jack Nagel
b0138b9c9b
Remove redundant reader method
2013-07-22 11:41:46 -05:00
Jack Nagel
9b30fc4afa
Map pkginfo versions to actual XQuartz versions
2013-07-22 11:25:12 -05:00
Jack Nagel
34623b4ef1
Fall back on pkgutil when mdls cannot determine XQuartz version
2013-07-22 11:25:11 -05:00
Jack Nagel
d355227036
Separate version detection from accessor
2013-07-22 11:25:11 -05:00
Jack Nagel
1a54e6a449
Extract version_from_pkgutil
2013-07-22 11:25:11 -05:00
Jack Nagel
c325520316
Extract version_from_mdls
2013-07-22 11:25:11 -05:00
Jack Nagel
0b5551ee5b
Extract guess_system_version
2013-07-22 11:25:10 -05:00
Jack Nagel
df0d4aa853
Extract bundle_path from XQuartz.version
2013-07-22 11:25:10 -05:00
Jack Nagel
d6ed7fea4a
Cache pkgutil results at the source
2013-07-21 20:09:55 -05:00
Jack Nagel
a1e7d7177f
Eliminate nested conditional
2013-07-21 16:41:51 -05:00
Jack Nagel
9f2f5c81e9
Extract bundle_path method from Xcode#prefix
2013-07-21 16:41:51 -05:00