Commit graph

16 commits

Author SHA1 Message Date
Adam Vandenberg
e071aee479 cmu-sphixbase: libsndfile is linked if found
Closes Homebrew/homebrew#28139.
2014-06-15 15:21:58 -07:00
Jaime Marquínez Ferrándiz
74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00
Mike McQuaid
10c93c59ef cmu-sphinxbase: cleanup python usage. 2014-01-04 13:19:21 +00:00
Adam Vandenberg
0a9a254180 cmu-sphinxbase: fix audit 2013-08-02 10:37:26 -07:00
Adam Vandenberg
52ef2842c8 cmu-sphinxbase: superenv filters out unwanted flags
add standard python caveats
2013-08-01 09:32:06 -07:00
Adam Vandenberg
db5297e726 cmu-sphinxbase: only disallow system Pythons that have PPC 2013-07-31 08:45:20 -07:00
Adam Vandenberg
c2a6469397 cmu-sphinxbase: add optional dependencies 2013-07-31 08:40:23 -07:00
Victor Martinez
8dc451e3e2 Fixed several broken sourceforge.net download locations
Closes Homebrew/homebrew#20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00
Samuel John
f6e80bdea2 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
Adam Vandenberg
2760ef3749 cmu-sphinxbase: style nits 2013-01-27 14:54:49 -08:00
Jack Nagel
60003eecc3 Use new requirement syntax 2013-01-21 17:36:34 -06:00
Jack Nagel
041c9c193f Use fatal DSL method in requirements 2013-01-18 19:30:43 -06:00
Brett Koonce
fd8ecf6583 sphinxbase 0.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-14 09:26:16 -08:00
Adam Vandenberg
2bdc8bbd6a cmu-sphinxbase: require a Homebrewed Python
Compiling against system Python causes a compiler mis-match.
This can be worked around, but as a workaround suggest using
a Homebrewed version of Python instead.
2012-06-10 11:38:59 -07:00
Matt Dickoff
dfc28d4aa2 pocketsphinx, sphinxbase: update to 0.7
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-02 00:51:48 -06:00
Julian Eberius
47218cc85e cmu-pocketsphinx and dependency cmu-sphinxbase
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-15 09:35:41 -07:00