Get every last reference to python that does not have a version attached to it.
Testing Done:
ran `ninja test`, `ninja gplugin-pot`, and `ninja gplugin-doc`.
Reviewed at https://reviews.imfreedom.org/r/111/
--- a/HACKING.OSX Sun Sep 06 01:37:55 2020 -0500
+++ b/HACKING.OSX Tue Sep 08 04:50:20 2020 -0500
@@ -13,7 +13,7 @@
systemwide or to a virtual environment created by LuaDist, vert, or something
along those lines, then you just need to run `luarocks install lgi`.
If you're using homebrew, you need to install `pygobject3`.
--- a/README.md Sun Sep 06 01:37:55 2020 -0500
+++ b/README.md Tue Sep 08 04:50:20 2020 -0500
@@ -20,7 +20,8 @@
-GPlugin currently supports plugins written in C/C++, Lua, Python, and Vala.
+GPlugin currently supports plugins written in C/C++, Lua, Perl5, Python3, and --- a/gplugin/reference/gplugin-docs.xml Sun Sep 06 01:37:55 2020 -0500
+++ b/gplugin/reference/gplugin-docs.xml Tue Sep 08 04:50:20 2020 -0500
@@ -30,7 +30,7 @@
<xi:include href="lua.xml"/>
<xi:include href="native-plugins.xml"/>
<xi:include href="perl5.xml"/>
- <xi:include href="python.xml"/>
+ <xi:include href="python3.xml"/> <xi:include href="vala.xml"/>
--- a/gplugin/reference/meson.build Sun Sep 06 01:37:55 2020 -0500
+++ b/gplugin/reference/meson.build Tue Sep 08 04:50:20 2020 -0500
@@ -32,7 +32,7 @@
--- a/gplugin/reference/python.xml Sun Sep 06 01:37:55 2020 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-<?xml version='1.0' encoding="UTF-8"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
-<chapter id="chapter-python">
- <title>Python Plugins</title>
- You <emphasis role="strong">MUST</emphasis> have the Python loader
- plugin installed and working as well as the gobject-introspection
- package for GPlugin installed to use Python plugins.
- <title>Example Python Plugin</title>
- Like all plugins in GPlugin, Python plugins must also implement
- the <code>gplugin_query</code>, <code>gplugin_load</code>, and
- <code>gplugin_unload</code> functions.
- The following is a basic Python plugin.
- <informalexample><programlisting>
- gi.require_version("GPlugin", "0.0")
- from gi.repository import GPlugin
- def gplugin_plugin_query():
- return GPlugin.PluginInfo(
- id="gplugin-python/basic-plugin",
- abi_version=0x01020304,
- description="description",
- def gplugin_plugin_load(plugin):
- def gplugin_plugin_unload(plugin):
- </programlisting></informalexample>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/gplugin/reference/python3.xml Tue Sep 08 04:50:20 2020 -0500
@@ -0,0 +1,56 @@
+<?xml version='1.0' encoding="UTF-8"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ +<chapter id="chapter-python"> + <title>Python Plugins</title> + You <emphasis role="strong">MUST</emphasis> have the Python loader + plugin installed and working as well as the gobject-introspection + package for GPlugin installed to use Python plugins. + <title>Example Python Plugin</title> + Like all plugins in GPlugin, Python plugins must also implement + the <code>gplugin_query</code>, <code>gplugin_load</code>, and + <code>gplugin_unload</code> functions. + The following is a basic Python plugin. + <informalexample><programlisting> + gi.require_version("GPlugin", "0.0") + from gi.repository import GPlugin + def gplugin_plugin_query(): + return GPlugin.PluginInfo( + id="gplugin-python/basic-plugin", + abi_version=0x01020304, + description="description", + def gplugin_plugin_load(plugin): + def gplugin_plugin_unload(plugin): + </programlisting></informalexample> --- a/packaging/debian/control Sun Sep 06 01:37:55 2020 -0500
+++ b/packaging/debian/control Tue Sep 08 04:50:20 2020 -0500
@@ -52,7 +52,7 @@
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: metapackage for all gplugin loaders
GPlugin is a GObject based library that implements a reusable plugin system
which supports loading plugins in other languages via loaders. It relies
@@ -132,12 +132,12 @@
Depends: ${misc:Depends}, ${shlibs:Depends}, python3, python3-gi,
libgplugin0, gir1.2-gplugin-0.0
-Description: GPlugin Python Loader
+Description: GPlugin Python3 Loader GPlugin is a GObject based library that implements a reusable plugin system
which supports loading plugins in other languages via loaders. It relies
heavily on GObjectIntrospection to expose its API to the other languages.
- This package allows GPlugin to load plugins written in the Python programming
+ This package allows GPlugin to load plugins written in the Python3 programming Package: libgplugin-perl5
--- a/packaging/gplugin.spec.in Sun Sep 06 01:37:55 2020 -0500
+++ b/packaging/gplugin.spec.in Tue Sep 08 04:50:20 2020 -0500
@@ -134,7 +134,7 @@
that supports loading plugins in other languages via loaders. GPlugin also
implements dependencies among the plugins.
-This package contains Python 3 loader for %{name} library.
+This package contains Python3 loader for %{name} library. GPlugin is a GObject based library that implements a reusable plugin system
--- a/po/POTFILES Sun Sep 06 01:37:55 2020 -0500
+++ b/po/POTFILES Tue Sep 08 04:50:20 2020 -0500
@@ -24,11 +24,11 @@
perl5/gplugin-perl5-core.c
perl5/gplugin-perl5-loader.c
perl5/gplugin-perl5-plugin.c
-python/gplugin-python3-core.c
-python/gplugin-python3-loader.c
-python/gplugin-python3-plugin.c
-python/gplugin-python3-test-pygobject.c
-python/gplugin-python3-utils.c
+python3/gplugin-python3-core.c +python3/gplugin-python3-loader.c +python3/gplugin-python3-plugin.c +python3/gplugin-python3-test-pygobject.c +python3/gplugin-python3-utils.c --- a/python3/gplugin-python3-core.c Sun Sep 06 01:37:55 2020 -0500
+++ b/python3/gplugin-python3-core.c Tue Sep 08 04:50:20 2020 -0500
@@ -39,12 +39,12 @@
GPLUGIN_NATIVE_PLUGIN_ABI_VERSION,
- "name", "Python Plugin Loader",
+ "name", "Python3 Plugin Loader", "version", GPLUGIN_VERSION,
"license-id", "LGPL-2.0-or-later",
"summary", "A plugin that can load python plugins",
"description", "This plugin allows the loading of plugins written in "
- "the python programming language.",
+ "the Python3 programming language.", "website", GPLUGIN_WEBSITE,
@@ -69,7 +69,7 @@
- _("The Python loader can not be unloaded"));
+ _("The Python3 loader can not be unloaded")); --- a/python3/gplugin-python3-loader.c Sun Sep 06 01:37:55 2020 -0500
+++ b/python3/gplugin-python3-loader.c Tue Sep 08 04:50:20 2020 -0500
@@ -337,7 +337,7 @@
wchar_t *argv[] = {NULL, NULL};
- /* Initializes Python */
+ /* Initializes Python3 */ --- a/python3/meson.build Sun Sep 06 01:37:55 2020 -0500
+++ b/python3/meson.build Tue Sep 08 04:50:20 2020 -0500
@@ -1,6 +1,6 @@
if not get_option('introspection')
- error('Python plugin requires GObject Introspection.')
+ error('Python3 plugin requires GObject Introspection.') GPLUGIN_PYTHON3_SOURCES = [
--- a/python3/tests/meson.build Sun Sep 06 01:37:55 2020 -0500
+++ b/python3/tests/meson.build Tue Sep 08 04:50:20 2020 -0500
@@ -10,7 +10,7 @@
dependencies : [GLIB, GOBJECT, PYTHON3, PYGOBJECT, gplugin_dep])
test('Python3 loader', e)
-# we can't see the symbols in gplugin-python externally, so use the static
+# we can't see the symbols in gplugin-python3 externally, so use the static e = executable('test-python3-utils', 'test-python3-utils.c',
include_directories : include_directories('.'),
--- a/python3/tests/test-python3-utils.c Sun Sep 06 01:37:55 2020 -0500
+++ b/python3/tests/test-python3-utils.c Tue Sep 08 04:50:20 2020 -0500
@@ -34,7 +34,7 @@
test_filename_to_module_NULL(void)
- "/loaders/python/utils/filename_to_module/NULL/subprocess",
+ "/loaders/python3/utils/filename_to_module/NULL/subprocess", @@ -71,16 +71,16 @@
- "/loaders/python/utils/filename_to_module/NULL",
+ "/loaders/python3/utils/filename_to_module/NULL", test_filename_to_module_NULL);
- "/loaders/python/utils/filename_to_module/NULL/subprocess",
+ "/loaders/python3/utils/filename_to_module/NULL/subprocess", test_filename_to_module_NULL_subprocess);
- "/loaders/python/utils/filename_to_module/empty",
+ "/loaders/python3/utils/filename_to_module/empty", test_filename_to_module_empty);
- "/loaders/python/utils/filename_to_module/no-extension",
+ "/loaders/python3/utils/filename_to_module/no-extension", test_filename_to_module_no_extension);