Commit Graph
43 Commits
Author SHA1 Message Date
Misty De Meo 8b0f9cf4be uwsgi 1.9.14 2013-08-25 20:07:41 -07:00
Misty De Meo 7583729b20 Add MacOS.preferred_arch
Replaced the plethora of ternaries we've used all over the place to
determine whether x86_64 or i386 is called for.
2013-08-15 22:46:56 -07:00
Samuel John 0b50110107 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 76cb296338 uwsgi 1.9.11
Closes #20146.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-29 21:07:16 -07:00
Adam Vandenberg 3e3fd8088e uwsgi 1.9.8
Closes #19433.
2013-04-25 12:33:14 -07:00
Krzysztof Urbaniak a1a3b09b02 uwsgi 1.9.7
Closes #19398.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-24 10:20:57 -05:00
Krzysztof Urbaniak ed74140702 uwsgi 1.9.5
Closes #18978.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-04 21:43:08 -05:00
Krzysztof Urbaniak d9adf9a46d uwsgi 1.9.4
Closes #18848.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-30 16:24:37 -07:00
Krzysztof Urbaniak 69f7df2781 uwsgi 1.9.3
Closes #18804.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 14:05:21 -07:00
Krzysztof Urbaniak 7c772914ed uwsgi 1.9.1
Closes #18764.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-27 08:57:32 -07:00
Krzysztof Urbaniak a8316cce32 uwsgi 1.9
Closes #18623.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-20 18:25:03 -05:00
Jack Nagel 7ab1de367c uwsgi: only build for host architecture
superenv doesn't filter out the arch flags here because the build system
is invoked via python and not any build tool that we wrap. The result is
that uwsgi is always build universal, requiring that its deps are build
universal, which is really annoying.

Note that we may need to audit other things that use archs_for_command.
The solution here isn't perfect, but I don't know how to fix superenv to
handle this.

Fixes #18250.
Closes #18341.
2013-03-11 17:13:50 -05:00
Krzysztof Urbaniak 5c8fe4eb04 uwsgi 1.4.8
Closes #18193.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-02 22:48:26 -06:00
Krzysztof Urbaniak 571b0dae12 uwsgi 1.4.6
Closes #18093.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-26 07:48:58 -08:00
Krzysztof Urbaniak 4defbbe9cb uwsgi 1.4.5
Closes #17928.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-18 13:25:37 -06:00
Adam Vandenberg aeff64fd8a uwsgi: style nits 2013-01-27 14:54:50 -08:00
Krzysztof Urbaniak d8ce3f4fd0 uwsgi 1.4.4
Closes #17261.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-23 08:44:06 -08:00
Jack Nagel 3ad7174f7d Use new requirement syntax 2013-01-21 17:36:34 -06:00
Jack Nagel 43f2bfaafc Use fatal DSL method in requirements 2013-01-18 19:30:43 -06:00
Adam Vandenberg 052abb8cde uwsgi: add universal pcre requirement
Closes #15715.
2012-10-28 12:29:50 -07:00
Adam Vandenberg dc398537e5 uwsgi 1.2.6 2012-09-09 15:32:06 -07:00
Adam Vandenberg b906730b33 uwsgi 1.2.5 2012-09-02 11:04:23 -07:00
Rodrigo Chacon 2b9c39ef56 uWSGI 1.2.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-10 19:09:18 -07:00
Jack Nagel ed5402bb36 uwsgi: don't strip symbols
Fixes #11705.
Probably fixes #11674.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-17 18:25:30 -05:00
Adam Vandenberg a0e75ee85f uWSGI 1.1.2 2012-04-16 20:53:51 -07:00
Adam Vandenberg 545fc4094f uwsgi: remove now unused inreplace 2012-03-12 20:43:44 -07:00
Sigurd Høgsbro 842436162d uwsgi 1.0.4
Closes #10156.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-13 18:34:39 -06:00
Ali Asad Lotia d1a9b78f34 uwsgi 1.0.3
Closes #10111.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-11 11:37:35 -08:00
Adam Vandenberg b769471577 uwsgi: remove verbose warning
The thing that was causing this problem has been fixed in Homebrew.
2012-02-04 19:39:48 -08:00
Sigurd Høgsbro df71e4fc6e uwsgi 1.0.2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-12 20:29:49 -08:00
Sigurd Høgsbro 5d02aaa256 uwsgi 1.0.1
Closes #9465.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 23:15:51 -06:00
Krzysztof Urbaniak 29cbb4f6d4 uwsgi 0.9.9.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-10 13:43:31 -08:00
Krzysztof Urbaniak 2f71419a02 uwsgi 0.9.9.2
Closes #8676.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-19 14:37:20 -06:00
Adam Vandenberg 35334bfb43 uwsgi: use new arch methods 2011-03-19 09:50:37 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Ray Slakinski 9da38722ae Updated to latest uWSGI version
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-20 07:59:09 -07:00
Chris Hoffman 4d3098728d Update uwsgi formula with new version and proper linking to custom pythons on path
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-08 08:50:26 -07:00
Adam Vandenberg d298f29927 Add caveats to uwsgi about --verbose 2010-06-22 15:17:06 -07:00
Chris Hoffman 3040d75a12 Update uwsgi to 0.9.5.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-22 14:29:18 -07:00
Adam Vandenberg 352f9b080a uwsgi 0.9.4.3 2010-04-18 16:07:55 -07:00
Adam Vandenberg f1e3645e47 uwsgi 0.9.4 2010-02-01 12:18:30 -08:00
Max Howell 99acd7f4fb Use new inreplace syntax where useful 2010-01-13 11:23:11 +00:00
Jannis Leidel bd437843a2 Added uWSGI formula
"uWSGI is a fast (pure C), self-healing, developer-friendly
WSGI server, aimed for professional python webapps
deployment and development."
2009-12-02 12:53:00 +00:00