Hello community,

here is the log from the commit of package python-pyenchant for 
openSUSE:Factory checked in at 2020-04-19 21:46:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyenchant (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyenchant.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyenchant"

Sun Apr 19 21:46:12 2020 rev:16 rq:788926 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyenchant/python-pyenchant.changes        
2019-07-30 13:03:44.418410258 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyenchant.new.2738/python-pyenchant.changes  
    2020-04-19 21:46:25.311713850 +0200
@@ -1,0 +2,13 @@
+Fri Mar 20 08:06:02 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to version 3.0.1
+  * Uncouple PyEnchant version from the Enchant version. This release 
+    should be compatible with Enchant 1.6 to 2.2
+  * Fix using PyEnchant with Enchant >= 2.0
+  * Add support for pypy3, Python 3.7 and Python 3.8
+  * New website, hosted on https://pyenchant.github.io/pyenchant/
+  * Add enchant.set_prefix_dir()
+  * Drop support for Python2
+- Drop obsolete patch enchant2.patch
+
+-------------------------------------------------------------------

Old:
----
  enchant2.patch
  pyenchant-2.0.0.tar.gz

New:
----
  pyenchant-3.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyenchant.spec ++++++
--- /var/tmp/diff_new_pack.8zt5dh/_old  2020-04-19 21:46:28.055719355 +0200
+++ /var/tmp/diff_new_pack.8zt5dh/_new  2020-04-19 21:46:28.063719370 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyenchant
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,16 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
+%define skip_python2 1
 Name:           python-pyenchant
-Version:        2.0.0
+Version:        3.0.1
 Release:        0
 Summary:        Python bindings for the Enchant spellchecking system
 License:        LGPL-2.1-or-later
 Group:          Development/Languages/Python
-URL:            https://github.com/rfk/pyenchant/
-Source:         
https://files.pythonhosted.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz
-Patch0:         enchant2.patch
+URL:            https://pyenchant.github.io/pyenchant
+Source:         
https://github.com/pyenchant/pyenchant/archive/v%{version}.tar.gz#/pyenchant-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 %if 0%{?suse_version} > 1500
 BuildRequires:  enchant-2-backend-hunspell
@@ -38,7 +38,6 @@
 BuildRequires:  myspell-en_AU
 BuildRequires:  myspell-en_US
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-2to3
 %if 0%{?suse_version} > 1500
 Requires:       enchant-2-backend-hunspell
 %else
@@ -46,12 +45,6 @@
 %endif
 Provides:       python-enchant
 BuildArch:      noarch
-%ifpython2
-Provides:       PyEnchant = %{version}
-Obsoletes:      PyEnchant < %{version}
-Provides:       %{oldpython}-enchant = %{version}
-Obsoletes:      %{oldpython}-enchant < %{version}
-%endif
 %python_subpackages
 
 %description
@@ -59,9 +52,9 @@
 
 %prep
 %setup -q -n pyenchant-%{version}
-%patch0 -p1
 chmod a-x *.txt
-chmod a-x *egg-info/*
+# cleanup github tarball
+rm -rf website .github archive tools
 
 %build
 %python_build
@@ -72,11 +65,11 @@
 
 %check
 export LANG=en_US.UTF-8
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %license LICENSE.txt
-%doc README.txt TODO.txt
+%doc README.rst TODO.txt
 %{python_sitelib}/enchant
 %{python_sitelib}/pyenchant-%{version}-py*.egg-info
 

++++++ pyenchant-2.0.0.tar.gz -> pyenchant-3.0.1.tar.gz ++++++
++++ 9682 lines of diff (skipped)


Reply via email to