Commit graph

17 commits

Author SHA1 Message Date
Jack Nagel
cc75e44a6f Use opt helpers instead of hardcoded paths 2014-10-26 22:30:28 -05:00
BrewTestBot
d4e746e7eb gnome-doc-utils: add 0.20.10 bottle. 2014-10-23 12:11:39 +01:00
Jack Nagel
1577af0372 Revert "Use download.gnome.org instead of ftp.gnome.org"
This reverts commit 90575346225fd0c16475ad74ee53b37b62715f0c.

Closes Homebrew/homebrew#28026.
2014-04-03 09:29:23 -05:00
Jack Nagel
91f6bc81c2 Use download.gnome.org instead of ftp.gnome.org 2014-03-30 18:00:01 -05:00
Jack Nagel
d87063d32f Remove remaining explicit xz build-time deps
These dependencies are automatically detected from the URL, so declaring
them is redundant. If these formulae ever get a head or devel spec, then
explicit xz deps would need to be re-scoped appropriately. Thus we
should remove them.
2014-03-14 23:40:32 -05:00
Mike McQuaid
49402ea4c5 gnome-doc-utils: cleanup python usage. 2014-01-04 13:19:22 +00: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
Jack Nagel
d7d38f1b71 gnome-doc-utils: intltool is a build-time dep 2013-02-03 14:47:57 -06:00
Jack Nagel
e6cbf0293f gnome-doc-utils: depend on libxml2 'with-python'
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-26 12:28:48 -06:00
Adam Vandenberg
2a1c4e34a2 caveat and other cleanups 2012-11-25 11:42:57 -08:00
Jack Nagel
c8591739cb Use HTTP for gnome URLs
c.f. Homebrew/homebrew#10377.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05 15:57:45 -05:00
Jack Nagel
866fc6d928 gnome-doc-utils 0.20.10
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-11 21:25:18 -05:00
Jack Nagel
5b593d1296 gnome-doc-utils: set XML_CATALOG_FILES
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-06 23:13:42 -05:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel
8c94be125f gnome-doc-utils: set PYTHONPATH for libxml2 module
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-29 17:36:23 -05:00
Adam Vandenberg
d435fe6560 gnome-doc-utils: clarify libxml2 dependency 2012-03-21 21:13:24 -07:00
Justin Clift
29e08fc819 New formula: gnome-doc-utils
Closes Homebrew/homebrew#9066.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-10 14:22:53 -06:00