Skip to content

Implement python.extension_module() #232

@ahmadraniri

Description

@ahmadraniri

I'm trying to build pycairo using muon and I got this error :

$ mkdir b && cd b && muon build -Dprefix=/usr -Dlibdir=/usr/lib ../pycairo-1.29.0

....
/home/lfs/cmp/ports/pycairo/pycairo-1.29.0/cairo/meson.build:51:9: error unimplemented
 51 | / pyext = python.extension_module('_cairo', sources,
 52 | |   dependencies : [cairo_dep],
 53 | |   install: true,
 54 | |   subdir : 'cairo',
 55 | |   c_args: pyext_c_args + main_c_args,
 56 | | )
      |_^
/home/lfs/cmp/ports/pycairo/pycairo-1.29.0/cairo/meson.build:51:9: error in function 'extension_module'
 51 | / pyext = python.extension_module('_cairo', sources,
 52 | |   dependencies : [cairo_dep],
 53 | |   install: true,
 54 | |   subdir : 'cairo',
 55 | |   c_args: pyext_c_args + main_c_args,
 56 | | )
      |_^
/home/lfs/cmp/ports/pycairo/pycairo-1.29.0/meson.build:131:1: error in function 'subdir'
131 | subdir('cairo')
      ^______________

Perhaps, some meson.build format unsupported. Any clue to fix it ? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions