Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 416565 | Differences between
and this patch

Collapse All | Expand All

(-)py2cairo-1.10.0/wscript (-2 / +10 lines)
Lines 9-14 Link Here
9
APPNAME='py2cairo'
9
APPNAME='py2cairo'
10
VERSION='1.10.0'
10
VERSION='1.10.0'
11
cairo_version_required = '1.10.0'
11
cairo_version_required = '1.10.0'
12
xpyb_version_required  = '1.3'
12
13
13
14
14
def options(ctx):
15
def options(ctx):
Lines 27-34 Link Here
27
  ctx.check_tool('python')
28
  ctx.check_tool('python')
28
  ctx.check_python_version((2,6,0))
29
  ctx.check_python_version((2,6,0))
29
  ctx.check_python_headers()
30
  ctx.check_python_headers()
30
  ctx.check_cfg(package='cairo', atleast_version=cairo_version_required,
31
31
                 args='--cflags --libs')
32
  ctx.check_cfg(package='cairo',
33
                atleast_version=cairo_version_required,
34
                args='--cflags --libs')
35
36
  ctx.check_cfg(package='xpyb',
37
                atleast_version=xpyb_version_required,
38
                args='--cflags --libs',
39
                mandatory=False)
32
40
33
  # add gcc options
41
  # add gcc options
34
  if env['CC_NAME'] == 'gcc':
42
  if env['CC_NAME'] == 'gcc':

Return to bug 416565