gplugin/gplugin

Update the plugin loader and it's test plugins to call out python3
feature/python3-naming
2020-02-22, Gary Kramlich
70cb1c992a08
Parents a6f4784afe0b
Children 0ccb96436622
Update the plugin loader and it's test plugins to call out python3
--- a/python/gplugin-python-core.c Fri Feb 21 00:11:31 2020 -0600
+++ b/python/gplugin-python-core.c Sat Feb 22 03:29:51 2020 -0600
@@ -31,7 +31,7 @@
};
return gplugin_plugin_info_new(
- "gplugin/python-loader",
+ "gplugin/python3-loader",
GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
"internal", TRUE,
"load-on-query", TRUE,
--- a/python/tests/plugins/basic.py Fri Feb 21 00:11:31 2020 -0600
+++ b/python/tests/plugins/basic.py Sat Feb 22 03:29:51 2020 -0600
@@ -19,7 +19,7 @@
def gplugin_query():
return GPlugin.PluginInfo(
- id='gplugin/python-basic-plugin',
+ id='gplugin/python3-basic-plugin',
abi_version=0x01020304,
name='basic plugin',
authors=['author1'],
--- a/python/tests/plugins/dependent.py Fri Feb 21 00:11:31 2020 -0600
+++ b/python/tests/plugins/dependent.py Sat Feb 22 03:29:51 2020 -0600
@@ -19,7 +19,7 @@
def gplugin_query():
return GPlugin.PluginInfo(
- id='gplugin/python-dependent-plugin',
+ id='gplugin/python3-dependent-plugin',
dependencies=['dependency1', 'dependency2'],
)
--- a/python/tests/plugins/load-exception.py Fri Feb 21 00:11:31 2020 -0600
+++ b/python/tests/plugins/load-exception.py Sat Feb 22 03:29:51 2020 -0600
@@ -19,7 +19,7 @@
def gplugin_query():
return GPlugin.PluginInfo(
- id="gplugin/python-load-exception",
+ id="gplugin/python3-load-exception",
)
--- a/python/tests/plugins/load-failed.py Fri Feb 21 00:11:31 2020 -0600
+++ b/python/tests/plugins/load-failed.py Sat Feb 22 03:29:51 2020 -0600
@@ -19,7 +19,7 @@
def gplugin_query():
return GPlugin.PluginInfo(
- id="gplugin/python-load-failed",
+ id="gplugin/python3-load-failed",
)
--- a/python/tests/plugins/unload-failed.py Fri Feb 21 00:11:31 2020 -0600
+++ b/python/tests/plugins/unload-failed.py Sat Feb 22 03:29:51 2020 -0600
@@ -19,7 +19,7 @@
def gplugin_query():
return GPlugin.PluginInfo(
- id="gplugin/python-unload-failed",
+ id="gplugin/python3-unload-failed",
)
--- a/python/tests/test-python-loader.c Fri Feb 21 00:11:31 2020 -0600
+++ b/python/tests/test-python-loader.c Sat Feb 22 03:29:51 2020 -0600
@@ -27,7 +27,7 @@
main(gint argc, gchar **argv) {
g_test_init(&argc, &argv, NULL);
- gplugin_loader_tests_main(PYTHON_LOADER_DIR, PYTHON_PLUGIN_DIR, "python");
+ gplugin_loader_tests_main(PYTHON_LOADER_DIR, PYTHON_PLUGIN_DIR, "python3");
return g_test_run();
}