Commit graph

10 commits

Author SHA1 Message Date
Mike McQuaid
ad326f71f4 bup: cleanup python usage. 2014-01-04 13:19:20 +00:00
Brett Koonce
3e25078267 bup 0.25
Closes Homebrew/homebrew#25387.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-21 21:07:56 +00:00
Qiu Yu
9a32531a24 bup: fix 0.25-rc4 sha1.
Closes Homebrew/homebrew#24757.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-29 08:25:58 +00:00
Adam Vandenberg
2804767442 bup 0.25-rc4
Closes Homebrew/homebrew#24166.
2013-11-17 12:40:41 -08:00
Mike McQuaid
4d34e25d04 bup: fix SHA-1. 2013-09-27 19:35:01 +01:00
Adam Vandenberg
6193b3fb98 bup: remove debug output 2013-06-24 10:56:11 -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
56ac65054c bup: fix audit warning 2013-03-28 21:03:08 -07:00
Andrew Janke
3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00
Alex Morega
af3dee7a1f bup 0.25-rc1
Closes Homebrew/homebrew#10208.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-25 15:28:07 -07:00