Commit graph

38 commits

Author SHA1 Message Date
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
Ian Lancaster
d6524ea82f google-app-engine: add _php_runtime.py binary
Closes Homebrew/homebrew#20040.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-23 20:14:46 -07:00
Ian Lancaster
cd155ebc2a google-app-engine 1.8.0
Closes Homebrew/homebrew#19838.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-15 08:49:30 -07:00
Vincent
d81de6245a Fix google-app-engine
Add "_python_runtime.py" to the file list.

If this file is omitted then google app engine can't run in development mode and raise the following error:
/usr/bin/python: can't open file '/usr/local/bin/_python_runtime.py': [Errno 2] No such file or directory

Closes Homebrew/homebrew#19139.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 23:26:35 -05:00
Brett Koonce
9279b9f6a9 google appengine 1.7.7
Closes Homebrew/homebrew#19094.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 02:23:25 -05:00
George Whewell
c9b9f87209 google appengine 1.7.6
Closes Homebrew/homebrew#18654.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-21 18:40:58 -07:00
Brett Koonce
ce9a02dc7f google appengine 1.7.5
Closes Homebrew/homebrew#17844.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-14 17:11:17 -06:00
Brett Koonce
586fddf8d9 google appengine 1.7.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-14 09:26:15 -08:00
Brett Koonce
222607fa36 google_appengine 1.7.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-17 21:48:30 -08:00
Kevin Moore
74f73bcf2c google-app-engine, app-engine-java-sdk: homepages moved
Updating homepage on each. Old values redirect to new values.

Closes Homebrew/homebrew#15468.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-15 09:04:03 -07:00
Alexey Palazhchenko
9d191a7878 Google App Engine 1.7.2 (Python, Java, Go).
Closes Homebrew/homebrew#15051.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-22 08:35:09 -07:00
Kyle Fuller
99981052a3 Google App Engine 1.7.1
Closes Homebrew/homebrew#14355.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-21 15:23:00 -07:00
Matt Davis
70a135dfe5 google-app-engine 1.7.0
Closes Homebrew/homebrew#13049.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-26 23:13:51 -05:00
Adam Vandenberg
a6e18fe9c5 Google App Engine 1.6.6 2012-05-22 19:55:29 -07:00
Matt Davis
4ef209796f Google App Engine 1.6.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-19 21:38:08 -07:00
Rich Healey
a18fd15472 Python Google App Engine SDK 1.6.4
Closes Homebrew/homebrew#11799.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-22 19:15:54 -05:00
Vincent
5ed7ccdc00 Google-app-engine 1.6.3
Closes Homebrew/homebrew#11185.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-24 12:33:18 -05:00
Berry Phillips
13095eaab1 Updated google-app-engine to 1.6.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-02 19:12:42 -08:00
Matthias Bauch
bab5bc50b4 google-app-engine 1.6.1
Closes Homebrew/homebrew#9127.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-15 14:22:38 -06:00
Lee Packham
4d45d401b5 Update Google App Engine SDKs to 1.6.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-10 08:47:31 -08:00
Laurent Raufaste
91df506088 Google App Engine 1.5.5
Closes Homebrew/homebrew#8079.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12 16:20:24 -05:00
Laurent Raufaste
c07a94496a Google App Engine 1.5.4
Signed-off-by: Laurent Raufaste <analogue@glop.org>
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 21:05:31 -05:00
Laurent Raufaste
4d6c4f0e3c Google App Engine 1.5.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-17 23:27:49 -07:00
maqr
1b97844fac google-app-engine 1.5.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-04 10:33:27 -07:00
Felix Schulze
fbe0e51e90 google-app-engine 1.5.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-23 16:19:09 -07:00
Gabe Berke-Williams
07149c75ec google-app-engine 1.5.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-10 20:23:59 -07:00
Adam Vandenberg
cec40d50d5 Google App Engine 1.4.3 2011-03-31 22:42:57 -07:00
Drew Hess
8c6bd2b52c google-app-engine: update to 1.4.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-26 19:19:11 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Drew Hess
fc4bde4cd1 google-app-engine 1.4.0.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-03 12:02:38 +00:00
Sheng Ning
fec0f28589 GAE 1.3.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-15 21:10:17 -07:00
William Roe
02fd56dd55 Updated the google-app-engine formula to 1.3.7
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-31 18:05:01 +02:00
Seh Hui "Felix" Leong
367de6f102 Update google-app-engine to 1.3.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-01 07:42:07 -07:00
Adam Vandenberg
2dc8424dce Update Google App Engine SDKs to 1.3.3.x
* Also update Java SDK to install to libexec
2010-05-05 11:48:56 -07:00
Lee Packham
25264f9728 Update Google App Engine to 1.3.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-14 07:41:55 -07:00
Adam Vandenberg
0b772e97f5 Google App Engine - use rename on install. 2010-03-07 15:23:37 -08:00
kret
eb06ad9dbd Updated google-app-engine to version 1.3.1.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-07 15:20:49 -08:00
Max Howell
60d6bf144d Google App Engine formula 2009-12-01 12:07:34 +00:00