Skip to content

Commit

Permalink
merge_driver_ekeyword: Add build system
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Jun 25, 2024
1 parent 59a4f91 commit b194cf3
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pym/gentoolkit/merge_driver_ekeyword/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

merge_driver_ekeyword_py = configure_file(
input : 'merge_driver_ekeyword.py',
output : 'merge_driver_ekeyword.py',
configuration : conf_data
)

py.install_sources(
[
'__init__.py',
merge_driver_ekeyword_py,
'test_merge_driver_ekeyword.py',
],
subdir : 'gentoolkit/merge_driver_ekeyword'
)

install_data(
[
'pytest.ini',
],
install_dir : py.get_install_dir() / 'gentoolkit' / 'merge_driver_ekeyword'
)

subdir('tests')
3 changes: 3 additions & 0 deletions pym/gentoolkit/merge_driver_ekeyword/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
addopts = --cov
python_files = test_*.py
21 changes: 21 additions & 0 deletions pym/gentoolkit/merge_driver_ekeyword/tests/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
install_data(
[
'conflict-near-KEYWORDS/A.ebuild',
'conflict-near-KEYWORDS/B.ebuild',
'conflict-near-KEYWORDS/common-ancestor.ebuild',
'conflict-near-KEYWORDS/expected.ebuild',
'multiple-KEYWORDS-conflict/A.ebuild',
'multiple-KEYWORDS-conflict/B.ebuild',
'multiple-KEYWORDS-conflict/common-ancestor.ebuild',
'multiple-KEYWORDS-conflict/expected.ebuild',
'non-KEYWORDS-conflict/A.ebuild',
'non-KEYWORDS-conflict/B.ebuild',
'non-KEYWORDS-conflict/common-ancestor.ebuild',
'single-KEYWORDS-conflict/A.ebuild',
'single-KEYWORDS-conflict/B.ebuild',
'single-KEYWORDS-conflict/common-ancestor.ebuild',
'single-KEYWORDS-conflict/expected.ebuild',
],
preserve_path: true,
install_dir : py.get_install_dir() / 'gentoolkit' / 'merge_driver_ekeyword' / 'tests'
)
1 change: 1 addition & 0 deletions pym/gentoolkit/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ subdir('enalyze')
subdir('equery')
subdir('eshowkw')
subdir('imlate')
subdir('merge_driver_ekeyword')
subdir('revdep_rebuild')
subdir('test')

0 comments on commit b194cf3

Please sign in to comment.