gsettings-desktop-schemas: use our Python on <10.10

```
Making install in headers
CPPFLAGS="" CFLAGS="-g -O2" LDFLAGS="" CC="clang" PKG_CONFIG="/usr/local/opt/pkg-config/bin/pkg-config" DLLTOOL="" CC="clang" /usr/local/Cellar/gobject-introspection/1.48.0/bin/g-ir-scanner  --add-include-path=. --namespace=GDesktopEnums --nsversion=3.0       --header-only --identifier-prefix=GDesktop --cflags-begin -I. --cflags-end  gdesktop-enums.h --output GDesktopEnums-3.0.gir
Traceback (most recent call last):
  File "/usr/local/Cellar/gobject-introspection/1.48.0/bin/g-ir-scanner", line 66, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/scannermain.py", line 535, in scanner_main
    ss = create_source_scanner(options, args)
  File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/scannermain.py", line 443, in create_source_scanner
    ss.parse_files(filenames)
  File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/sourcescanner.py", line 262, in parse_files
    self._parse(headers)
  File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/sourcescanner.py", line 291, in _parse
    cc = CCompiler()
  File "/usr/local/Cellar/gobject-introspection/1.48.0/lib/gobject-introspection/giscanner/ccompiler.py", line 75, in __init__
    customize_compiler(self.compiler)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 171, in customize_compiler
    if not _config_vars.get('CUSTOMIZED_OSX_COMPILER', ''):
AttributeError: 'NoneType' object has no attribute 'get'
make[1]: *** [GDesktopEnums-3.0.gir] Error 1
make: *** [install-recursive] Error 1
```
This commit is contained in:
Dominyk Tiller 2016-06-22 23:07:19 +01:00
parent 12cf9422ab
commit d768c47134

View file

@ -17,6 +17,7 @@ class GsettingsDesktopSchemas < Formula
depends_on "glib"
depends_on "gettext"
depends_on "libffi"
depends_on "python" if MacOS.version <= :mavericks
def install
system "./configure", "--disable-dependency-tracking",