Skip to content

Commit 505c923

Browse files
committed
Reformat meson files
1 parent b1dc338 commit 505c923

File tree

3 files changed

+12
-16
lines changed

3 files changed

+12
-16
lines changed

meson.build

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# SPDX-License-Identifier: MPL-2.0
22
# SPDX-FileCopyrightText: 2023 igo95862
3-
project(
4-
'python-lxns',
5-
'c',
6-
version : '0.1.0',
7-
)
3+
project('python-lxns', 'c', version: '0.1.0')
84

95
python_mod = import('python')
106
python = python_mod.find_installation(pure: false)

meson.format

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# SPDX-FileCopyrightText: 2025 igo95862
3+
group_arg_value = true

src/lxns/meson.build

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mount_api_found_open_tree = false
1717
if get_option('mount_api_use_open_tree_function').auto()
1818
mount_api_found_open_tree = c_compiler.has_function(
1919
'open_tree',
20-
prefix : '#include <sys/mount.h>',
20+
prefix: '#include <sys/mount.h>',
2121
)
2222
elif get_option('mount_api_use_open_tree_function').enabled()
2323
mount_api_found_open_tree = true
@@ -27,7 +27,7 @@ mount_api_found_move_mount = false
2727
if get_option('mount_api_use_move_mount_function').auto()
2828
mount_api_found_move_mount = c_compiler.has_function(
2929
'move_mount',
30-
prefix : '#include <sys/mount.h>',
30+
prefix: '#include <sys/mount.h>',
3131
)
3232
elif get_option('mount_api_use_move_mount_function').enabled()
3333
mount_api_found_move_mount = true
@@ -44,11 +44,11 @@ endif
4444
python.extension_module(
4545
'os',
4646
'os.c',
47-
subdir : 'lxns',
48-
c_args : os_c_args,
49-
install : true,
50-
link_args : os_link_args,
51-
limited_api : limited_api,
47+
subdir: 'lxns',
48+
c_args: os_c_args,
49+
install: true,
50+
link_args: os_link_args,
51+
limited_api: limited_api,
5252
)
5353

5454
lxns_python_files = [
@@ -59,7 +59,4 @@ lxns_python_files = [
5959
'py.typed',
6060
]
6161

62-
python.install_sources(
63-
lxns_python_files,
64-
subdir : 'lxns',
65-
)
62+
python.install_sources(lxns_python_files, subdir: 'lxns')

0 commit comments

Comments
 (0)