Commit Graph
15 Commits
Author SHA1 Message Date
ilovezfs 4fb7626ce5 python_requirement: prefer Homebrew's Python
This avoids linkage to both system Python and Homebrew's python.
2017-07-20 02:54:04 -07:00
Mike McQuaid f08b518481 python_requirement: add libexec/bin to PATH.
This avoids having to fix formulae that use `python` to make them use
`python2`.
2017-07-14 16:58:14 +01:00
Bob W. Hogg 57d66a797c Python requirements: Remove casks
Neither python nor python3 are available from Caskroom.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-03-10 18:08:49 -08:00
Markus Reiter e851c9bf6c Style/Alias: Prefer alias. 2016-09-23 18:19:53 +02:00
Mike McQuaid 3f9cce0a03 Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Mike McQuaid 3982950e61 rubocop --auto-correct all hash-rocket usage. 2016-09-17 16:14:13 +01:00
Vlad ShablinskyandXu Cheng 3fb5d70a72 Unify Version.create usage
Substitue each Version.new and HeadVersion.new with Version.create
to unify Version and HeadVersion instantiation among core code.

Note that this does not relate to Mac::OS::Version class.
2016-07-16 20:39:13 +08:00
Tim D. Smith c7d82a3881 env block is not inherited 2015-09-10 23:10:26 -07:00
Tim D. Smith 5997812ed2 Revert "python_requirement: fix ENV for python3"
This reverts commit 85271644b0083cbc0fd6fea71120d1ad859fbc2a.

Alex noticed that setting PYTHONPATH causes weirdness if we depend_on
something which may be optionally built --with-python3; PYTHONPATH
unexpectedly contains python3 modules in the depending formula if
the formula upon which it depends was built --with-python3 even
though the depending formula may only use python2.

Closes Homebrew/homebrew#43724. Closes Homebrew/homebrew#43744.
2015-09-10 23:10:26 -07:00
Alex Dunn 370df177c4 python_requirement: fix ENV for python3
Closes Homebrew/homebrew#43453.
2015-09-01 13:00:01 -07:00
Xu Cheng 01d7f4e766 remove Requirement#pour_bottle?
It's never used since a0a93f1b3b7b2be9b8a319be91086ffe220f8e32.

Closes Homebrew/homebrew#43462.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-01 19:19:13 +08:00
Misty De Meo 431f23db32 PythonRequirement: fix variable in PYTHONPATH 2015-08-10 07:32:02 -07:00
Misty De Meo 6b1ce9827e PythonRequirement: don't blindly use first Python in PATH
Fixes Homebrew/homebrew#42461.
2015-08-10 07:30:41 -07:00
BrewTestBotandMike McQuaid 13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Mike McQuaid 1e86730289 Rename requirements named *Dependency.
Dependency is another similar, related class and it's super confusing
to have some Requirements that are named *Dependency.

Closes Homebrew/homebrew#38891.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-16 08:12:01 +01:00