fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
project('install path',
|
||||
default_options: [
|
||||
'python.bytecompile=-1',
|
||||
'python.purelibdir=/pure',
|
||||
'python.platlibdir=/plat',
|
||||
]
|
||||
)
|
||||
|
||||
py = import('python').find_installation()
|
||||
py.install_sources('test.py')
|
||||
py.install_sources('test.py', pure: false)
|
||||
install_data('test.py', install_dir: py.get_install_dir() / 'data')
|
||||
install_data('test.py', install_dir: py.get_install_dir(pure: false) / 'data')
|
||||
|
||||
py_plat = import('python').find_installation(pure: false)
|
||||
py_plat.install_sources('test.py', subdir: 'kw')
|
||||
py_plat.install_sources('test.py', pure: true, subdir: 'kwrevert')
|
||||
install_data('test.py', install_dir: py_plat.get_install_dir() / 'kw/data')
|
||||
install_data('test.py', install_dir: py_plat.get_install_dir(pure: true) / 'kwrevert/data')
|
||||
|
||||
if get_option('backend') == 'none'
|
||||
subdir('target')
|
||||
endif
|
||||
|
||||
subdir('structured')
|
||||
@@ -0,0 +1,9 @@
|
||||
py.install_sources(
|
||||
'one.py',
|
||||
'two.py',
|
||||
'alpha/one.py',
|
||||
'alpha/two.py',
|
||||
'alpha/three.py',
|
||||
'beta/one.py',
|
||||
preserve_path: true,
|
||||
)
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"installed": [
|
||||
{"type": "file", "file": "pure/one.py"},
|
||||
{"type": "file", "file": "pure/two.py"},
|
||||
{"type": "file", "file": "pure/alpha/one.py"},
|
||||
{"type": "file", "file": "pure/alpha/two.py"},
|
||||
{"type": "file", "file": "pure/alpha/three.py"},
|
||||
{"type": "file", "file": "pure/beta/one.py"},
|
||||
{"type": "file", "file": "plat/kw/test.py"},
|
||||
{"type": "file", "file": "pure/kwrevert/test.py"},
|
||||
{"type": "file", "file": "plat/test.py"},
|
||||
{"type": "file", "file": "pure/test.py"},
|
||||
{"type": "file", "file": "plat/data/test.py"},
|
||||
{"type": "file", "file": "pure/data/test.py"},
|
||||
{"type": "file", "file": "plat/kw/data/test.py"},
|
||||
{"type": "file", "file": "pure/kwrevert/data/test.py"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user