Showing the changes to python (2 of 5 files). Show all
Unified · Split
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | # vim:set syntax=python: |
| 2 | 2 | |
| 3 | −pyaubio = bld.new_task_gen(name = 'python-aubio', | |
| 3 | +pyaubio = ctx.new_task_gen(name = 'python-aubio', | |
| 4 | 4 | features = 'c cshlib pyext', |
| 5 | 5 | source = '../../swig/aubio.i', |
| 6 | 6 | add_objects = 'sndfileio', |
| @@ -12,6 +12,6 @@ pyaubio = bld.new_task_gen(name = 'python-aubio', · 5 unmodified lines | ||
| 12 | 12 | pyaubio.install_path = '${PYTHONDIR}/${PACKAGE}' |
| 13 | 13 | |
| 14 | 14 | # install python files |
| 15 | −bld.install_files('${PYTHONDIR}/${PACKAGE}/', bld.path.ant_glob('**/*.py')) | |
| 15 | +ctx.install_files('${PYTHONDIR}/${PACKAGE}/', ctx.path.ant_glob('**/*.py')) | |
| 16 | 16 | # install swig generated python file |
| 17 | −bld.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py') | |
| 17 | +ctx.install_files('${PYTHONDIR}/${PACKAGE}/', '../../swig/aubiowrapper.py') | |
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | # vim:set syntax=python: |
| 2 | 2 | |
| 3 | −bld.add_subdirs('aubio') | |
| 3 | +ctx.add_subdirs('aubio') | |
| 4 | 4 | # install headers |
| 5 | 5 | for file in ['aubiocut', 'aubiopitch']: |
| 6 | − bld.install_as('${PREFIX}/bin/' + file, file, chmod = 0755) | |
| 6 | + ctx.install_as('${PREFIX}/bin/' + file, file, chmod = 0755) | |