diff options
author | 2024-06-25 13:02:49 -0400 | |
---|---|---|
committer | 2024-06-25 13:04:01 -0400 | |
commit | b194cf357d9cb2ee6a9f3587e2309f01edce9723 (patch) | |
tree | 482951c7eea8735b566521b3fc3cf6c8eb0c11c5 | |
parent | merge_driver_ekeyword: Run black (diff) | |
download | gentoolkit-b194cf357d9cb2ee6a9f3587e2309f01edce9723.tar.gz gentoolkit-b194cf357d9cb2ee6a9f3587e2309f01edce9723.tar.bz2 gentoolkit-b194cf357d9cb2ee6a9f3587e2309f01edce9723.zip |
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | pym/gentoolkit/merge_driver_ekeyword/meson.build | 24 | ||||
-rw-r--r-- | pym/gentoolkit/merge_driver_ekeyword/pytest.ini | 3 | ||||
-rw-r--r-- | pym/gentoolkit/merge_driver_ekeyword/tests/meson.build | 21 | ||||
-rw-r--r-- | pym/gentoolkit/meson.build | 1 |
4 files changed, 49 insertions, 0 deletions
diff --git a/pym/gentoolkit/merge_driver_ekeyword/meson.build b/pym/gentoolkit/merge_driver_ekeyword/meson.build new file mode 100644 index 0000000..9c157b9 --- /dev/null +++ b/pym/gentoolkit/merge_driver_ekeyword/meson.build @@ -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') diff --git a/pym/gentoolkit/merge_driver_ekeyword/pytest.ini b/pym/gentoolkit/merge_driver_ekeyword/pytest.ini new file mode 100644 index 0000000..7e21bec --- /dev/null +++ b/pym/gentoolkit/merge_driver_ekeyword/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +addopts = --cov +python_files = test_*.py diff --git a/pym/gentoolkit/merge_driver_ekeyword/tests/meson.build b/pym/gentoolkit/merge_driver_ekeyword/tests/meson.build new file mode 100644 index 0000000..cb7a9d5 --- /dev/null +++ b/pym/gentoolkit/merge_driver_ekeyword/tests/meson.build @@ -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' +) diff --git a/pym/gentoolkit/meson.build b/pym/gentoolkit/meson.build index 7908d94..7fd5f99 100644 --- a/pym/gentoolkit/meson.build +++ b/pym/gentoolkit/meson.build @@ -31,5 +31,6 @@ subdir('enalyze') subdir('equery') subdir('eshowkw') subdir('imlate') +subdir('merge_driver_ekeyword') subdir('revdep_rebuild') subdir('test') |