Commit graph

15 commits

Author SHA1 Message Date
Brett Koonce
b6e6f14a51 git-cola v1.8.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-16 19:33:17 -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
David Aguilar
6db5311a3e git-cola 1.8.3
Closes Homebrew/homebrew#19647.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-07 07:46:27 -07:00
Jack Nagel
be2eaa3dea Update github URLs 2013-04-06 21:34:41 -05:00
Adam Vandenberg
4e233a0923 git-cola: use archive URL 2013-04-01 07:16:11 -07:00
Brett Koonce
1aebe442de git-cola 1.8.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-29 09:19:43 -07:00
Brett Koonce
7386ce65f4 git-cola v1.8.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-01 10:31:43 -08:00
Adam Vandenberg
7a4190909f git-cola: use new dsl 2012-08-27 21:14:08 -07:00
Jack Nagel
53bc9bb920 git-cola: prepend correct directory to PYTHONPATH
Fixes Homebrew/homebrew#13850.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-20 22:41:29 -05:00
David Aguilar
4a57cb4740 git-cola 1.8.0
Signed-off-by: David Aguilar <davvid@gmail.com>

Closes Homebrew/homebrew#14303.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-20 21:24:45 -05:00
David Aguilar
b13613b4e6 git-cola 1.7.7
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-05 09:21:13 -07:00
David Aguilar
52b92a08f4 git-cola 1.7.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-17 21:07:22 -07:00
Jack Nagel
bf25d065b2 git-cola: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-25 18:05:15 -06:00
David Aguilar
952abd3205 git-cola 1.7.4.1
Set PYTHONPATH so that brew's PyQt4 modules are found.
Update to v1.7.4.1 and change the URLs to use github.
Add a --build-docs option for building manpages.

Closes Homebrew/homebrew#7462.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-23 18:04:55 -08:00
ento
36ddd06bbc git-cola 1.4.3
git-cola is a Git GUI built on PyQt.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-13 14:38:14 -07:00