Hello community,
here is the log from the commit of package python-pyenchant for
openSUSE:Factory checked in at 2019-07-30 13:03:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyenchant (Old)
and /work/SRC/openSUSE:Factory/.python-pyenchant.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyenchant"
Tue Jul 30 13:03:42 2019 rev:15 rq:717458 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyenchant/python-pyenchant.changes
2019-01-15 13:14:58.812423525 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyenchant.new.4126/python-pyenchant.changes
2019-07-30 13:03:44.418410258 +0200
@@ -1,0 +2,6 @@
+Fri Jul 19 10:11:23 UTC 2019 - Antonio Larrosa <[email protected]>
+
+- Modified enchant2.patch so the enchant-2 library is used when both
+ enchant 1 and enchant 2 are installed on the system (boo#1141993).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ enchant2.patch ++++++
--- /var/tmp/diff_new_pack.MlHhEC/_old 2019-07-30 13:03:45.394410062 +0200
+++ /var/tmp/diff_new_pack.MlHhEC/_new 2019-07-30 13:03:45.422410057 +0200
@@ -12,11 +12,11 @@
===================================================================
--- pyenchant-2.0.0.orig/enchant/_enchant.py
+++ pyenchant-2.0.0/enchant/_enchant.py
-@@ -71,6 +71,7 @@ def _e_path_possibilities():
- yield "libenchant.so.1"
- yield "libenchant.so"
- # See if ctypes can find the library for us, under various names.
+@@ -65,6 +65,7 @@ def _e_path_possibilities():
+ """Generator yielding possible locations of the enchant library."""
+ # Allow it to be overridden using an environment variable.
+ yield os.environ.get("PYENCHANT_LIBRARY_PATH")
+ yield find_library("enchant-2")
- yield find_library("enchant")
- yield find_library("libenchant")
- yield find_library("libenchant-1")
+ # For linuxish systems, allow default soname lookup a chance to succeed.
+ if sys.platform not in ("win32", "darwin"):
+ yield "libenchant.so.1.6.0"