81 Commits

Author SHA1 Message Date
Xu Cheng
c7d07bcabd JavaDependency: add inspect
Closes Homebrew/homebrew#37106.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-24 02:36:27 +08:00
Xu Cheng
bec41feb7e JavaDependency: stop ignoring trailing +
This is a follow up of Homebrew/homebrew#36376
2015-02-24 02:36:27 +08:00
Xu Cheng
f7670c9106 JavaDependency: set JAVA_HOME and CFLAGS in superenv 2015-02-24 02:36:27 +08:00
Xu Cheng
cf3ee4546f add inspect to Requirement subclass
Closes Homebrew/homebrew#37116.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-24 01:39:53 +08:00
Baptiste Fontaine
40447c239d JavaDependency: ignore trailing + in the version 2015-02-01 09:31:01 +01:00
Xu Cheng
011b47aeff Add depends_on :gpg 2015-01-22 17:15:28 +01:00
Jack Nagel
2ad9cd20e6 Allow java dependency to accept normal dependency tags 2015-01-08 14:39:48 -05:00
Dominyk Tiller
aaca6edfaa requirements: externalise apr requirement
Removes the apr requirement from this internal document in favour
of making it an external requirement, which allows us to use an
apr formula to provide apr instead of asking people to install the
whole CLT package.
2015-01-06 17:08:32 +00:00
Viktor Szakats
fc2818b7a5 Use more https in urls and updated some lost links
Closes Homebrew/homebrew#35531.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04 02:13:16 -05:00
Mike McQuaid
515395171c Set cask and download DSL values on requirements.
Closes Homebrew/homebrew#35257.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-28 12:14:49 +00:00
Mike McQuaid
7afe1ed67a requirements: recommend casks where available.
Also, tweak the XQuartz requirement to not show 0.0.0 versions being required.

Closes Homebrew/homebrew#35254.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-25 20:45:57 +00:00
Jack Nagel
585ddb5428 Remove type checks 2014-12-09 11:48:00 -05:00
Mike McQuaid
775cfd9117 requirements: check Xcode version is a string.
Fixes Homebrew/homebrew#34822.
2014-12-09 11:14:23 +00:00
Mike McQuaid
a92362348d XcodeDependency: allow specifying a version. 2014-12-09 09:26:38 +00:00
Dominyk Tiller
97eac8853e tuntap: recommend upstream signed binary.
We have an upstream signed binary available! Big big love to Mattias
for this.

This PR converts all the existing tuntap dependencies into
binary-friendly tuntap dependencies, and adds a tuntap dependency to
requirements to look for the kexts.

Closes Homebrew/homebrew#33894.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-07 09:12:29 +00:00
Jack Nagel
6eabbed464 Add depend_on :apr 2014-11-05 20:34:02 -06:00
Dominyk Tiller
d8c34e83b7 Add unsigned kext requirement.
Creates a new requirement that dictates packages are unable to install due to requiring a signed kext to function.

Closes Homebrew/homebrew#33404.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-23 08:57:12 +01:00
Dominyk Tiller
029a604fb5 phantomjs: Yosemite fixes.
Closes Homebrew/homebrew#32953.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-06 20:09:26 +01:00
Jack Nagel
7b396a5e99 Note that the JDK is required for java dependencies
Closes Homebrew/homebrew#32224.
2014-09-23 20:06:09 -05:00
Jack Nagel
1e537b5797 Use multiple-argument form of quiet_system 2014-09-11 23:25:18 -05:00
Johnathan Conley
0d154a991d Add :osxfuse dependency to support binary install.
add :osxfuse symbolic dependency
add ConflictsWithFuseForOsx requirement for osxfuse/fuse4x/fuse4x-kext

Closes Homebrew/homebrew#31975.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-09-09 10:17:03 +01:00
Mike McQuaid
8abc12296b requirements: don't print out java_home. 2014-08-25 09:24:08 +01:00
Mike McQuaid
7e7b721797 requirements: add JavaDependency.
Requested in Homebrew/homebrew-science#1039.
Closes Homebrew/homebrew#30852.
2014-07-21 19:14:15 +01:00
dgwakeman
68f27922bc add homebrew to Tex requirement
Closes Homebrew/homebrew#29834.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-06-03 20:01:35 -07:00
Jack Nagel
4c6defbcf6 Remove build attribute from Xcode dep 2014-05-30 17:23:15 -05:00
Jack Nagel
10bd849bd3 Remove CLTDependency
Closes Homebrew/homebrew#29379.
2014-05-19 10:37:45 -05:00
Mario Mueller
be66d746ad rewrite TeX requirement message
Closes Homebrew/homebrew#28588.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-21 19:39:37 -07:00
Jack Nagel
f0bb1a936d Stop letting GitDependency inject HOMEBREW_PREFIX/bin into the environment 2014-03-13 18:07:11 -05:00
Mike McQuaid
0fd32118c7 requirements: remove unneeded Python27Dependency.
PythonDependency now implies this.
2014-03-12 13:57:10 +00:00
Misty De Meo
31ed0d6505 Add python27 dependency
Fixes Homebrew/homebrew#25561.
Fixes Homebrew/homebrew#25410.
2013-12-30 13:20:58 -08:00
Mike McQuaid
9ebc527e49 Improve Xcode and CLT installation instructions. 2013-10-23 17:44:43 +01:00
Jack Nagel
c5289f2503 Infer dependencies from download strategies and URLs
Closes Homebrew/homebrew#20849.
Closes Homebrew/homebrew#22871.
2013-09-28 16:37:05 -05:00
Mike McQuaid
a16394fde8 MinimumMacOSRequirement: rename file.
Should be using minimum_mac_os_requirement.rb
2013-09-14 12:21:49 +01:00
Misty De Meo
49cd13406b Update URL for CLT download
http://connect.apple.com is still down, but
https://developer.apple.com/downloads has all of the Apple developer
downloads available.

Fixes Homebrew/homebrew#21812.
2013-08-10 22:05:18 -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
Mike McQuaid
e3f26a9ced Remove message from default_formula'd requirements 2013-07-01 23:16:38 +01:00
Mike McQuaid
621c44dbd2 CLT is just CLT now; not "for Xcode".
References Homebrew/homebrew#17383.
2013-07-01 19:02:32 +01:00
Adam Vandenberg
0f1d491d81 Add :fortran requirement 2013-06-24 07:35:42 -07:00
Adam Vandenberg
32f637d590 Add minimum OS X version requirement
Closes Homebrew/homebrew#19998.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-16 20:36:50 -07:00
Jack Nagel
8b9a3a560f Separate formula conflicts from requirements
Closes Homebrew/homebrew#20357.
2013-06-09 13:45:25 -05:00
Samuel John
c524895666 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Jack Nagel
2f02942a84 PostgresqlDependency: use canonical name for default formula 2013-06-02 17:14:42 -05:00
Mike McQuaid
92ccfc548e Allow requirements to specify a default formula.
This allows default resolution of requirements without user intervention.

Closes Homebrew/homebrew#19627.
2013-05-10 13:37:41 +01:00
Misty De Meo
57534cf7b2 ArchRequirement: takes a single arch
Fixes Homebrew/homebrew#19646.
2013-05-06 22:50:01 -05:00
Adam Vandenberg
a7714a804b Add :hg build requirement.
Closes Homebrew/homebrew#19074.
2013-04-17 10:01:38 -07:00
Jack Nagel
b82ae7067d Shrink requirements.rb 2013-04-02 15:33:35 -05:00
Jack Nagel
34f3f76932 Simplify setting this ivar 2013-04-02 15:33:34 -05:00
Jack Nagel
e4c43b4f8c Fix chicken scheme imports 2013-04-02 15:33:34 -05:00
Jack Nagel
ee7178562f Move x86_64 Requirement into core
Closes Homebrew/homebrew#18886.
2013-04-02 13:17:24 -05:00