Commit graph

31 commits

Author SHA1 Message Date
Daniel Lee Harple
3749ab9528 bazaar --devel 2.6b2
Closes Homebrew/homebrew#20453.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-12 20:04:22 -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
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Adam Vandenberg
3092bce992 Fix option usage 2012-08-09 08:51:54 -07:00
Adam Vandenberg
58cd1a13ad bazaar: use options dsl 2012-08-08 22:10:00 -07:00
Jack Nagel
84c64f7995 bzr 2.5.1
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-31 12:25:26 -05:00
Christian Hudon
d133785a38 bazaar 2.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-10 06:14:13 -07:00
Adam Vandenberg
2fd53c6433 bazaar: use install_symlink 2012-02-12 20:08:56 -08:00
Jack Nagel
cbf2b55d1c bazaar 2.4.2
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-28 16:25:40 -06:00
Trevor Wennblom
d18d46bbf2 bazaar: [bugfix] remove quotes around variable
Closes Homebrew/homebrew#7321.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-30 17:48:24 -07:00
Elliot Murphy
d210d0d322 Bazaar 2.4.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-15 20:29:49 -07:00
Ruben Fonseca
18f6001b6e bazaar 2.3.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-30 10:15:47 -07:00
Andrew Marshall
94f6a0d2a7 Update bazaar to v2.3.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-07 20:35:05 -07:00
Adam Vandenberg
7b63769f41 bazaar: use new arch methods and fix usage of system Python 2011-03-19 09:49:39 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Elliot Murphy
6da39153e2 Update to Bazaar 2.3 for Python 2.7 compatibility
Bazaar 2.2 had a bug when run under Python 2.7, and the new release
fixes the problem. https://bugs.launchpad.net/bzr/+bug/612096

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-08 14:11:33 -08:00
Adam Vandenberg
173a1f1db2 bzr - Fix building manpage 2011-01-20 20:43:41 -08:00
Ben Jansen
dd7b58277e bazaar 2.2.2
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-04 17:19:43 +00:00
Adam Vandenberg
72e19eb542 Don't need +x on these 2010-08-13 16:00:17 -07:00
Max Howell
1f7bc468bd Use new symlink aliases 2010-08-07 18:08:50 -07:00
Adam Vandenberg
ad78d02e83 Bazaar - add --system option to force use of /usr/bin/python
* brew install --system bzr to force use of system Python
* Warn if the Python being used to install is 2.7.x
2010-08-01 17:43:47 -07:00
Adam Vandenberg
f2c62d029f wip 2010-08-01 15:16:52 -07:00
Adam Vandenberg
803e9b9dc9 Bazaar - don't use Intel flags when building against system Python. 2010-04-16 17:57:38 -07:00
Adam Vandenberg
e3773bb1b3 bazaar - use a standalone build
Instead of installing to a "site-packages" folder, just do a standalone
build and link the "bzr" script into bin.

This avoids the problem of files getting slotted into the site-packages
folder of whatever happens to be the active Python when bzr is installed.
2010-04-14 11:35:10 -07:00
David Höppner
34a080192c bazaar: version update to 2.1.1 2010-04-01 13:06:57 +02:00
Erik Abele
6444d24786 Update bazaar to latest stable release: 2.1.0.
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-03-06 14:28:39 +01:00
Erik Abele
3498cdf5d4 Fix installation of man file by replacing the path hardcoded in setup.py.
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-02-02 10:54:55 +01:00
Max Howell
71b72731c7 Bazaar: aka bzr 2010-01-20 18:02:01 +00:00
Max Howell
d8eff22880 Warn user about PYTHON_PATH. Closes Homebrew/homebrew#316 2010-01-19 14:41:25 +00:00
Adam Vandenberg
0a3b8d35ac Update bazaar to 2.0.3 2009-12-21 18:41:14 +00:00
Jordan Bracco
3558cc3b95 Formula for Bazaar (bzr)
Fixes Homebrew/homebrew#152
2009-12-05 15:59:37 +00:00