From 0b9adda9967e2fa02a855b90a80b928be55939ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Ab=C3=ADlio=20Oliveira=20Matos?= Date: Tue, 7 Nov 2006 11:41:49 +0000 Subject: [PATCH 01/97] - New upstream release --- .cvsignore | 2 +- python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9ba1e33..2f81cd6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pyenchant-1.1.5.tar.gz +pyenchant-1.2.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 50b282b..be548d0 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,8 +1,8 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: python-enchant -Version: 1.1.5 -Release: 5%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 7 2006 José Matos - 1.2.0-1 +- New upstream release + * Thu Oct 05 2006 Christian Iseli 1.1.5-5 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 diff --git a/sources b/sources index d550718..7ef6f54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d9a07392f1f0910635a221273ac9654d pyenchant-1.1.5.tar.gz +2fefef0868b110b1da7de89c08344dd2 pyenchant-1.2.0.tar.gz From d24f6355c6fb3a90639951f1755a921f3703f9c6 Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Sat, 9 Dec 2006 15:58:33 +0000 Subject: [PATCH 02/97] - Rebuild for Python 2.5 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index be548d0..4c2f11e 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Dec 09 2006 Roozbeh Pournader - 1.2.0-2 +- Rebuild for Python 2.5 + * Tue Nov 7 2006 José Matos - 1.2.0-1 - New upstream release From 2205400ad0ac8153f816219c2e6f1c99847196a9 Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Sat, 13 Jan 2007 13:53:30 +0000 Subject: [PATCH 03/97] - Update to 1.3.0 - Add ChangeLog and TODO.txt as documentation --- .cvsignore | 2 +- python-enchant.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 2f81cd6..1b05f47 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pyenchant-1.2.0.tar.gz +pyenchant-1.3.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 4c2f11e..a28f817 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,8 +1,8 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: python-enchant -Version: 1.2.0 -Release: 2%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -41,7 +41,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc LICENSE.txt README.txt +%doc ChangeLog LICENSE.txt README.txt TODO.txt %dir %{python_sitearch}/enchant %dir %{python_sitearch}/enchant/checker %dir %{python_sitearch}/enchant/tokenize @@ -53,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jan 13 2007 Roozbeh Pournader - 1.3.0-1 +- Update to 1.3.0 +- Add ChangeLog and TODO.txt as documentation + * Sat Dec 09 2006 Roozbeh Pournader - 1.2.0-2 - Rebuild for Python 2.5 diff --git a/sources b/sources index 7ef6f54..85b5dd9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2fefef0868b110b1da7de89c08344dd2 pyenchant-1.2.0.tar.gz +3b069a14a985bd71759560a03bbb8bd3 pyenchant-1.3.0.tar.gz From 7fab314a3c5b3db02f7457027d15b8ab2abd18d7 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 10 Dec 2007 16:43:36 +0000 Subject: [PATCH 04/97] Initialize branch EL-5 for python-enchant --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 78885f28a06ab119081d95c5c47f5583190bb0db Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Tue, 11 Dec 2007 13:16:23 +0000 Subject: [PATCH 05/97] - Update to 1.3.1 - Change license tag to LGPLv2+ --- .cvsignore | 2 +- python-enchant.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 1b05f47..03901a9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pyenchant-1.3.0.tar.gz +pyenchant-1.3.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index a28f817..03d2bdf 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,12 +1,12 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: python-enchant -Version: 1.3.0 +Version: 1.3.1 Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages -License: LGPL +License: LGPLv2+ URL: http://pyenchant.sourceforge.net/ Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -53,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Dec 11 2007 Roozbeh Pournader - 1.3.1-1 +- Update to 1.3.1 +- Change license tag to LGPLv2+ + * Sat Jan 13 2007 Roozbeh Pournader - 1.3.0-1 - Update to 1.3.0 - Add ChangeLog and TODO.txt as documentation diff --git a/sources b/sources index 85b5dd9..5a9c262 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3b069a14a985bd71759560a03bbb8bd3 pyenchant-1.3.0.tar.gz +788302ccab3450097d5f466ff0a5b935 pyenchant-1.3.1.tar.gz From 535b51ec98e858ebed4e6b44603ec78b1bad7665 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 19 Feb 2008 22:29:26 +0000 Subject: [PATCH 06/97] - Autorebuild for GCC 4.3 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 03d2bdf..0b35442 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-2 +- Autorebuild for GCC 4.3 + * Tue Dec 11 2007 Roozbeh Pournader - 1.3.1-1 - Update to 1.3.1 - Change license tag to LGPLv2+ From 08f6f9a0e179bacbb5a9f8f995747bab3fe30ad9 Mon Sep 17 00:00:00 2001 From: Ignacio Vazquez-Abrams Date: Sat, 29 Nov 2008 15:27:25 +0000 Subject: [PATCH 07/97] Rebuild for Python 2.6 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0b35442..f84d5ea 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-3 +- Rebuild for Python 2.6 + * Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-2 - Autorebuild for GCC 4.3 From 447bd2b43b2cb6c39c9e395875668d7e9d5cc283 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Thu, 26 Feb 2009 21:21:07 +0000 Subject: [PATCH 08/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index f84d5ea..a402bd5 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Feb 26 2009 Fedora Release Engineering - 1.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-3 - Rebuild for Python 2.6 From f80553209adb1e79d7dccfe9a6b1dd3a6e473ae8 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sun, 26 Jul 2009 20:21:01 +0000 Subject: [PATCH 09/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index a402bd5..00e0f51 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -53,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Thu Feb 26 2009 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From e28dc5cbfdb6b6dda7a5a37016164c40391c863c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:31:54 +0000 Subject: [PATCH 10/97] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d7f0d83..d71608b 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: python-enchant -# $Id: Makefile,v 1.1 2006/02/01 14:48:41 roozbeh Exp $ +# $Id: Makefile,v 1.2 2009/11/25 23:31:54 notting Exp $ NAME := python-enchant SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From d68d806c2fba256bd1f435da365dc94c873ddedf Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:51:24 +0000 Subject: [PATCH 11/97] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d7f0d83..40ea851 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: python-enchant -# $Id: Makefile,v 1.1 2006/02/01 14:48:41 roozbeh Exp $ +# $Id: Makefile,v 1.2 2009/11/26 01:51:24 notting Exp $ NAME := python-enchant SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 909b78a47d4a85be1938b2edb8928baa9bff7056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Kasal?= Date: Mon, 1 Feb 2010 16:39:31 +0000 Subject: [PATCH 12/97] - add a require to work around a problem with libenchant versioning --- python-enchant.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 00e0f51..5e90a5d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -13,6 +13,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel enchant-devel BuildRequires: python-setuptools >= 0:0.6a9 +# Work around a problem with libenchant versioning +# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) +Requires: enchant >= 1.5.0 Provides: PyEnchant @@ -53,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Feb 1 2010 Stepan Kasal - 1.3.1-6 +- add a require to work around a problem with libenchant versioning + * Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From eeed01cbc2396098ba607bbe7eb16ee145c4a168 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Thu, 22 Jul 2010 04:12:11 +0000 Subject: [PATCH 13/97] - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 5e90a5d..bcec405 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jul 22 2010 David Malcolm - 1.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + * Mon Feb 1 2010 Stepan Kasal - 1.3.1-6 - add a require to work around a problem with libenchant versioning From 5e7675aed15bc19cc3de1aa4a0744b71479fa37b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:19:27 +0000 Subject: [PATCH 14/97] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 40ea851..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-enchant -# $Id: Makefile,v 1.2 2009/11/26 01:51:24 notting Exp $ -NAME := python-enchant -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 From 9041577276f2764734c70426b15417134db6c2c4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:19:28 +0000 Subject: [PATCH 15/97] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index d71608b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-enchant -# $Id: Makefile,v 1.2 2009/11/25 23:31:54 notting Exp $ -NAME := python-enchant -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From 1154c6f87725eff455acfdc187fd615cf4d87a69 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 21:45:59 -0600 Subject: [PATCH 16/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index bcec405..ca3bab5 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.3.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Thu Jul 22 2010 David Malcolm - 1.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild From 604f18821f68027f6eec5caa0ca92bf804f05b0d Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Fri, 23 Sep 2011 14:55:21 +0200 Subject: [PATCH 17/97] Update to 1.6.5 --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 03901a9..f561942 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ pyenchant-1.3.1.tar.gz +/pyenchant-1.6.5.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index ca3bab5..aea86bb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,8 +1,8 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: python-enchant -Version: 1.3.1 -Release: 8%{?dist} +Version: 1.6.5 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 23 2011 Radek Novacek 1.6.5-1 +- Update to version 1.6.5 + * Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 5a9c262..2d1fbf5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -788302ccab3450097d5f466ff0a5b935 pyenchant-1.3.1.tar.gz +565014a14a52fb0195d152dd492ea948 pyenchant-1.6.5.tar.gz From 7417da4606b0a337d21d221c0bda9c2284bc2952 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Fri, 23 Sep 2011 15:29:50 +0200 Subject: [PATCH 18/97] Change architecture to noarch Change python_sitearch to python_sitelib Changelog in no longer in source tarball --- python-enchant.spec | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index aea86bb..f2beb28 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,5 +1,3 @@ -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: python-enchant Version: 1.6.5 Release: 1%{?dist} @@ -11,11 +9,12 @@ URL: http://pyenchant.sourceforge.net/ Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: python-devel enchant-devel +BuildArch: noarch +BuildRequires: python2-devel enchant-devel BuildRequires: python-setuptools >= 0:0.6a9 # Work around a problem with libenchant versioning # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) -Requires: enchant >= 1.5.0 +Requires: enchant >= 1.5.0 Provides: PyEnchant @@ -35,29 +34,35 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed -rm -rf $RPM_BUILD_ROOT/%{python_sitearch}/*.egg-info +rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info +# Directories used in windows build +rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/lib +rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/share + - %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc ChangeLog LICENSE.txt README.txt TODO.txt -%dir %{python_sitearch}/enchant -%dir %{python_sitearch}/enchant/checker -%dir %{python_sitearch}/enchant/tokenize -%{python_sitearch}/enchant/*.py -%{python_sitearch}/enchant/*.py[co] -%{python_sitearch}/enchant/*/*.py -%{python_sitearch}/enchant/*/*.py[co] -%{python_sitearch}/enchant/_enchant.so +%doc LICENSE.txt README.txt TODO.txt +%dir %{python_sitelib}/enchant +%dir %{python_sitelib}/enchant/checker +%dir %{python_sitelib}/enchant/tokenize +%{python_sitelib}/enchant/*.py +%{python_sitelib}/enchant/*.py[co] +%{python_sitelib}/enchant/*/*.py +%{python_sitelib}/enchant/*/*.py[co] %changelog * Fri Sep 23 2011 Radek Novacek 1.6.5-1 - Update to version 1.6.5 +- Change architecture to noarch +- Change python_sitearch to python_sitelib +- Changelog in no longer in source tarball +- Remove nonpacked files * Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From b2d2c7a6956c9adeae94075b91db9b893d72a781 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Fri, 23 Sep 2011 16:01:38 +0200 Subject: [PATCH 19/97] Obsolete old arch-specific version --- python-enchant.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-enchant.spec b/python-enchant.spec index f2beb28..67157a4 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -16,6 +16,8 @@ BuildRequires: python-setuptools >= 0:0.6a9 # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) Requires: enchant >= 1.5.0 +Obsoletes: python-enchant < 1.6.5 + Provides: PyEnchant %description @@ -63,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT - Change python_sitearch to python_sitelib - Changelog in no longer in source tarball - Remove nonpacked files +- Obsolete old arch-specific verion * Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 87d2dc73dacecc7ba04b5f822ff1b3b7c1bd74bf Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Fri, 23 Sep 2011 16:07:00 +0200 Subject: [PATCH 20/97] Forgot to bump release --- python-enchant.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 67157a4..285447d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,6 +1,6 @@ Name: python-enchant Version: 1.6.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -16,6 +16,7 @@ BuildRequires: python-setuptools >= 0:0.6a9 # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) Requires: enchant >= 1.5.0 +# Package was arch specific before Obsoletes: python-enchant < 1.6.5 Provides: PyEnchant @@ -59,13 +60,15 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 23 2011 Radek Novacek 1.6.5-2 +- Obsolete old arch-specific version + * Fri Sep 23 2011 Radek Novacek 1.6.5-1 - Update to version 1.6.5 - Change architecture to noarch - Change python_sitearch to python_sitelib - Changelog in no longer in source tarball - Remove nonpacked files -- Obsolete old arch-specific verion * Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 3ed8f25d5ccb6a7a7edbe71d9d86cc5c3b92880e Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Wed, 12 Oct 2011 14:15:59 +0200 Subject: [PATCH 21/97] Add python3 subpackage (thanks to David Malcolm) --- python-enchant.spec | 67 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 285447d..5125746 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,6 +1,8 @@ +%global with_python3 1 + Name: python-enchant Version: 1.6.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -10,8 +12,18 @@ Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{vers BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python2-devel enchant-devel +BuildRequires: enchant-devel + +# Python 2 build requirements: +BuildRequires: python2-devel BuildRequires: python-setuptools >= 0:0.6a9 + +# Python 3 build requirements: +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-setuptools >= 0:0.6a9 +%endif # if with_python3 + # Work around a problem with libenchant versioning # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) Requires: enchant >= 1.5.0 @@ -25,17 +37,47 @@ Provides: PyEnchant PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. +%if 0%{?with_python3} +%package -n python3-enchant +Summary: Python 3 bindings for Enchant spellchecking library +Group: Development/Languages + +%description -n python3-enchant +PyEnchant is a spellchecking library for Python 3, based on the Enchant +library by Dom Lachowicz. +%endif # with_python3 %prep %setup -q -n pyenchant-%{version} +%if 0%{?with_python3} +rm -rf %{py3dir} +cp -a . %{py3dir} +find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +%endif # with_python3 + %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +%if 0%{?with_python3} +pushd %{py3dir} +CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +popd +%endif # with_python3 %install rm -rf $RPM_BUILD_ROOT + +%if 0%{?with_python3} +pushd %{py3dir} +%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/*.egg-info +# Directories used in windows build +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/enchant/lib +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/enchant/share +popd +%endif # with_python3 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info # Directories used in windows build @@ -58,8 +100,29 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/enchant/*/*.py %{python_sitelib}/enchant/*/*.py[co] +%if 0%{?with_python3} +%files -n python3-enchant +%defattr(-,root,root,-) +%doc LICENSE.txt README.txt TODO.txt +%dir %{python3_sitelib}/enchant +%dir %{python3_sitelib}/enchant/__pycache__ +%dir %{python3_sitelib}/enchant/checker +%dir %{python3_sitelib}/enchant/checker/__pycache__ +%dir %{python3_sitelib}/enchant/tokenize +%dir %{python3_sitelib}/enchant/tokenize/__pycache__ +%{python3_sitelib}/enchant/*.py +%{python3_sitelib}/enchant/__pycache__/*.py[co] +%{python3_sitelib}/enchant/checker/*.py +%{python3_sitelib}/enchant/checker/__pycache__/*.py[co] +%{python3_sitelib}/enchant/tokenize/*.py +%{python3_sitelib}/enchant/tokenize/__pycache__/*.py[co] +%endif # with_python3 + %changelog +* Mon Oct 10 2011 David Malcolm - 1.6.5-3 +- add python3 subpackage + * Fri Sep 23 2011 Radek Novacek 1.6.5-2 - Obsolete old arch-specific version From a94fe69af1148f6ead19829637e11d2424d0c70c Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Mon, 12 Dec 2011 11:25:21 +0100 Subject: [PATCH 22/97] Release bump to ensure upgrade path from F16 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 5125746..e8c8b79 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Dec 12 2011 Radek Novacek 1.6.5-4 +- Release bump to ensure upgrade path from F16 + * Mon Oct 10 2011 David Malcolm - 1.6.5-3 - add python3 subpackage From 771a07db1895f65f51d6ff4fbc23c2d424642234 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 19:42:17 -0600 Subject: [PATCH 23/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e8c8b79..d4d270a 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.6.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Dec 12 2011 Radek Novacek 1.6.5-4 - Release bump to ensure upgrade path from F16 From ec1203034700a3d578f6b553f608bbd2b468712d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 01:07:54 -0500 Subject: [PATCH 24/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d4d270a..d367cc0 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 1.6.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 1.6.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From cdc1c469747f3edb2885f2fd84939fad7144c6cb Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sat, 4 Aug 2012 04:36:30 -0400 Subject: [PATCH 25/97] rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d367cc0..e25fb50 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 04 2012 David Malcolm - 1.6.5-7 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + * Sat Jul 21 2012 Fedora Release Engineering - 1.6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 42f56e318c8693ee71278d76321c8edd148939e0 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Wed, 31 Oct 2012 14:16:02 +0100 Subject: [PATCH 26/97] Fix upstream url and source url --- python-enchant.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index e25fb50..b15803d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,13 +2,13 @@ Name: python-enchant Version: 1.6.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages License: LGPLv2+ -URL: http://pyenchant.sourceforge.net/ -Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz +URL: http://packages.python.org/pyenchant/ +Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Oct 31 2012 Radek Novacek 1.6.5-8 +- Fix upstream url and source url + * Sat Aug 04 2012 David Malcolm - 1.6.5-7 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 From 3527320b24e2fe01da9f5e5c1750bf8715578a95 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Thu, 1 Nov 2012 11:17:23 +0100 Subject: [PATCH 27/97] Enable tests in %check --- python-enchant-1.6.5-fix-docstring-test.patch | 13 ++++++++++ ...on-enchant-1.6.5-fix-tests-without-X.patch | 17 ++++++++++++ python-enchant.spec | 26 ++++++++++++++++++- 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 python-enchant-1.6.5-fix-docstring-test.patch create mode 100644 python-enchant-1.6.5-fix-tests-without-X.patch diff --git a/python-enchant-1.6.5-fix-docstring-test.patch b/python-enchant-1.6.5-fix-docstring-test.patch new file mode 100644 index 0000000..273acd5 --- /dev/null +++ b/python-enchant-1.6.5-fix-docstring-test.patch @@ -0,0 +1,13 @@ +diff -up pyenchant-1.6.5/enchant/tests.py.fix-docstring-test pyenchant-1.6.5/enchant/tests.py +--- pyenchant-1.6.5/enchant/tests.py.fix-docstring-test 2012-11-01 09:39:36.268616326 +0100 ++++ pyenchant-1.6.5/enchant/tests.py 2012-11-01 09:40:54.037488976 +0100 +@@ -414,7 +414,8 @@ class TestDocStrings(unittest.TestCase): + "dictwithpwl","skippable","dicts","dict's","filenames", + "trie","api","ctypes","wxspellcheckerdialog","stateful", + "cmdlinechecker","spellchecks","callback","clunkier","iterator", +- "ispell","cor","backends"] ++ "ispell","cor","backends", "incant", "runtime", "subclasses", ++ "initialise"] + + def test_docstrings(self): + """Test that all our docstrings are error-free.""" diff --git a/python-enchant-1.6.5-fix-tests-without-X.patch b/python-enchant-1.6.5-fix-tests-without-X.patch new file mode 100644 index 0000000..2f4cff7 --- /dev/null +++ b/python-enchant-1.6.5-fix-tests-without-X.patch @@ -0,0 +1,17 @@ +diff -up pyenchant-1.6.5/enchant/tests.py.fix-tests-without-X pyenchant-1.6.5/enchant/tests.py +--- pyenchant-1.6.5/enchant/tests.py.fix-tests-without-X 2012-11-01 08:54:43.261512454 +0100 ++++ pyenchant-1.6.5/enchant/tests.py 2012-11-01 09:01:12.184938020 +0100 +@@ -427,11 +427,11 @@ class TestDocStrings(unittest.TestCase): + import enchant.checker.CmdLineChecker + try: + import enchant.checker.GtkSpellCheckerDialog +- except ImportError: ++ except (ImportError, RuntimeError): + pass + try: + import enchant.checker.wxSpellCheckerDialog +- except ImportError: ++ except (ImportError, RuntimeError): + pass + errors = [] + # Naive recursion here would blow the stack, instead we diff --git a/python-enchant.spec b/python-enchant.spec index b15803d..63d15ca 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -11,17 +11,24 @@ URL: http://packages.python.org/pyenchant/ Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: python-enchant-1.6.5-fix-tests-without-X.patch +Patch1: python-enchant-1.6.5-fix-docstring-test.patch + BuildArch: noarch BuildRequires: enchant-devel # Python 2 build requirements: BuildRequires: python2-devel BuildRequires: python-setuptools >= 0:0.6a9 +# For running tests +BuildRequires: python-nose # Python 3 build requirements: %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools >= 0:0.6a9 +# For running tests +BuildRequires: python3-nose %endif # if with_python3 # Work around a problem with libenchant versioning @@ -49,6 +56,8 @@ library by Dom Lachowicz. %prep %setup -q -n pyenchant-%{version} +%patch0 -p1 -b .fix-tests-without-X +%patch1 -p1 -b .fix-docstring-test %if 0%{?with_python3} rm -rf %{py3dir} @@ -84,6 +93,18 @@ rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/lib rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/share +%check +pushd $RPM_BUILD_ROOT/%{python_sitelib} +# There is no dictionary for language C, need to use en_US +LANG=en_US.UTF-8 /usr/bin/nosetests +popd + +%if 0%{?with_python3} +pushd $RPM_BUILD_ROOT/%{python3_sitelib} +# There is no dictionary for language C, need to use en_US +LANG=en_US.UTF-8 /usr/bin/nosetests-3* +popd +%endif # with python3 %clean rm -rf $RPM_BUILD_ROOT @@ -120,6 +141,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Nov 01 2012 Radek Novacek 1.6.5-9 +- Enable tests in %check + * Wed Oct 31 2012 Radek Novacek 1.6.5-8 - Fix upstream url and source url From 98916dcfab12e79ce90a3019ca1dfdb29c8af737 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Thu, 1 Nov 2012 12:44:33 +0100 Subject: [PATCH 28/97] Disable python3 tests --- python-enchant.spec | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 63d15ca..dda7d71 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -27,8 +27,6 @@ BuildRequires: python-nose %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools >= 0:0.6a9 -# For running tests -BuildRequires: python3-nose %endif # if with_python3 # Work around a problem with libenchant versioning @@ -99,12 +97,8 @@ pushd $RPM_BUILD_ROOT/%{python_sitelib} LANG=en_US.UTF-8 /usr/bin/nosetests popd -%if 0%{?with_python3} -pushd $RPM_BUILD_ROOT/%{python3_sitelib} -# There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-3* -popd -%endif # with python3 +# Tests are failing in python3 because of collision between +# local and stdlib tokenize module %clean rm -rf $RPM_BUILD_ROOT From c7e7b21fe8472cac6c22f9a7f40af42a9409875e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 13:28:25 -0600 Subject: [PATCH 29/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index dda7d71..61d9498 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -135,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.6.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Thu Nov 01 2012 Radek Novacek 1.6.5-9 - Enable tests in %check From 62c942016cf0ba4982321a938a73533f820cb33d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 02:29:28 -0500 Subject: [PATCH 30/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 61d9498..294c0f4 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -135,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.6.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Feb 14 2013 Fedora Release Engineering - 1.6.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 1c72671f46bd326dda7ddc1bec188af153b362ce Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Tue, 6 Aug 2013 09:14:30 +0200 Subject: [PATCH 31/97] Disable distribute setup --- ...on-enchant-1.6.5-disable-distribute-setup.patch | 14 ++++++++++++++ python-enchant.spec | 8 +++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 python-enchant-1.6.5-disable-distribute-setup.patch diff --git a/python-enchant-1.6.5-disable-distribute-setup.patch b/python-enchant-1.6.5-disable-distribute-setup.patch new file mode 100644 index 0000000..9844584 --- /dev/null +++ b/python-enchant-1.6.5-disable-distribute-setup.patch @@ -0,0 +1,14 @@ +diff -up pyenchant-1.6.5/setup.py.disable-distribute-setup pyenchant-1.6.5/setup.py +--- pyenchant-1.6.5/setup.py.disable-distribute-setup 2013-08-06 09:08:02.620478114 +0200 ++++ pyenchant-1.6.5/setup.py 2013-08-06 09:08:13.130744158 +0200 +@@ -6,8 +6,8 @@ + # + + +-import distribute_setup +-distribute_setup.use_setuptools() ++#import distribute_setup ++#distribute_setup.use_setuptools() + from setuptools import setup, find_packages, Extension + from distutils.archive_util import make_archive + diff --git a/python-enchant.spec b/python-enchant.spec index 294c0f4..e4ac8c8 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -13,6 +13,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: python-enchant-1.6.5-fix-tests-without-X.patch Patch1: python-enchant-1.6.5-fix-docstring-test.patch +# python-distribute got merged into python-setuptools +Patch2: python-enchant-1.6.5-disable-distribute-setup.patch BuildArch: noarch BuildRequires: enchant-devel @@ -56,6 +58,7 @@ library by Dom Lachowicz. %setup -q -n pyenchant-%{version} %patch0 -p1 -b .fix-tests-without-X %patch1 -p1 -b .fix-docstring-test +%patch2 -p1 -b .disable-distribute-setup %if 0%{?with_python3} rm -rf %{py3dir} @@ -135,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 06 2013 Radek Novacek 1.6.5-12 +- Disable distribute setup + * Sun Aug 04 2013 Fedora Release Engineering - 1.6.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From f36870fa655bf2ef825d591550fe21824e75b6c7 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 28 May 2014 00:11:53 +0200 Subject: [PATCH 32/97] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e4ac8c8..ca44e24 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -138,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed May 28 2014 Kalev Lember - 1.6.5-13 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + * Tue Aug 06 2013 Radek Novacek 1.6.5-12 - Disable distribute setup From 79c89e3caf2b8fc9d95964a42144e5761e897107 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 15:06:54 -0500 Subject: [PATCH 33/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index ca44e24..7f1dde7 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.5 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -138,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.6.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Wed May 28 2014 Kalev Lember - 1.6.5-13 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 From 21223ea3278c44a42ad2d9559a8adfc16a63b38e Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sat, 18 Oct 2014 23:11:02 +0200 Subject: [PATCH 34/97] 2014-10-18: Retired, because it was orphaned and not available in the EPEL5 repo --- .gitignore | 1 - dead.package | 2 ++ python-enchant.spec | 82 --------------------------------------------- sources | 1 - 4 files changed, 2 insertions(+), 84 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-enchant.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9ba1e33..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -pyenchant-1.1.5.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..d9f2c42 --- /dev/null +++ b/dead.package @@ -0,0 +1,2 @@ +2014-10-18: Retired, because it was orphaned and not available in the EPEL5 repo + diff --git a/python-enchant.spec b/python-enchant.spec deleted file mode 100644 index 50b282b..0000000 --- a/python-enchant.spec +++ /dev/null @@ -1,82 +0,0 @@ -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -Name: python-enchant -Version: 1.1.5 -Release: 5%{?dist} -Summary: Python bindings for Enchant spellchecking library - -Group: Development/Languages -License: LGPL -URL: http://pyenchant.sourceforge.net/ -Source0: http://dl.sourceforge.net/sourceforge/pyenchant/pyenchant-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: python-devel enchant-devel -BuildRequires: python-setuptools >= 0:0.6a9 - -Provides: PyEnchant - -%description -PyEnchant is a spellchecking library for Python, based on the Enchant -library by Dom Lachowicz. - - -%prep -%setup -q -n pyenchant-%{version} - - -%build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build - - -%install -rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed -rm -rf $RPM_BUILD_ROOT/%{python_sitearch}/*.egg-info - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt -%dir %{python_sitearch}/enchant -%dir %{python_sitearch}/enchant/checker -%dir %{python_sitearch}/enchant/tokenize -%{python_sitearch}/enchant/*.py -%{python_sitearch}/enchant/*.py[co] -%{python_sitearch}/enchant/*/*.py -%{python_sitearch}/enchant/*/*.py[co] -%{python_sitearch}/enchant/_enchant.so - - -%changelog -* Thu Oct 05 2006 Christian Iseli 1.1.5-5 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Wed Sep 20 2006 José Matos - 1.1.5-4 -- Rebuild for FC-6. -- Unghost .pyo files. - -* Tue Feb 14 2006 Roozbeh Pournader - 1.1.5-3 -- Rebuild for Fedora Extras 5 - -* Tue Feb 07 2006 Roozbeh Pournader - 1.1.5-2 -- Rebuild - -* Sat Feb 04 2006 Roozbeh Pournader - 1.1.5-1 -- Update to 1.1.5 - -* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-3 -- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64) - -* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-2 -- Remove %%{enchant_dir} macro -- Add %%dir for architecture-specific directory -- Add "Provides:" for PyEnchant -- Remove "Requires:" on enchant (Brian Pepple) - -* Mon Jan 09 2006 Roozbeh Pournader - 1.1.3-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index d550718..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -d9a07392f1f0910635a221273ac9654d pyenchant-1.1.5.tar.gz From 048cb7ce7b97b0df0bd86dcc0e014aa61e84a512 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Mon, 26 Jan 2015 08:08:18 +0100 Subject: [PATCH 35/97] Update to 1.6.6 - Enable python3 tests in the check section --- ...chant-1.6.5-disable-distribute-setup.patch | 14 ----------- python-enchant-1.6.5-fix-docstring-test.patch | 13 ---------- ...on-enchant-1.6.5-fix-tests-without-X.patch | 17 ------------- python-enchant.spec | 24 ++++++++++--------- 4 files changed, 13 insertions(+), 55 deletions(-) delete mode 100644 python-enchant-1.6.5-disable-distribute-setup.patch delete mode 100644 python-enchant-1.6.5-fix-docstring-test.patch delete mode 100644 python-enchant-1.6.5-fix-tests-without-X.patch diff --git a/python-enchant-1.6.5-disable-distribute-setup.patch b/python-enchant-1.6.5-disable-distribute-setup.patch deleted file mode 100644 index 9844584..0000000 --- a/python-enchant-1.6.5-disable-distribute-setup.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up pyenchant-1.6.5/setup.py.disable-distribute-setup pyenchant-1.6.5/setup.py ---- pyenchant-1.6.5/setup.py.disable-distribute-setup 2013-08-06 09:08:02.620478114 +0200 -+++ pyenchant-1.6.5/setup.py 2013-08-06 09:08:13.130744158 +0200 -@@ -6,8 +6,8 @@ - # - - --import distribute_setup --distribute_setup.use_setuptools() -+#import distribute_setup -+#distribute_setup.use_setuptools() - from setuptools import setup, find_packages, Extension - from distutils.archive_util import make_archive - diff --git a/python-enchant-1.6.5-fix-docstring-test.patch b/python-enchant-1.6.5-fix-docstring-test.patch deleted file mode 100644 index 273acd5..0000000 --- a/python-enchant-1.6.5-fix-docstring-test.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up pyenchant-1.6.5/enchant/tests.py.fix-docstring-test pyenchant-1.6.5/enchant/tests.py ---- pyenchant-1.6.5/enchant/tests.py.fix-docstring-test 2012-11-01 09:39:36.268616326 +0100 -+++ pyenchant-1.6.5/enchant/tests.py 2012-11-01 09:40:54.037488976 +0100 -@@ -414,7 +414,8 @@ class TestDocStrings(unittest.TestCase): - "dictwithpwl","skippable","dicts","dict's","filenames", - "trie","api","ctypes","wxspellcheckerdialog","stateful", - "cmdlinechecker","spellchecks","callback","clunkier","iterator", -- "ispell","cor","backends"] -+ "ispell","cor","backends", "incant", "runtime", "subclasses", -+ "initialise"] - - def test_docstrings(self): - """Test that all our docstrings are error-free.""" diff --git a/python-enchant-1.6.5-fix-tests-without-X.patch b/python-enchant-1.6.5-fix-tests-without-X.patch deleted file mode 100644 index 2f4cff7..0000000 --- a/python-enchant-1.6.5-fix-tests-without-X.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -up pyenchant-1.6.5/enchant/tests.py.fix-tests-without-X pyenchant-1.6.5/enchant/tests.py ---- pyenchant-1.6.5/enchant/tests.py.fix-tests-without-X 2012-11-01 08:54:43.261512454 +0100 -+++ pyenchant-1.6.5/enchant/tests.py 2012-11-01 09:01:12.184938020 +0100 -@@ -427,11 +427,11 @@ class TestDocStrings(unittest.TestCase): - import enchant.checker.CmdLineChecker - try: - import enchant.checker.GtkSpellCheckerDialog -- except ImportError: -+ except (ImportError, RuntimeError): - pass - try: - import enchant.checker.wxSpellCheckerDialog -- except ImportError: -+ except (ImportError, RuntimeError): - pass - errors = [] - # Naive recursion here would blow the stack, instead we diff --git a/python-enchant.spec b/python-enchant.spec index 7f1dde7..f393263 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,8 +1,8 @@ %global with_python3 1 Name: python-enchant -Version: 1.6.5 -Release: 14%{?dist} +Version: 1.6.6 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -11,11 +11,6 @@ URL: http://packages.python.org/pyenchant/ Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: python-enchant-1.6.5-fix-tests-without-X.patch -Patch1: python-enchant-1.6.5-fix-docstring-test.patch -# python-distribute got merged into python-setuptools -Patch2: python-enchant-1.6.5-disable-distribute-setup.patch - BuildArch: noarch BuildRequires: enchant-devel @@ -29,6 +24,8 @@ BuildRequires: python-nose %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools >= 0:0.6a9 +# For running tests +BuildRequires: python3-nose %endif # if with_python3 # Work around a problem with libenchant versioning @@ -56,9 +53,6 @@ library by Dom Lachowicz. %prep %setup -q -n pyenchant-%{version} -%patch0 -p1 -b .fix-tests-without-X -%patch1 -p1 -b .fix-docstring-test -%patch2 -p1 -b .disable-distribute-setup %if 0%{?with_python3} rm -rf %{py3dir} @@ -97,11 +91,15 @@ rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/share %check pushd $RPM_BUILD_ROOT/%{python_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests +LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd # Tests are failing in python3 because of collision between # local and stdlib tokenize module +pushd $RPM_BUILD_ROOT/%{python3_sitelib} +# There is no dictionary for language C, need to use en_US +LANG=en_US.UTF-8 /usr/bin/nosetests-3.* +popd %clean rm -rf $RPM_BUILD_ROOT @@ -138,6 +136,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jan 26 2015 Radek Novacek 1.6.6-1 +- Update to 1.6.6 +- Enable python3 tests in the check section + * Sat Jun 07 2014 Fedora Release Engineering - 1.6.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From b14db64aa40c2c1766ffdf934b07ee86ad4e2fe2 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Mon, 26 Jan 2015 08:28:49 +0100 Subject: [PATCH 36/97] Upload new source --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f561942..105ff3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.5.tar.gz +/pyenchant-1.6.6.tar.gz diff --git a/sources b/sources index 2d1fbf5..2e7157c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -565014a14a52fb0195d152dd492ea948 pyenchant-1.6.5.tar.gz +9f5acfd87d04432bf8df5f9710a17358 pyenchant-1.6.6.tar.gz From 9779f9479005cb10d8e2016d66b882509787a0f6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 19:14:43 +0000 Subject: [PATCH 37/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index f393263..e5c04ea 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Jan 26 2015 Radek Novacek 1.6.6-1 - Update to 1.6.6 - Enable python3 tests in the check section From c62163a6df053fa3f006bc4abb228d2f3a1a8232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 10 Nov 2015 11:05:38 +0200 Subject: [PATCH 38/97] Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e5c04ea..6fb3afb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 +- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 + * Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 12d03ad289f3831c884d6e21ab968a30a667b6a7 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 10 Nov 2015 15:49:28 +0000 Subject: [PATCH 39/97] - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 6fb3afb..a4050bc 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + * Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 - Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 From 7a5ac8c9429e3b762602c0fac75e4b0795fb3b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 31 Dec 2015 17:16:42 +0200 Subject: [PATCH 40/97] Add dependency on enchant to python3 subpackage --- python-enchant.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index a4050bc..e5ae800 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,8 +1,12 @@ %global with_python3 1 +# Work around a problem with libenchant versioning +# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) +%global enchant_dep enchant >= 1.5.0 + Name: python-enchant Version: 1.6.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -28,9 +32,7 @@ BuildRequires: python3-setuptools >= 0:0.6a9 BuildRequires: python3-nose %endif # if with_python3 -# Work around a problem with libenchant versioning -# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) -Requires: enchant >= 1.5.0 +Requires: %{enchant_dep} # Package was arch specific before Obsoletes: python-enchant < 1.6.5 @@ -45,6 +47,7 @@ library by Dom Lachowicz. %package -n python3-enchant Summary: Python 3 bindings for Enchant spellchecking library Group: Development/Languages +Requires: %{enchant_dep} %description -n python3-enchant PyEnchant is a spellchecking library for Python 3, based on the Enchant @@ -94,8 +97,6 @@ pushd $RPM_BUILD_ROOT/%{python_sitelib} LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd -# Tests are failing in python3 because of collision between -# local and stdlib tokenize module pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-3.* @@ -136,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 +- Add dependency on enchant to python3 subpackage + * Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 @@ -165,7 +169,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 01 2012 Radek Novacek 1.6.5-9 -- Enable tests in %check +- Enable tests in %%check * Wed Oct 31 2012 Radek Novacek 1.6.5-8 - Fix upstream url and source url From 80d9518d52a4382da77c118181dde7b42cf5dff3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 19:34:53 +0000 Subject: [PATCH 41/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e5ae800..9952c6b 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -6,7 +6,7 @@ Name: python-enchant Version: 1.6.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -137,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 - Add dependency on enchant to python3 subpackage From 55fbecae61d64ad751d4efe005714de3e7becaeb Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Thu, 11 Feb 2016 16:03:40 +0100 Subject: [PATCH 42/97] Fix TypeError at shutdown --- 0001-Fix-TypeError-at-shutdown.patch | 29 ++++++++++++++++++++++++++++ python-enchant.spec | 7 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-TypeError-at-shutdown.patch diff --git a/0001-Fix-TypeError-at-shutdown.patch b/0001-Fix-TypeError-at-shutdown.patch new file mode 100644 index 0000000..948e15c --- /dev/null +++ b/0001-Fix-TypeError-at-shutdown.patch @@ -0,0 +1,29 @@ +From ab4930e371ab168b74d8becdac0517c369931a88 Mon Sep 17 00:00:00 2001 +From: six +Date: Sun, 3 May 2015 07:54:40 -0700 +Subject: [PATCH] Fix TypeError at shutdown. + +--- + enchant/__init__.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/enchant/__init__.py b/enchant/__init__.py +index cc77eba..eb8079c 100644 +--- a/enchant/__init__.py ++++ b/enchant/__init__.py +@@ -240,8 +240,11 @@ class Broker(_EnchantObject): + + def __del__(self): + """Broker object destructor.""" +- if _e is not None: ++ # Calling free() might fail if python is shutting down ++ try: + self._free() ++ except (AttributeError, TypeError): ++ pass + + def __getstate__(self): + state = super(Broker,self).__getstate__() +-- +2.5.0 + diff --git a/python-enchant.spec b/python-enchant.spec index 9952c6b..7bb8b52 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -6,13 +6,14 @@ Name: python-enchant Version: 1.6.6 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages License: LGPLv2+ URL: http://packages.python.org/pyenchant/ Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz +Patch0: 0001-Fix-TypeError-at-shutdown.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -56,6 +57,7 @@ library by Dom Lachowicz. %prep %setup -q -n pyenchant-%{version} +%patch0 -p1 %if 0%{?with_python3} rm -rf %{py3dir} @@ -137,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 10 2016 David Shea - 1.6.6-7 +- Fix TypeError at shutdown + * Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From b295df84ed06b21473a94ef63407450814498ca2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 09:35:28 +0000 Subject: [PATCH 43/97] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 7bb8b52..d4b819e 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -6,7 +6,7 @@ Name: python-enchant Version: 1.6.6 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -139,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Wed Feb 10 2016 David Shea - 1.6.6-7 - Fix TypeError at shutdown From e7efc935cc6a9055d7d01d2599763d93bc1f9922 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 23 Nov 2016 12:03:24 +0100 Subject: [PATCH 44/97] Update to 1.6.8 Remove patch as it has been merged upstream. Remove the python3 conditionals. Changed the sources URL to point to the correct one for pypi. Modernize SPEC and use the python_provide macro. Do not remove egg-info during %install, in order for the python provides to be generated correctly. --- .gitignore | 1 + 0001-Fix-TypeError-at-shutdown.patch | 29 ----- python-enchant.spec | 165 +++++++++++++-------------- sources | 2 +- 4 files changed, 79 insertions(+), 118 deletions(-) delete mode 100644 0001-Fix-TypeError-at-shutdown.patch diff --git a/.gitignore b/.gitignore index 105ff3b..20572fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.5.tar.gz /pyenchant-1.6.6.tar.gz +/pyenchant-1.6.8.tar.gz diff --git a/0001-Fix-TypeError-at-shutdown.patch b/0001-Fix-TypeError-at-shutdown.patch deleted file mode 100644 index 948e15c..0000000 --- a/0001-Fix-TypeError-at-shutdown.patch +++ /dev/null @@ -1,29 +0,0 @@ -From ab4930e371ab168b74d8becdac0517c369931a88 Mon Sep 17 00:00:00 2001 -From: six -Date: Sun, 3 May 2015 07:54:40 -0700 -Subject: [PATCH] Fix TypeError at shutdown. - ---- - enchant/__init__.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/enchant/__init__.py b/enchant/__init__.py -index cc77eba..eb8079c 100644 ---- a/enchant/__init__.py -+++ b/enchant/__init__.py -@@ -240,8 +240,11 @@ class Broker(_EnchantObject): - - def __del__(self): - """Broker object destructor.""" -- if _e is not None: -+ # Calling free() might fail if python is shutting down -+ try: - self._free() -+ except (AttributeError, TypeError): -+ pass - - def __getstate__(self): - state = super(Broker,self).__getstate__() --- -2.5.0 - diff --git a/python-enchant.spec b/python-enchant.spec index d4b819e..13507b3 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,100 +1,90 @@ -%global with_python3 1 - # Work around a problem with libenchant versioning # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) %global enchant_dep enchant >= 1.5.0 +%global srcname enchant Name: python-enchant -Version: 1.6.6 -Release: 8%{?dist} +Version: 1.6.8 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library -Group: Development/Languages License: LGPLv2+ URL: http://packages.python.org/pyenchant/ -Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz -Patch0: 0001-Fix-TypeError-at-shutdown.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: enchant-devel -# Python 2 build requirements: -BuildRequires: python2-devel -BuildRequires: python-setuptools >= 0:0.6a9 -# For running tests -BuildRequires: python-nose - -# Python 3 build requirements: -%if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-setuptools >= 0:0.6a9 -# For running tests -BuildRequires: python3-nose -%endif # if with_python3 - -Requires: %{enchant_dep} - -# Package was arch specific before -Obsoletes: python-enchant < 1.6.5 - -Provides: PyEnchant - %description PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. -%if 0%{?with_python3} -%package -n python3-enchant -Summary: Python 3 bindings for Enchant spellchecking library -Group: Development/Languages +%package -n python2-%{srcname} +Summary: Python 2 bindings for Enchant spellchecking library + +BuildRequires: python2-devel +BuildRequires: python2-setuptools +# For running tests +BuildRequires: python2-nose + Requires: %{enchant_dep} -%description -n python3-enchant +Provides: PyEnchant + +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} +PyEnchant is a spellchecking library for Python 2, based on the Enchant +library by Dom Lachowicz. + +%package -n python3-%{srcname} +Summary: Python 3 bindings for Enchant spellchecking library + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# For running tests +BuildRequires: python3-nose + +Requires: %{enchant_dep} + +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} PyEnchant is a spellchecking library for Python 3, based on the Enchant library by Dom Lachowicz. -%endif # with_python3 %prep -%setup -q -n pyenchant-%{version} -%patch0 -p1 +%setup -q -n py%{srcname}-%{version} +# Remove bundled egg-info +rm -rf py%{srcname}.egg-info -%if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' -%endif # with_python3 - %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %py2_build -%if 0%{?with_python3} pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %py3_build popd -%endif # with_python3 %install -rm -rf $RPM_BUILD_ROOT - -%if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/*.egg-info +%py3_install \ + --single-version-externally-managed # Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/enchant/lib -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/enchant/share +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share popd -%endif # with_python3 -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed -rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info +%py2_install \ + --single-version-externally-managed # Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/lib -rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/share +rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/lib +rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share %check -pushd $RPM_BUILD_ROOT/%{python_sitelib} +pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd @@ -104,41 +94,40 @@ pushd $RPM_BUILD_ROOT/%{python3_sitelib} LANG=en_US.UTF-8 /usr/bin/nosetests-3.* popd -%clean -rm -rf $RPM_BUILD_ROOT +%files -n python2-%{srcname} +%doc README.txt TODO.txt +%license LICENSE.txt +%dir %{python2_sitelib}/%{srcname} +%dir %{python2_sitelib}/%{srcname}/checker +%dir %{python2_sitelib}/%{srcname}/tokenize +%{python2_sitelib}/%{srcname}/*.py +%{python2_sitelib}/%{srcname}/*.py[co] +%{python2_sitelib}/%{srcname}/*/*.py +%{python2_sitelib}/%{srcname}/*/*.py[co] +%{python2_sitelib}/py%{srcname}-%{version}-py?.?.egg-info - -%files -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt TODO.txt -%dir %{python_sitelib}/enchant -%dir %{python_sitelib}/enchant/checker -%dir %{python_sitelib}/enchant/tokenize -%{python_sitelib}/enchant/*.py -%{python_sitelib}/enchant/*.py[co] -%{python_sitelib}/enchant/*/*.py -%{python_sitelib}/enchant/*/*.py[co] - -%if 0%{?with_python3} -%files -n python3-enchant -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt TODO.txt -%dir %{python3_sitelib}/enchant -%dir %{python3_sitelib}/enchant/__pycache__ -%dir %{python3_sitelib}/enchant/checker -%dir %{python3_sitelib}/enchant/checker/__pycache__ -%dir %{python3_sitelib}/enchant/tokenize -%dir %{python3_sitelib}/enchant/tokenize/__pycache__ -%{python3_sitelib}/enchant/*.py -%{python3_sitelib}/enchant/__pycache__/*.py[co] -%{python3_sitelib}/enchant/checker/*.py -%{python3_sitelib}/enchant/checker/__pycache__/*.py[co] -%{python3_sitelib}/enchant/tokenize/*.py -%{python3_sitelib}/enchant/tokenize/__pycache__/*.py[co] -%endif # with_python3 +%files -n python3-%{srcname} +%doc README.txt TODO.txt +%license LICENSE.txt +%dir %{python3_sitelib}/%{srcname} +%dir %{python3_sitelib}/%{srcname}/__pycache__ +%dir %{python3_sitelib}/%{srcname}/checker +%dir %{python3_sitelib}/%{srcname}/checker/__pycache__ +%dir %{python3_sitelib}/%{srcname}/tokenize +%dir %{python3_sitelib}/%{srcname}/tokenize/__pycache__ +%{python3_sitelib}/%{srcname}/*.py +%{python3_sitelib}/%{srcname}/__pycache__/*.py[co] +%{python3_sitelib}/%{srcname}/checker/*.py +%{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] +%{python3_sitelib}/%{srcname}/tokenize/*.py +%{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] +%{python3_sitelib}/py%{srcname}-%{version}-py?.?.egg-info %changelog +* Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 +- Update to 1.6.8 + * Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages diff --git a/sources b/sources index 2e7157c..ebc9aa5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f5acfd87d04432bf8df5f9710a17358 pyenchant-1.6.6.tar.gz +b59c06be2d6c7f79f521b569ee0e441b pyenchant-1.6.8.tar.gz From d8bd5ebe648b891f783ee2fbd97df342dde0c30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2016 18:20:37 +0100 Subject: [PATCH 45/97] Rebuild for Python 3.6 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 13507b3..342ac28 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 1.6.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 +- Rebuild for Python 3.6 + * Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 - Update to 1.6.8 From aa80b053e9c6cad11013835d081840a174996a6c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 08:56:27 +0000 Subject: [PATCH 46/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 342ac28..1905f60 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 1.6.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 - Rebuild for Python 3.6 From 1b088793afeb96b8833a03ee8c17ce44fa0932e5 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 19 Jul 2017 17:56:35 +0200 Subject: [PATCH 47/97] Update to 1.6.10 --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 20572fe..4085109 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.5.tar.gz /pyenchant-1.6.6.tar.gz /pyenchant-1.6.8.tar.gz +/pyenchant-1.6.10.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 1905f60..c6e2a19 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 1.6.8 -Release: 3%{?dist} +Version: 1.6.10 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 +- Update to 1.6.10 + * Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index ebc9aa5..891c6ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b59c06be2d6c7f79f521b569ee0e441b pyenchant-1.6.8.tar.gz +SHA512 (pyenchant-1.6.10.tar.gz) = 56847a5d796c7f030c07af6f696983af2a24a6771ed52a4a7a445ee674f57e2150ddb739ab3ddf8e940374e00afaa89bb9bba094bc39027d6395ea851eec5d70 From 9264a6f82b2fa0f79994c1ad6edb92767a95bd8c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 10:14:32 +0000 Subject: [PATCH 48/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index c6e2a19..5b7f6f1 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 1.6.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 - Update to 1.6.10 From 7efd5d59a26c33fa62f85098b16a541ffb5b337d Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 11 Dec 2017 15:32:00 +0100 Subject: [PATCH 49/97] Update to 2.0.0 --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4085109..6b1195d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.6.tar.gz /pyenchant-1.6.8.tar.gz /pyenchant-1.6.10.tar.gz +/pyenchant-2.0.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 5b7f6f1..af1949c 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 1.6.10 -Release: 2%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 +- Update to 2.0.0 + * Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 891c6ac..057df3f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-1.6.10.tar.gz) = 56847a5d796c7f030c07af6f696983af2a24a6771ed52a4a7a445ee674f57e2150ddb739ab3ddf8e940374e00afaa89bb9bba094bc39027d6395ea851eec5d70 +SHA512 (pyenchant-2.0.0.tar.gz) = c985714bc8ad69b6580fa1dd546243da5f3f92e8681d846ed265b086c486ae7ed33754fba303b450be4c0cb20e975a9a10efbeb700ea5213a11ed00612a93af0 From a7b99597f9d8a62056644f6ba0fd0652651ef929 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 07:41:21 +0000 Subject: [PATCH 50/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index af1949c..f164eb9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 - Update to 2.0.0 From 0c1be1af6c3f4acb9b424c375ac85c825d3c1c99 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 15 Mar 2018 14:45:45 +0100 Subject: [PATCH 51/97] Conditionalize the python2 subpackage --- python-enchant.spec | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index f164eb9..0836476 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -3,9 +3,16 @@ %global enchant_dep enchant >= 1.5.0 %global srcname enchant +%if 0%{?rhel} > 7 +# Disable python2 build by default +%bcond_with python2 +%else +%bcond_without python2 +%endif + Name: python-enchant Version: 2.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -19,6 +26,7 @@ BuildRequires: enchant-devel PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. +%if %{with python2} %package -n python2-%{srcname} Summary: Python 2 bindings for Enchant spellchecking library @@ -36,6 +44,7 @@ Provides: PyEnchant %description -n python2-%{srcname} PyEnchant is a spellchecking library for Python 2, based on the Enchant library by Dom Lachowicz. +%endif # with python2 %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library @@ -63,7 +72,9 @@ cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %build +%if %{with python2} CFLAGS="$RPM_OPT_FLAGS" %py2_build +%endif # with python2 pushd %{py3dir} CFLAGS="$RPM_OPT_FLAGS" %py3_build @@ -77,23 +88,28 @@ pushd %{py3dir} rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share popd +%if %{with python2} %py2_install \ --single-version-externally-managed # Directories used in windows build rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share +%endif # with python2 %check +%if %{with python2} pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd +%endif # with python2 pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-3.* popd +%if %{with python2} %files -n python2-%{srcname} %doc README.txt TODO.txt %license LICENSE.txt @@ -105,6 +121,7 @@ popd %{python2_sitelib}/%{srcname}/*/*.py %{python2_sitelib}/%{srcname}/*/*.py[co] %{python2_sitelib}/py%{srcname}-%{version}-py?.?.egg-info +%endif # with python2 %files -n python3-%{srcname} %doc README.txt TODO.txt @@ -125,6 +142,9 @@ popd %changelog +* Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 +- Conditionalize the python2 subpackage + * Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 9cabfd67acb1d615e065ccb1c6acfb2a404175a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 17 Jun 2018 21:21:23 +0200 Subject: [PATCH 52/97] Rebuilt for Python 3.7 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0836476..6766d11 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 +- Rebuilt for Python 3.7 + * Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 - Conditionalize the python2 subpackage From 1442bf8b7a9a659a865937423821b126238d3faa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 00:09:02 +0000 Subject: [PATCH 53/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 6766d11..831882c 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 - Rebuilt for Python 3.7 From b01c825ea3044c28a92c92a66b90a47569e882e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 21:49:27 +0100 Subject: [PATCH 54/97] Drop explicit locale setting Python3 now sets unicode locale automatically, this workaround should not be necessary anymore. For python2, let's use the lighter locale. --- python-enchant.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 831882c..858c739 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -100,13 +100,13 @@ rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share %if %{with python2} pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-2.* +LANG=C.UTF-8 nosetests-2 popd %endif # with python2 pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-3.* +nosetests-3 popd %if %{with python2} @@ -142,6 +142,10 @@ popd %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 +- Drop explicit locale setting for python3, use C.UTF-8 for python2 + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 3a732ca908fe3e0ff192325541edd080711ea294 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 06:36:59 +0000 Subject: [PATCH 55/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 858c739..d7b6338 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 - Drop explicit locale setting for python3, use C.UTF-8 for python2 See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot From 3bdf61363457dfd83e36440c02f4e215287dfe35 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 13:18:47 +0000 Subject: [PATCH 56/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d7b6338..66855c2 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From d8e8499ccb37a8dbfb2e9855acfc7f651f1bf3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 17 Aug 2019 01:05:57 +0200 Subject: [PATCH 57/97] Rebuilt for Python 3.8 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 66855c2..f0f9366 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From dbe5d41d8c2ee9bf82a3e5c2a7bc88942f1ef063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 3 Sep 2019 11:42:42 +0200 Subject: [PATCH 58/97] Subpackage python2-enchant has been removed --- python-enchant.spec | 74 +++++---------------------------------------- 1 file changed, 8 insertions(+), 66 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index f0f9366..4715beb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -3,16 +3,9 @@ %global enchant_dep enchant >= 1.5.0 %global srcname enchant -%if 0%{?rhel} > 7 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - Name: python-enchant Version: 2.0.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -26,25 +19,6 @@ BuildRequires: enchant-devel PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. -%if %{with python2} -%package -n python2-%{srcname} -Summary: Python 2 bindings for Enchant spellchecking library - -BuildRequires: python2-devel -BuildRequires: python2-setuptools -# For running tests -BuildRequires: python2-nose - -Requires: %{enchant_dep} - -Provides: PyEnchant - -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -PyEnchant is a spellchecking library for Python 2, based on the Enchant -library by Dom Lachowicz. -%endif # with python2 %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library @@ -67,61 +41,25 @@ library by Dom Lachowicz. # Remove bundled egg-info rm -rf py%{srcname}.egg-info -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %build -%if %{with python2} -CFLAGS="$RPM_OPT_FLAGS" %py2_build -%endif # with python2 - -pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %py3_build -popd +%py3_build %install -pushd %{py3dir} %py3_install \ --single-version-externally-managed # Directories used in windows build rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share -popd -%if %{with python2} -%py2_install \ - --single-version-externally-managed -# Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/lib -rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share -%endif # with python2 + %check -%if %{with python2} -pushd $RPM_BUILD_ROOT/%{python2_sitelib} -# There is no dictionary for language C, need to use en_US -LANG=C.UTF-8 nosetests-2 -popd -%endif # with python2 - pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US nosetests-3 popd -%if %{with python2} -%files -n python2-%{srcname} -%doc README.txt TODO.txt -%license LICENSE.txt -%dir %{python2_sitelib}/%{srcname} -%dir %{python2_sitelib}/%{srcname}/checker -%dir %{python2_sitelib}/%{srcname}/tokenize -%{python2_sitelib}/%{srcname}/*.py -%{python2_sitelib}/%{srcname}/*.py[co] -%{python2_sitelib}/%{srcname}/*/*.py -%{python2_sitelib}/%{srcname}/*/*.py[co] -%{python2_sitelib}/py%{srcname}-%{version}-py?.?.egg-info -%endif # with python2 %files -n python3-%{srcname} %doc README.txt TODO.txt @@ -142,6 +80,10 @@ popd %changelog +* Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 +- Subpackage python2-enchant has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 - Rebuilt for Python 3.8 From 86ee908a6cc4f3e7372cce31161ecbd0cbb40b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 7 Jan 2020 19:38:37 +0100 Subject: [PATCH 59/97] Drop --single-version-externally-managed, it breaks the build See also https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/34 The change in python-rpm-macros broke passing arguments like this, however it was not needed here. --- python-enchant.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 4715beb..b6a03a9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -47,8 +47,8 @@ find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %py3_build %install -%py3_install \ - --single-version-externally-managed +%py3_install + # Directories used in windows build rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share From d09017993431c87e7fa20e9f758e8c7d234f3a09 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 11:58:01 +0000 Subject: [PATCH 60/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index b6a03a9..d622bbd 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 2.0.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 - Subpackage python2-enchant has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal From d921bea822942a334706b896cc71cae4922e7e21 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 18 Mar 2020 16:16:43 +0100 Subject: [PATCH 61/97] Update to version 3.0.1 (rhbz#1794914) --- .gitignore | 1 + python-enchant.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6b1195d..77c51e8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.8.tar.gz /pyenchant-1.6.10.tar.gz /pyenchant-2.0.0.tar.gz +/pyenchant-3.0.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index d622bbd..fab6bbe 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 2.0.0 -Release: 11%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -62,7 +62,7 @@ popd %files -n python3-%{srcname} -%doc README.txt TODO.txt +%doc README.rst %license LICENSE.txt %dir %{python3_sitelib}/%{srcname} %dir %{python3_sitelib}/%{srcname}/__pycache__ @@ -80,6 +80,9 @@ popd %changelog +* Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 +- Update to version 3.0.1 (rhbz#1794914) + * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 057df3f..3fdc0be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-2.0.0.tar.gz) = c985714bc8ad69b6580fa1dd546243da5f3f92e8681d846ed265b086c486ae7ed33754fba303b450be4c0cb20e975a9a10efbeb700ea5213a11ed00612a93af0 +SHA512 (pyenchant-3.0.1.tar.gz) = 93a37236b6fe1e483e5f6dcecb1d57abcc68bda2d46df7bd258e36f98a0ceff1af50241f673ee4cedc8dd38d2bf1e53314d4e8ccf3d6bc98c6c9df7aadf849f7 From ad9557984726d475c6300f6ac1d29300cbd6a5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 23 May 2020 20:30:47 +0200 Subject: [PATCH 62/97] Rebuilt for Python 3.9 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index fab6bbe..353f9ac 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Sat May 23 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + * Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 - Update to version 3.0.1 (rhbz#1794914) From edced1a721e47f54253aecb886aaf439713057f9 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 1 Jun 2020 16:30:49 +0200 Subject: [PATCH 63/97] Update to version 3.1.1 (rhbz#1837989) --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 77c51e8..7be5e92 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.10.tar.gz /pyenchant-2.0.0.tar.gz /pyenchant-3.0.1.tar.gz +/pyenchant-3.1.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 353f9ac..2d70f37 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 3.0.1 -Release: 2%{?dist} +Version: 3.1.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 +- Update to version 3.1.1 (rhbz#1837989) + * Sat May 23 2020 Miro Hrončok - 3.0.1-2 - Rebuilt for Python 3.9 diff --git a/sources b/sources index 3fdc0be..f308936 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.0.1.tar.gz) = 93a37236b6fe1e483e5f6dcecb1d57abcc68bda2d46df7bd258e36f98a0ceff1af50241f673ee4cedc8dd38d2bf1e53314d4e8ccf3d6bc98c6c9df7aadf849f7 +SHA512 (pyenchant-3.1.1.tar.gz) = bb417f971208d838e725841fa6eaf112feee1a66103272850ea96c2ecb83a455fe165c32274643ff02e8282a156ceb9e2a8b662a39b0c4baa8b583ce4110eabf From 83b012e4c6824976c32ce22a5cddf0a56cd3732c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:31 +0200 Subject: [PATCH 64/97] Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- python-enchant.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 2d70f37..aa01a2d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -76,7 +76,7 @@ popd %{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] %{python3_sitelib}/%{srcname}/tokenize/*.py %{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] -%{python3_sitelib}/py%{srcname}-%{version}-py?.?.egg-info +%{python3_sitelib}/py%{srcname}-%{version}-py%{python3_version}.egg-info %changelog From 5ff6589e765c1b0b17ca1a9ad225905ca46b475f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 00:52:45 +0000 Subject: [PATCH 65/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index aa01a2d..7ee2bd2 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 - Update to version 3.1.1 (rhbz#1837989) From 4133a16b43b55ba3f8e88df8e16e6692fa0471ca Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 9 Dec 2020 20:35:28 +0100 Subject: [PATCH 66/97] Update to 3.2.0 (rhbz#1905482) --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7be5e92..f915831 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-2.0.0.tar.gz /pyenchant-3.0.1.tar.gz /pyenchant-3.1.1.tar.gz +/pyenchant-3.2.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 7ee2bd2..175fd46 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 3.1.1 -Release: 2%{?dist} +Version: 3.2.0 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 +- Update to 3.2.0 (rhbz#1905482) + * Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index f308936..b62b4b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.1.1.tar.gz) = bb417f971208d838e725841fa6eaf112feee1a66103272850ea96c2ecb83a455fe165c32274643ff02e8282a156ceb9e2a8b662a39b0c4baa8b583ce4110eabf +SHA512 (pyenchant-3.2.0.tar.gz) = 8ecd582d65c81bbcafa47a90dcb3d435fc5161ab511d914b886e6d6ef34553eba5ccab3793fc97b7aeb6e1bc2b508389d9fbeb924a36d5e44786b6c11d3bfdc2 From 951ef7d7a31d3dc52efdcc7a0d44723e71408f17 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 20 Jan 2021 17:10:44 +0100 Subject: [PATCH 67/97] Drop dependency on python-nose as tests are not included --- python-enchant.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 175fd46..d98c288 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -25,8 +25,6 @@ Summary: Python 3 bindings for Enchant spellchecking library BuildRequires: python3-devel BuildRequires: python3-setuptools -# For running tests -BuildRequires: python3-nose Requires: %{enchant_dep} @@ -54,11 +52,8 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share -%check -pushd $RPM_BUILD_ROOT/%{python3_sitelib} -# There is no dictionary for language C, need to use en_US -nosetests-3 -popd +# Tests are not included in the upstream tarball +#%%check %files -n python3-%{srcname} @@ -80,6 +75,9 @@ popd %changelog +* Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 +- Drop dependency on python-nose as tests are not included + * Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 - Update to 3.2.0 (rhbz#1905482) From 3b109cbce430e06a6a3835e66764899b1a232ae8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 10:30:24 +0000 Subject: [PATCH 68/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d98c288..840dd90 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 - Drop dependency on python-nose as tests are not included From 4f9a7e926ee792d29298fed39ed87c9922abd9f4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 3 Jun 2021 23:53:14 +0200 Subject: [PATCH 69/97] Rebuilt for Python 3.10 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 840dd90..f99c7c9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Thu Jun 03 2021 Python Maint - 3.2.0-4 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 10ce1cc5405c6eb87c000ee4aa605e35c9c08016 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 5 Jul 2021 13:47:15 +0200 Subject: [PATCH 70/97] Add CI tests --- .fmf/version | 1 + plans/basic.fmf | 5 +++++ tests/main.fmf | 7 +++++++ tests/test_enchant.py | 31 +++++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf create mode 100644 tests/main.fmf create mode 100644 tests/test_enchant.py diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..bce47e5 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,7 @@ +require: +- python3 +- python3-enchant +- hunspell-en-US +- hunspell-de +test: python3 test_enchant.py -v +framework: shell diff --git a/tests/test_enchant.py b/tests/test_enchant.py new file mode 100644 index 0000000..e8ee2c1 --- /dev/null +++ b/tests/test_enchant.py @@ -0,0 +1,31 @@ +import unittest +import sys +import enchant + +class TestEnchant(unittest.TestCase): + + def test_dummy(self): + self.assertEqual(True, True) + + @unittest.expectedFailure + def test_expected_failure(self): + self.assertEqual(False, True) + + def test_en_US(self): + d = enchant.Dict('en_US') + self.assertEqual(d.check('enchant'), True) + self.assertEqual(d.check('enchnt'), False) + self.assertEqual( + d.suggest('enchnt'), + ['enchant', 'entrench', 'tench']) + + def test_de_DE(self): + d = enchant.Dict('de_DE') + self.assertEqual(d.check('Alpenglühen'), True) + self.assertEqual(d.check('Alpengluhen'), False) + self.assertEqual( + d.suggest('Alpengluhen'), + ['Alpenglühen', 'Alpengluten', 'Alpenländischen']) + +if __name__ == "__main__": + unittest.main() From 77ea9a787373fa42608536a9e977e7ec3597f5e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 27 Jul 2021 08:05:32 +0000 Subject: [PATCH 71/97] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index f99c7c9..1b84cc2 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jun 03 2021 Python Maint - 3.2.0-4 - Rebuilt for Python 3.10 From 62c6cd5ed54e50ef2a95977e5211eafa2355350a Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 3 Aug 2021 21:43:47 +0200 Subject: [PATCH 72/97] Update to 3.2.1 (rhbz#1975861) --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f915831..3347cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-3.0.1.tar.gz /pyenchant-3.1.1.tar.gz /pyenchant-3.2.0.tar.gz +/pyenchant-3.2.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 1b84cc2..1d2c2b7 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 3.2.0 -Release: 5%{?dist} +Version: 3.2.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 +- Update to 3.2.1 (rhbz#1975861) + * Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index b62b4b0..9478869 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.2.0.tar.gz) = 8ecd582d65c81bbcafa47a90dcb3d435fc5161ab511d914b886e6d6ef34553eba5ccab3793fc97b7aeb6e1bc2b508389d9fbeb924a36d5e44786b6c11d3bfdc2 +SHA512 (pyenchant-3.2.1.tar.gz) = bb8194be0e4181816910558673f1486e283802f9248e1b1e92da94fe8c6c0f568baeeaa19ae6324c3577c78ed22543b8f73620bd53e83a8c87c35e24bf3f2ff7 From 14c05f90d878a44179417c80aaf6ab2f412ced72 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 5 Oct 2021 23:18:52 +0200 Subject: [PATCH 73/97] Update to 3.2.2 (rhbz#2010984) --- .gitignore | 1 + python-enchant.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3347cdb..85eaf7e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-3.1.1.tar.gz /pyenchant-3.2.0.tar.gz /pyenchant-3.2.1.tar.gz +/pyenchant-3.2.2.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 1d2c2b7..8f4f290 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,7 +4,7 @@ %global srcname enchant Name: python-enchant -Version: 3.2.1 +Version: 3.2.2 Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 +- Update to 3.2.2 (rhbz#2010984) + * Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 - Update to 3.2.1 (rhbz#1975861) diff --git a/sources b/sources index 9478869..3401ed4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.2.1.tar.gz) = bb8194be0e4181816910558673f1486e283802f9248e1b1e92da94fe8c6c0f568baeeaa19ae6324c3577c78ed22543b8f73620bd53e83a8c87c35e24bf3f2ff7 +SHA512 (pyenchant-3.2.2.tar.gz) = 65dd6abf51f7dd45d9879c63d9a1d34a4682ef37da961d0eb41849c6bbb707d94d079f5581b5f695a01fd9a9b68e9456d487b4423ed8382882f22eeeb6b080f8 From d90278c8b481456c2c4531bd9003aa3b14493b70 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 11:56:28 +0000 Subject: [PATCH 74/97] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 8f4f290..e8ea8be 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 - Update to 3.2.2 (rhbz#2010984) From eb755e74e5819d6b7fdc1ef606b87e13270ef9b5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:03:11 +0200 Subject: [PATCH 75/97] Rebuilt for Python 3.11 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e8ea8be..d45f88c 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Jun 13 2022 Python Maint - 3.2.2-3 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 1278e8bcd2b7a1722e926206f96825a5ab5f0e42 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 18:15:07 +0000 Subject: [PATCH 76/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d45f88c..c8f5730 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 3.2.2-3 - Rebuilt for Python 3.11 From c903e2a9dc37294c0f9b8284ca2c1af0b3e82dcb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 28 Aug 2022 15:29:13 +0800 Subject: [PATCH 77/97] switch to using enchant2 (#2121993) --- python-enchant.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index c8f5730..1baaad6 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,11 +1,8 @@ -# Work around a problem with libenchant versioning -# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) -%global enchant_dep enchant >= 1.5.0 %global srcname enchant Name: python-enchant Version: 3.2.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -26,7 +23,7 @@ Summary: Python 3 bindings for Enchant spellchecking library BuildRequires: python3-devel BuildRequires: python3-setuptools -Requires: %{enchant_dep} +Requires: enchant2 %{?python_provide:%python_provide python3-%{srcname}} @@ -75,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Sun Aug 28 2022 Jens Petersen - 3.2.2-5 +- switch to using enchant2 (#2121993) + * Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From fcd9ebdf9c5674c0b94b8991c16897289aaf5cd8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 12:58:21 +0000 Subject: [PATCH 78/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 1baaad6..0de3f44 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sun Aug 28 2022 Jens Petersen - 3.2.2-5 - switch to using enchant2 (#2121993) From 18359fd7a14be8d9606a0c6adc8d3b021a2c7b52 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:37:42 +0200 Subject: [PATCH 79/97] Rebuilt for Python 3.12 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0de3f44..dd20274 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Jun 13 2023 Python Maint - 3.2.2-7 +- Rebuilt for Python 3.12 + * Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 0a74eb17331721e64d13cfbfdf4cdbf4d59b638f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 15 Jun 2023 12:01:30 -0400 Subject: [PATCH 80/97] Update BuildRequires to enchant2 The runtime requirement was switched to enchant2 a while ago, but the BuildRequires was missed. The -devel package is no longer required to build though since no binding is built; the library is loaded through ctypes. Also, check imports as a minimal test (since the testsuite is not included in the upstream tarball), and update the project URL. --- python-enchant.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index dd20274..e35b778 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,15 +2,15 @@ Name: python-enchant Version: 3.2.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ -URL: http://packages.python.org/pyenchant/ +URL: https://pyenchant.github.io/pyenchant/ Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: enchant-devel +BuildRequires: enchant2 %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -50,7 +50,8 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share # Tests are not included in the upstream tarball -#%%check +%check +%py3_check_import %{srcname} %{srcname}.checker %{srcname}.tokenize %files -n python3-%{srcname} @@ -72,6 +73,10 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 +- Update BuildRequires to enchant2 +- Check imports as a minimal test + * Tue Jun 13 2023 Python Maint - 3.2.2-7 - Rebuilt for Python 3.12 From b0f2280f89aa7376a4564dc1023255c3c6021463 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 09:21:14 +0000 Subject: [PATCH 81/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e35b778..81661ff 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 - Update BuildRequires to enchant2 - Check imports as a minimal test From 484a1fc3dbe9f98d88cba247de93fd3b060e9997 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 21 Aug 2023 10:20:26 +0530 Subject: [PATCH 82/97] Migrate to SPDX license expression --- python-enchant.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 81661ff..0d121f8 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,10 +2,10 @@ Name: python-enchant Version: 3.2.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings for Enchant spellchecking library -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://pyenchant.github.io/pyenchant/ Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Aug 21 2023 Parag Nemade - 3.2.2-10 +- Migrate to SPDX license expression + * Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 76ee6b7a003b73fdeb8c71893d77ce6478a90027 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 01:04:30 +0000 Subject: [PATCH 83/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0d121f8..b9d1e89 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Aug 21 2023 Parag Nemade - 3.2.2-10 - Migrate to SPDX license expression From 2f6e4789925d9d7d9c0f1c2bcbb838d40e4db46c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 03:55:55 +0000 Subject: [PATCH 84/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index b9d1e89..e4a7a64 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 1051e1b83b1bf4019cbadc10bfe31232080be8b9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:16:05 +0200 Subject: [PATCH 85/97] Rebuilt for Python 3.13 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e4a7a64..16508bb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jun 07 2024 Python Maint - 3.2.2-13 +- Rebuilt for Python 3.13 + * Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 10336dac7f9b45cf03584bd36cccfe0dfa3eb33e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 11:20:06 +0000 Subject: [PATCH 86/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 16508bb..398acbf 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 3.2.2-13 - Rebuilt for Python 3.13 From f5b49175eeb8cf56d2610d00604c7640aa2e4630 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 14:01:28 +0000 Subject: [PATCH 87/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 398acbf..bc406b9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 2fc721d1f474d50451f49af16b3976edfcbdca45 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:18:52 +0200 Subject: [PATCH 88/97] Rebuilt for Python 3.14 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index bc406b9..219bba4 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Jun 02 2025 Python Maint - 3.2.2-16 +- Rebuilt for Python 3.14 + * Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5c9129e424a7cf756671bf9c87323cc4fccad60a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 07:45:21 +0000 Subject: [PATCH 89/97] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 219bba4..6e08d4d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 3.2.2-16 - Rebuilt for Python 3.14 From a117d2dbec8803de6653bd1fb9f455973a275945 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:41:08 +0200 Subject: [PATCH 90/97] Rebuilt for Python 3.14.0rc2 bytecode --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 6e08d4d..0d9b76a 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Aug 15 2025 Python Maint - 3.2.2-18 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 439c5b34abfd79373268a5a95ac33f37125865df Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:14:17 +0200 Subject: [PATCH 91/97] Rebuilt for Python 3.14.0rc3 bytecode --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0d9b76a..01f1936 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Sep 19 2025 Python Maint - 3.2.2-19 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 3.2.2-18 - Rebuilt for Python 3.14.0rc2 bytecode From 26fe1ac30f622ed0044ff462bcd3c81a32a7494e Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 29 Sep 2025 21:43:29 +0200 Subject: [PATCH 92/97] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 272 +++++++++++++++++++++++++++++++++++++++++++ python-enchant.spec | 275 +------------------------------------------- 2 files changed, 274 insertions(+), 273 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..ea42345 --- /dev/null +++ b/changelog @@ -0,0 +1,272 @@ +* Fri Sep 19 2025 Python Maint - 3.2.2-19 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 3.2.2-18 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jun 02 2025 Python Maint - 3.2.2-16 +- Rebuilt for Python 3.14 + +* Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 3.2.2-13 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Aug 21 2023 Parag Nemade - 3.2.2-10 +- Migrate to SPDX license expression + +* Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 +- Update BuildRequires to enchant2 +- Check imports as a minimal test + +* Tue Jun 13 2023 Python Maint - 3.2.2-7 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Aug 28 2022 Jens Petersen - 3.2.2-5 +- switch to using enchant2 (#2121993) + +* Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 3.2.2-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 +- Update to 3.2.2 (rhbz#2010984) + +* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 +- Update to 3.2.1 (rhbz#1975861) + +* Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 3.2.0-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 +- Drop dependency on python-nose as tests are not included + +* Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 +- Update to 3.2.0 (rhbz#1905482) + +* Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 +- Update to version 3.1.1 (rhbz#1837989) + +* Sat May 23 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + +* Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 +- Update to version 3.0.1 (rhbz#1794914) + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 +- Subpackage python2-enchant has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 +- Drop explicit locale setting for python3, use C.UTF-8 for python2 + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 +- Rebuilt for Python 3.7 + +* Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 +- Conditionalize the python2 subpackage + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 +- Update to 2.0.0 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 +- Update to 1.6.10 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 +- Rebuild for Python 3.6 + +* Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 +- Update to 1.6.8 + +* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Feb 10 2016 David Shea - 1.6.6-7 +- Fix TypeError at shutdown + +* Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 +- Add dependency on enchant to python3 subpackage + +* Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 +- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 26 2015 Radek Novacek 1.6.6-1 +- Update to 1.6.6 +- Enable python3 tests in the check section + +* Sat Jun 07 2014 Fedora Release Engineering - 1.6.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Kalev Lember - 1.6.5-13 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Tue Aug 06 2013 Radek Novacek 1.6.5-12 +- Disable distribute setup + +* Sun Aug 04 2013 Fedora Release Engineering - 1.6.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.6.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 01 2012 Radek Novacek 1.6.5-9 +- Enable tests in %%check + +* Wed Oct 31 2012 Radek Novacek 1.6.5-8 +- Fix upstream url and source url + +* Sat Aug 04 2012 David Malcolm - 1.6.5-7 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + +* Sat Jul 21 2012 Fedora Release Engineering - 1.6.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.6.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 12 2011 Radek Novacek 1.6.5-4 +- Release bump to ensure upgrade path from F16 + +* Mon Oct 10 2011 David Malcolm - 1.6.5-3 +- add python3 subpackage + +* Fri Sep 23 2011 Radek Novacek 1.6.5-2 +- Obsolete old arch-specific version + +* Fri Sep 23 2011 Radek Novacek 1.6.5-1 +- Update to version 1.6.5 +- Change architecture to noarch +- Change python_sitearch to python_sitelib +- Changelog in no longer in source tarball +- Remove nonpacked files + +* Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 1.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Mon Feb 1 2010 Stepan Kasal - 1.3.1-6 +- add a require to work around a problem with libenchant versioning + +* Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-3 +- Rebuild for Python 2.6 + +* Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-2 +- Autorebuild for GCC 4.3 + +* Tue Dec 11 2007 Roozbeh Pournader - 1.3.1-1 +- Update to 1.3.1 +- Change license tag to LGPLv2+ + +* Sat Jan 13 2007 Roozbeh Pournader - 1.3.0-1 +- Update to 1.3.0 +- Add ChangeLog and TODO.txt as documentation + +* Sat Dec 09 2006 Roozbeh Pournader - 1.2.0-2 +- Rebuild for Python 2.5 + +* Tue Nov 7 2006 José Matos - 1.2.0-1 +- New upstream release + +* Thu Oct 05 2006 Christian Iseli 1.1.5-5 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Wed Sep 20 2006 José Matos - 1.1.5-4 +- Rebuild for FC-6. +- Unghost .pyo files. + +* Tue Feb 14 2006 Roozbeh Pournader - 1.1.5-3 +- Rebuild for Fedora Extras 5 + +* Tue Feb 07 2006 Roozbeh Pournader - 1.1.5-2 +- Rebuild + +* Sat Feb 04 2006 Roozbeh Pournader - 1.1.5-1 +- Update to 1.1.5 + +* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-3 +- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64) + +* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-2 +- Remove %%{enchant_dir} macro +- Add %%dir for architecture-specific directory +- Add "Provides:" for PyEnchant +- Remove "Requires:" on enchant (Brian Pepple) + +* Mon Jan 09 2006 Roozbeh Pournader - 1.1.3-1 +- Initial packaging diff --git a/python-enchant.spec b/python-enchant.spec index 01f1936..ddbbd8b 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 19%{?dist} +Release: %autorelease Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,275 +73,4 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog -* Fri Sep 19 2025 Python Maint - 3.2.2-19 -- Rebuilt for Python 3.14.0rc3 bytecode - -* Fri Aug 15 2025 Python Maint - 3.2.2-18 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Mon Jun 02 2025 Python Maint - 3.2.2-16 -- Rebuilt for Python 3.14 - -* Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 3.2.2-13 -- Rebuilt for Python 3.13 - -* Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Aug 21 2023 Parag Nemade - 3.2.2-10 -- Migrate to SPDX license expression - -* Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 -- Update BuildRequires to enchant2 -- Check imports as a minimal test - -* Tue Jun 13 2023 Python Maint - 3.2.2-7 -- Rebuilt for Python 3.12 - -* Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sun Aug 28 2022 Jens Petersen - 3.2.2-5 -- switch to using enchant2 (#2121993) - -* Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 3.2.2-3 -- Rebuilt for Python 3.11 - -* Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 -- Update to 3.2.2 (rhbz#2010984) - -* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 -- Update to 3.2.1 (rhbz#1975861) - -* Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jun 03 2021 Python Maint - 3.2.0-4 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 -- Drop dependency on python-nose as tests are not included - -* Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 -- Update to 3.2.0 (rhbz#1905482) - -* Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 -- Update to version 3.1.1 (rhbz#1837989) - -* Sat May 23 2020 Miro Hrončok - 3.0.1-2 -- Rebuilt for Python 3.9 - -* Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 -- Update to version 3.0.1 (rhbz#1794914) - -* Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 -- Subpackage python2-enchant has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 -- Rebuilt for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 -- Drop explicit locale setting for python3, use C.UTF-8 for python2 - See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot - -* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 -- Rebuilt for Python 3.7 - -* Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 -- Conditionalize the python2 subpackage - -* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 -- Update to 2.0.0 - -* Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 -- Update to 1.6.10 - -* Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 -- Rebuild for Python 3.6 - -* Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 -- Update to 1.6.8 - -* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 10 2016 David Shea - 1.6.6-7 -- Fix TypeError at shutdown - -* Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 -- Add dependency on enchant to python3 subpackage - -* Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - -* Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 -- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 - -* Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Jan 26 2015 Radek Novacek 1.6.6-1 -- Update to 1.6.6 -- Enable python3 tests in the check section - -* Sat Jun 07 2014 Fedora Release Engineering - 1.6.5-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 28 2014 Kalev Lember - 1.6.5-13 -- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 - -* Tue Aug 06 2013 Radek Novacek 1.6.5-12 -- Disable distribute setup - -* Sun Aug 04 2013 Fedora Release Engineering - 1.6.5-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 1.6.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Nov 01 2012 Radek Novacek 1.6.5-9 -- Enable tests in %%check - -* Wed Oct 31 2012 Radek Novacek 1.6.5-8 -- Fix upstream url and source url - -* Sat Aug 04 2012 David Malcolm - 1.6.5-7 -- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 - -* Sat Jul 21 2012 Fedora Release Engineering - 1.6.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 1.6.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Dec 12 2011 Radek Novacek 1.6.5-4 -- Release bump to ensure upgrade path from F16 - -* Mon Oct 10 2011 David Malcolm - 1.6.5-3 -- add python3 subpackage - -* Fri Sep 23 2011 Radek Novacek 1.6.5-2 -- Obsolete old arch-specific version - -* Fri Sep 23 2011 Radek Novacek 1.6.5-1 -- Update to version 1.6.5 -- Change architecture to noarch -- Change python_sitearch to python_sitelib -- Changelog in no longer in source tarball -- Remove nonpacked files - -* Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Thu Jul 22 2010 David Malcolm - 1.3.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Mon Feb 1 2010 Stepan Kasal - 1.3.1-6 -- add a require to work around a problem with libenchant versioning - -* Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Feb 26 2009 Fedora Release Engineering - 1.3.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-3 -- Rebuild for Python 2.6 - -* Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-2 -- Autorebuild for GCC 4.3 - -* Tue Dec 11 2007 Roozbeh Pournader - 1.3.1-1 -- Update to 1.3.1 -- Change license tag to LGPLv2+ - -* Sat Jan 13 2007 Roozbeh Pournader - 1.3.0-1 -- Update to 1.3.0 -- Add ChangeLog and TODO.txt as documentation - -* Sat Dec 09 2006 Roozbeh Pournader - 1.2.0-2 -- Rebuild for Python 2.5 - -* Tue Nov 7 2006 José Matos - 1.2.0-1 -- New upstream release - -* Thu Oct 05 2006 Christian Iseli 1.1.5-5 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Wed Sep 20 2006 José Matos - 1.1.5-4 -- Rebuild for FC-6. -- Unghost .pyo files. - -* Tue Feb 14 2006 Roozbeh Pournader - 1.1.5-3 -- Rebuild for Fedora Extras 5 - -* Tue Feb 07 2006 Roozbeh Pournader - 1.1.5-2 -- Rebuild - -* Sat Feb 04 2006 Roozbeh Pournader - 1.1.5-1 -- Update to 1.1.5 - -* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-3 -- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64) - -* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-2 -- Remove %%{enchant_dir} macro -- Add %%dir for architecture-specific directory -- Add "Provides:" for PyEnchant -- Remove "Requires:" on enchant (Brian Pepple) - -* Mon Jan 09 2006 Roozbeh Pournader - 1.1.3-1 -- Initial packaging +%autochangelog From fa46d5936ce90fee9df6d4037976d7a53b42b4d2 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 29 Sep 2025 21:45:42 +0200 Subject: [PATCH 93/97] Use a macro for the source [skip changelog] --- python-enchant.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index ddbbd8b..a6acc35 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -7,7 +7,7 @@ Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later URL: https://pyenchant.github.io/pyenchant/ -Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz +Source: %{pypi_source pyenchant} BuildArch: noarch BuildRequires: enchant2 From 1fe2675c9d9d0ed8bc66b9a9fa0771ac6141f292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 9 Jul 2025 23:37:57 +0200 Subject: [PATCH 94/97] Convert to pyproject-rpm-macros - Fixes: rhbz#2377685 --- python-enchant.spec | 42 +++++++++++++----------------------------- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index a6acc35..a74ac08 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -11,6 +11,8 @@ Source: %{pypi_source pyenchant} BuildArch: noarch BuildRequires: enchant2 +# For importing the wxSpellCheckerDialog module +BuildRequires: python3-wxpython4 %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -21,55 +23,37 @@ library by Dom Lachowicz. Summary: Python 3 bindings for Enchant spellchecking library BuildRequires: python3-devel -BuildRequires: python3-setuptools Requires: enchant2 -%{?python_provide:%python_provide python3-%{srcname}} +Recommends: python3-wxpython4 %description -n python3-%{srcname} PyEnchant is a spellchecking library for Python 3, based on the Enchant library by Dom Lachowicz. %prep -%setup -q -n py%{srcname}-%{version} -# Remove bundled egg-info -rm -rf py%{srcname}.egg-info +%autosetup -p1 -n py%{srcname}-%{version} -find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install -%py3_install - -# Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share - +%pyproject_install +%pyproject_save_files -L %{srcname} # Tests are not included in the upstream tarball %check -%py3_check_import %{srcname} %{srcname}.checker %{srcname}.tokenize +# We exclude testing of the import for the GtkSpellCheckerDialog +# as it utilizes the legacy PyGTK bindings +%pyproject_check_import -e '*.GtkSpellCheckerDialog' - -%files -n python3-%{srcname} +%files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %license LICENSE.txt -%dir %{python3_sitelib}/%{srcname} -%dir %{python3_sitelib}/%{srcname}/__pycache__ -%dir %{python3_sitelib}/%{srcname}/checker -%dir %{python3_sitelib}/%{srcname}/checker/__pycache__ -%dir %{python3_sitelib}/%{srcname}/tokenize -%dir %{python3_sitelib}/%{srcname}/tokenize/__pycache__ -%{python3_sitelib}/%{srcname}/*.py -%{python3_sitelib}/%{srcname}/__pycache__/*.py[co] -%{python3_sitelib}/%{srcname}/checker/*.py -%{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] -%{python3_sitelib}/%{srcname}/tokenize/*.py -%{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] -%{python3_sitelib}/py%{srcname}-%{version}-py%{python3_version}.egg-info %changelog From f2c5c10b617f83de2597b94a05c1f20a659d166b Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 30 Sep 2025 01:46:16 +0200 Subject: [PATCH 95/97] CI: Fix test expectation for the latest german dictionary database [skip changelog] --- python-enchant.spec | 6 ++---- tests/test_enchant.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index a74ac08..67b7cc3 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -10,7 +10,9 @@ URL: https://pyenchant.github.io/pyenchant/ Source: %{pypi_source pyenchant} BuildArch: noarch + BuildRequires: enchant2 +BuildRequires: python3-devel # For importing the wxSpellCheckerDialog module BuildRequires: python3-wxpython4 @@ -22,12 +24,8 @@ library by Dom Lachowicz. %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library -BuildRequires: python3-devel - Requires: enchant2 -Recommends: python3-wxpython4 - %description -n python3-%{srcname} PyEnchant is a spellchecking library for Python 3, based on the Enchant library by Dom Lachowicz. diff --git a/tests/test_enchant.py b/tests/test_enchant.py index e8ee2c1..255714c 100644 --- a/tests/test_enchant.py +++ b/tests/test_enchant.py @@ -25,7 +25,7 @@ class TestEnchant(unittest.TestCase): self.assertEqual(d.check('Alpengluhen'), False) self.assertEqual( d.suggest('Alpengluhen'), - ['Alpenglühen', 'Alpengluten', 'Alpenländischen']) + ['Alpenglühen', 'Alpengluten', 'Altenglischen']) if __name__ == "__main__": unittest.main() From 8aecb213ce3033036a2f1ee5d44a7919bf9a7692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 6 Oct 2025 19:28:01 +0200 Subject: [PATCH 96/97] Exclude python3-wxpython4 build dependency on RHEL/ELN Fixes https://github.com/fedora-eln/eln/issues/329 --- python-enchant.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 67b7cc3..8809ffe 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -13,8 +13,10 @@ BuildArch: noarch BuildRequires: enchant2 BuildRequires: python3-devel +%if %{undefined rhel} # For importing the wxSpellCheckerDialog module BuildRequires: python3-wxpython4 +%endif %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -46,8 +48,9 @@ library by Dom Lachowicz. # Tests are not included in the upstream tarball %check # We exclude testing of the import for the GtkSpellCheckerDialog -# as it utilizes the legacy PyGTK bindings -%pyproject_check_import -e '*.GtkSpellCheckerDialog' +# as it utilizes the legacy PyGTK bindings. +# On RHEL, we also exclude wx to avoid it as a dependency. +%pyproject_check_import -e '*.GtkSpellCheckerDialog' %{?rhel:-e '*.wxSpellCheckerDialog'} %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst From 5e5c32221f8079e9ffee921a88dd7d9b41ecbcd9 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Thu, 20 Nov 2025 11:57:17 +0100 Subject: [PATCH 97/97] Update to 3.3.0 (rhbz#2395062) --- .gitignore | 1 + python-enchant.spec | 4 +++- sources | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 85eaf7e..c55b3e5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-3.2.0.tar.gz /pyenchant-3.2.1.tar.gz /pyenchant-3.2.2.tar.gz +/pyenchant-3.3.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 8809ffe..3854a73 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,7 +1,7 @@ %global srcname enchant Name: python-enchant -Version: 3.2.2 +Version: 3.3.0 Release: %autorelease Summary: Python bindings for Enchant spellchecking library @@ -34,6 +34,8 @@ library by Dom Lachowicz. %prep %autosetup -p1 -n py%{srcname}-%{version} +# Workaround for https://github.com/pyenchant/pyenchant/issues/326 +sed -i "/size=wxSpellCheckerDialog\.sz/s/wxSpellCheckerDialog\.//" enchant/checker/wxSpellCheckerDialog.py %generate_buildrequires %pyproject_buildrequires diff --git a/sources b/sources index 3401ed4..be597a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.2.2.tar.gz) = 65dd6abf51f7dd45d9879c63d9a1d34a4682ef37da961d0eb41849c6bbb707d94d079f5581b5f695a01fd9a9b68e9456d487b4423ed8382882f22eeeb6b080f8 +SHA512 (pyenchant-3.3.0.tar.gz) = b9d70697623415314d1ba145d02e8b6e37da19ad04efca5fd114c814cce9f12d0899751ec620efc6ada347754a28075ad351e81db3cf0165c4f3aad5b5ee5086