Commit graph

21 commits

Author SHA1 Message Date
Shayan Pooya
317e9482f7 disco 0.5.1
Closes Homebrew/homebrew#28458.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-08 23:26:43 -05:00
Mike McQuaid
4f8d87529d disco: add test. 2014-05-06 19:34:01 +01:00
Mike McQuaid
063976e73c disco: don't depend on :python.
Use the system Python instead.
2014-05-06 19:34:01 +01:00
Jack Nagel
ed7d6e0a5e disco: use patch DSL 2014-03-18 14:52:52 -05:00
Brett Koonce
03bde7a667 disco 0.5
Closes Homebrew/homebrew#26869.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-22 13:24:11 -08:00
Mike McQuaid
b22db93429 disco: cleanup python usage. 2014-01-04 13:19:21 +00:00
Misty De Meo
f7a044271e Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -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
Andrew Janke
5422b067d1 disco 0.4.5
Disco 0.3.2 was not building. This addresses it by jumping to a new version.
* Upgrades disco to version 0.4.5.
* Breaks the discodex project out to a separate formula, corresponding
to its reorganization opn GitHub.
* Fixes Python installation paths by passing PY_INSTALL_OPTS through the
Makefile.
* Switches from inreplace() to a patch.
* Uses the official discoproject download instead of the tuulos fork.

Closes Homebrew/homebrew#19202.
Fixes Homebrew/homebrew#18646.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-14 11:17:44 -07:00
Jack Nagel
96b67b771a Convert remaining github tarball URLs to archive URLs 2013-04-01 11:43:03 -05:00
Adam Vandenberg
2a1c4e34a2 caveat and other cleanups 2012-11-25 11:42:57 -08:00
Adam Vandenberg
a84e0077c0 Streamline metafile installs 2012-11-11 11:20:35 -08:00
Jack Nagel
53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Jack Nagel
c30f5a1947 Address fallout related to f6e3241aa02a9c9bacfc6ee
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-27 09:49:14 -05:00
Adam Vandenberg
bff82647cd disco: version is detected 2012-08-26 22:22:29 -07:00
Adam Vandenberg
243bc743ea Use https for github repos. 2011-05-26 22:02:55 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
f4e8f538be disco 0.3.2 2011-04-04 16:15:16 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Travis Cline
f5dd193855 New formula disco
An Erlang and Python MapReduce framework

Thanks to daniellindsley for the initial work on this formula.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-09 07:42:18 -08:00