aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/asymptote.rb
AgeCommit message (Collapse)Author
2013-06-03Python 2.x and 3.x supportSamuel John
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-05-25asymptote 2.23Adam Vandenberg
2013-03-26asymptote: fix testJack Nagel
2013-02-11asymptote: reformat caveatsAdam Vandenberg
2013-02-01asymptote: use test DSLJack Nagel
2013-01-13Make asymptote use TeX requirement.Xiyue Deng
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-10Revert "Rename readline to gnu-readline"Jack Nagel
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94. Turns out one of the "other things" is a dealbreaker. We only create kegs using a formula's canonical name. However, we do not check that this is the case when mapping existing kegs back to formula objects, and thus a keg with a name that happens to be an alias can fool Homebrew into thinking the canonically-named keg exists. So anything that enumerates kegs and then tries to do stuff with the resulting formula objects will just break. This is obviously worse than the debugger being broken, so reverting this for the time being.
2012-11-10Rename readline to gnu-readlineJack Nagel
The Readline class clashes with the Readline module from the Ruby stdlib. This has mostly worked, but with the recent debugging support's integration of IRB, it is no longer possible for them to coexist. So we need to rename it. The implications of this are: - Anything that depends on readline will reinstall it as "gnu-readline". Anything already installed will continue to function. - "brew upgrade readline" will say "gnu-readline not installed", as "readline" is now an alias. - Probably other things. So there are some downsides, but we will just have to deal with them. Fixes #15776.
2012-10-07asymptote: use userpathsAdam Vandenberg
Fixes #15310.
2012-09-03Batch convert MD5 formula to SHA1.Mike McQuaid
Closes #14653.
2012-03-10Use new Requirements in formulaeAdam Vandenberg
2012-03-06use which methodAdam Vandenberg
2012-02-24Use "cd" instead of "Dir.chdir"Adam Vandenberg
* And "mkdir" isntead of "Dir.mkdir" * And "Dir[]" instead of "Dir.glob" * Also style fixes and nitpicks
2012-02-11asymptote: fix build with clangJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-11asymptote 2.15François-Xavier Thomas
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-27Asymptote: Add a testCharlie Sharpsteen
The test creates a temporary directory, writes out a simple LaTeX file containing an Asymptote figure, then tries to compile it.
2011-08-27Asymptote: Fix installationCharlie Sharpsteen
Asymptote needs a serialized `make install` or else things fail due to race conditions. Also, altered installation so that TeX packages are no long installed to texmf trees outside of the Asymptote keg---notably: /usr/local/texlive/<dist_year>/texmf-local ~/Library/texmf All packages are now installed to HOMEBREW_PREFIX/share/texmf and instructions for adding this directory to the TeX search path are given in the caveats.
2011-08-17asymptote 2.13Will Robertson
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2010-11-13asymptote: v2.08 updateWill Robertson
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-24Asymptote update to 2.06Will Robertson
An uncharacteristically short amount of time for a new release. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-18asymptote: update to latest version 2.05Will Robertson
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-27asymptote - formula style tweaksAdam Vandenberg
2010-08-30New formula: AsymptoteWill Robertson
Asymptote is a 3D programmatic drawing environment that integrates with TeX/LaTeX. It requires a MacTeX installation (or equivalent). Building asy from source is not exactly straightforward (although not toooo difficult) on Mac OS X due to some dependences; hopefully this formula helps some people out. Signed-off-by: David Höppner <0xffea@gmail.com> * white spaces