Compare commits

...
Sign in to create a new pull request.

93 commits

Author SHA1 Message Date
Lumir Balhar
5e5c32221f Update to 3.3.0 (rhbz#2395062) 2025-11-20 11:57:17 +01:00
Miro Hrončok
8aecb213ce Exclude python3-wxpython4 build dependency on RHEL/ELN
Fixes https://github.com/fedora-eln/eln/issues/329
2025-10-06 19:28:01 +02:00
Charalampos Stratakis
f2c5c10b61 CI: Fix test expectation for the latest german dictionary database
[skip changelog]
2025-10-01 13:28:55 +02:00
Miro Hrončok
1fe2675c9d Convert to pyproject-rpm-macros
- Fixes: rhbz#2377685
2025-09-30 01:47:08 +02:00
Charalampos Stratakis
fa46d5936c Use a macro for the source
[skip changelog]
2025-09-29 22:58:07 +02:00
Charalampos Stratakis
26fe1ac30f Convert to %autorelease and %autochangelog
[skip changelog]
2025-09-29 21:43:29 +02:00
Python Maint
439c5b34ab Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:14:17 +02:00
Python Maint
a117d2dbec Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:41:08 +02:00
Fedora Release Engineering
5c9129e424 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 07:45:21 +00:00
Python Maint
2fc721d1f4 Rebuilt for Python 3.14 2025-06-02 20:18:52 +02:00
Fedora Release Engineering
f5b49175ee Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 14:01:28 +00:00
Fedora Release Engineering
10336dac7f Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 11:20:06 +00:00
Python Maint
1051e1b83b Rebuilt for Python 3.13 2024-06-07 09:16:05 +02:00
Fedora Release Engineering
2f6e478992 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 03:55:55 +00:00
Fedora Release Engineering
76ee6b7a00 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 01:04:30 +00:00
Parag Nemade
484a1fc3db
Migrate to SPDX license expression 2023-08-21 10:20:26 +05:30
Fedora Release Engineering
b0f2280f89 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 09:21:14 +00:00
Yaakov Selkowitz
0a74eb1733 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.
2023-06-15 12:01:32 -04:00
Python Maint
18359fd7a1 Rebuilt for Python 3.12 2023-06-13 20:37:42 +02:00
Fedora Release Engineering
fcd9ebdf9c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 12:58:21 +00:00
Jens Petersen
c903e2a9dc switch to using enchant2 (#2121993) 2022-08-28 15:29:13 +08:00
Fedora Release Engineering
1278e8bcd2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 18:15:07 +00:00
Python Maint
eb755e74e5 Rebuilt for Python 3.11 2022-06-13 15:03:11 +02:00
Fedora Release Engineering
d90278c8b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 11:56:28 +00:00
Charalampos Stratakis
14c05f90d8 Update to 3.2.2 (rhbz#2010984) 2021-10-05 23:18:52 +02:00
Charalampos Stratakis
62c6cd5ed5 Update to 3.2.1 (rhbz#1975861) 2021-08-03 21:43:47 +02:00
Fedora Release Engineering
77ea9a7873 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 08:05:32 +00:00
Mike FABIAN
10ce1cc540 Add CI tests 2021-07-05 17:23:32 +02:00
Python Maint
4f9a7e926e Rebuilt for Python 3.10 2021-06-03 23:53:14 +02:00
Fedora Release Engineering
3b109cbce4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 10:30:24 +00:00
Charalampos Stratakis
951ef7d7a3 Drop dependency on python-nose as tests are not included 2021-01-20 17:10:44 +01:00
Charalampos Stratakis
4133a16b43 Update to 3.2.0 (rhbz#1905482) 2020-12-09 20:35:28 +01:00
Fedora Release Engineering
5ff6589e76 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 00:52:45 +00:00
Miro Hrončok
83b012e4c6 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 <thrnciar@redhat.com>
2020-07-13 21:04:31 +02:00
Charalampos Stratakis
edced1a721 Update to version 3.1.1 (rhbz#1837989) 2020-06-01 16:30:49 +02:00
Miro Hrončok
ad95579847 Rebuilt for Python 3.9 2020-05-23 20:30:47 +02:00
Charalampos Stratakis
d921bea822 Update to version 3.0.1 (rhbz#1794914) 2020-03-18 16:16:43 +01:00
Fedora Release Engineering
d090179934 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 11:58:01 +00:00
Miro Hrončok
86ee908a6c 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.
2020-01-07 19:38:37 +01:00
Miro Hrončok
dbe5d41d8c Subpackage python2-enchant has been removed 2019-09-03 11:44:08 +02:00
Miro Hrončok
d8e8499ccb Rebuilt for Python 3.8 2019-08-17 01:05:57 +02:00
Fedora Release Engineering
3bdf613634 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 13:18:47 +00:00
Fedora Release Engineering
3a732ca908 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 06:36:59 +00:00
Zbigniew Jędrzejewski-Szmek
b01c825ea3 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.
2018-11-18 21:51:32 +01:00
Fedora Release Engineering
1442bf8b7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 00:09:02 +00:00
Miro Hrončok
9cabfd67ac Rebuilt for Python 3.7 2018-06-17 21:21:23 +02:00
Charalampos Stratakis
0c1be1af6c Conditionalize the python2 subpackage 2018-03-15 14:45:45 +01:00
Fedora Release Engineering
a7b99597f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 07:41:21 +00:00
Charalampos Stratakis
7efd5d59a2 Update to 2.0.0 2017-12-11 15:32:00 +01:00
Fedora Release Engineering
9264a6f82b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 10:14:32 +00:00
Charalampos Stratakis
1b088793af Update to 1.6.10 2017-07-19 17:56:35 +02:00
Fedora Release Engineering
aa80b053e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 08:56:27 +00:00
Miro Hrončok
d8bd5ebe64 Rebuild for Python 3.6 2016-12-19 18:20:37 +01:00
Charalampos Stratakis
e7efc935cc 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.
2016-11-23 12:07:13 +01:00
Fedora Release Engineering
b295df84ed - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 09:35:28 +00:00
Radek Novacek
55fbecae61 Fix TypeError at shutdown 2016-02-11 16:03:40 +01:00
Fedora Release Engineering
80d9518d52 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 19:34:53 +00:00
Ville Skyttä
7a5ac8c942 Add dependency on enchant to python3 subpackage 2016-01-05 11:41:44 +02:00
Peter Robinson
12d03ad289 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 15:49:28 +00:00
Ville Skyttä
c62163a6df Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 11:06:40 +02:00
Dennis Gilmore
9779f94790 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 19:14:43 +00:00
Radek Novacek
b14db64aa4 Upload new source 2015-01-26 08:29:42 +01:00
Radek Novacek
048cb7ce7b Update to 1.6.6
- Enable python3 tests in the check section
2015-01-26 08:08:18 +01:00
Dennis Gilmore
79c89e3caf - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 15:06:54 -05:00
Kalev Lember
f36870fa65 Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-28 00:11:53 +02:00
Radek Novacek
1c72671f46 Disable distribute setup 2013-08-06 09:14:30 +02:00
Dennis Gilmore
62c942016c - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:29:28 -05:00
Dennis Gilmore
c7e7b21fe8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 13:28:25 -06:00
Radek Novacek
98916dcfab Disable python3 tests 2012-11-01 12:44:33 +01:00
Radek Novacek
3527320b24 Enable tests in %check 2012-11-01 11:17:23 +01:00
Radek Novacek
42f56e318c Fix upstream url and source url 2012-10-31 14:16:02 +01:00
David Malcolm
cdc1c46974 rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 2012-08-04 04:36:30 -04:00
Dennis Gilmore
ec12030347 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 01:07:54 -05:00
Dennis Gilmore
771a07db18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:42:17 -06:00
Radek Novacek
a94fe69af1 Release bump to ensure upgrade path from F16 2011-12-12 11:25:21 +01:00
Radek Novacek
3ed8f25d5c Add python3 subpackage (thanks to David Malcolm) 2011-10-12 14:15:59 +02:00
Radek Novacek
87d2dc73da Forgot to bump release 2011-09-23 16:07:00 +02:00
Radek Novacek
b2d2c7a695 Obsolete old arch-specific version 2011-09-23 16:01:38 +02:00
Radek Novacek
7417da4606 Change architecture to noarch
Change python_sitearch to python_sitelib
Changelog in no longer in source tarball
2011-09-23 15:47:39 +02:00
Radek Novacek
604f18821f Update to 1.6.5 2011-09-23 14:55:21 +02:00
Dennis Gilmore
1154c6f877 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 21:45:59 -06:00
Fedora Release Engineering
9041577276 dist-git conversion 2010-07-29 10:19:28 +00:00
dmalcolm
eeed01cbc2 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 04:12:11 +00:00
Štěpán Kasal
909b78a47d - add a require to work around a problem with libenchant versioning 2010-02-01 16:39:31 +00:00
Bill Nottingham
e28dc5cbfd Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:31:54 +00:00
Jesse Keating
f80553209a - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-26 20:21:01 +00:00
Jesse Keating
447bd2b43b - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 21:21:07 +00:00
Ignacio Vazquez-Abrams
08f6f9a0e1 Rebuild for Python 2.6 2008-11-29 15:27:25 +00:00
Jesse Keating
535b51ec98 - Autorebuild for GCC 4.3 2008-02-19 22:29:26 +00:00
Roozbeh Pournader
78885f28a0 - Update to 1.3.1
- Change license tag to LGPLv2+
2007-12-11 13:16:23 +00:00
Roozbeh Pournader
2205400ad0 - Update to 1.3.0
- Add ChangeLog and TODO.txt as documentation
2007-01-13 13:53:30 +00:00
Roozbeh Pournader
d24f6355c6 - Rebuild for Python 2.5 2006-12-09 15:58:33 +00:00
José Abílio Oliveira Matos
0b9adda996 - New upstream release 2006-11-07 11:41:49 +00:00
10 changed files with 370 additions and 83 deletions

View file

@ -1 +0,0 @@
pyenchant-1.1.5.tar.gz

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

12
.gitignore vendored Normal file
View file

@ -0,0 +1,12 @@
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
/pyenchant-2.0.0.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
/pyenchant-3.2.2.tar.gz
/pyenchant-3.3.0.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: python-enchant
# $Id: Makefile,v 1.1 2006/02/01 14:48:41 roozbeh 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
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)

272
changelog Normal file
View file

@ -0,0 +1,272 @@
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.2.2-19
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.2.2-18
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 3.2.2-16
- Rebuilt for Python 3.14
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.2.2-13
- Rebuilt for Python 3.13
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Aug 21 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 3.2.2-10
- Migrate to SPDX license expression
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.2.2-8
- Update BuildRequires to enchant2
- Check imports as a minimal test
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.2.2-7
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Aug 28 2022 Jens Petersen <petersen@redhat.com> - 3.2.2-5
- switch to using enchant2 (#2121993)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.2.2-3
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Oct 05 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.2.2-1
- Update to 3.2.2 (rhbz#2010984)
* Tue Aug 03 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.2.1-1
- Update to 3.2.1 (rhbz#1975861)
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.2.0-4
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jan 20 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.2.0-2
- Drop dependency on python-nose as tests are not included
* Wed Dec 09 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.2.0-1
- Update to 3.2.0 (rhbz#1905482)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 01 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.1.1-1
- Update to version 3.1.1 (rhbz#1837989)
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.1-2
- Rebuilt for Python 3.9
* Wed Mar 18 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.0.1-1
- Update to version 3.0.1 (rhbz#1794914)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Sep 03 2019 Miro Hrončok <mhroncok@redhat.com> - 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 <mhroncok@redhat.com> - 2.0.0-9
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 2.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-4
- Rebuilt for Python 3.7
* Thu Mar 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.0.0-3
- Conditionalize the python2 subpackage
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Dec 11 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.0.0-1
- Update to 2.0.0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 19 2017 Charalampos Stratakis <cstratak@redhat.com> - 1.6.10-1
- Update to 1.6.10
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.6.8-2
- Rebuild for Python 3.6
* Tue Nov 22 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.6.8-1
- Update to 1.6.8
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Wed Feb 10 2016 David Shea <dshea@redhat.com> - 1.6.6-7
- Fix TypeError at shutdown
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Dec 31 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.6.6-5
- Add dependency on enchant to python3 subpackage
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-4
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
* Tue Nov 10 2015 Ville Skyttä <ville.skytta@iki.fi> - 1.6.6-3
- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jan 26 2015 Radek Novacek <rnovacek@redhat.com> 1.6.6-1
- Update to 1.6.6
- Enable python3 tests in the check section
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.6.5-13
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
* Tue Aug 06 2013 Radek Novacek <rnovacek@redhat.com> 1.6.5-12
- Disable distribute setup
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Nov 01 2012 Radek Novacek <rnovacek@redhat.com> 1.6.5-9
- Enable tests in %%check
* Wed Oct 31 2012 Radek Novacek <rnovacek@redhat.com> 1.6.5-8
- Fix upstream url and source url
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.6.5-7
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Dec 12 2011 Radek Novacek <rnovacek@redhat.com> 1.6.5-4
- Release bump to ensure upgrade path from F16
* Mon Oct 10 2011 David Malcolm <dmalcolm@redhat.com> - 1.6.5-3
- add python3 subpackage
* Fri Sep 23 2011 Radek Novacek <rnovacek@redhat.com> 1.6.5-2
- Obsolete old arch-specific version
* Fri Sep 23 2011 Radek Novacek <rnovacek@redhat.com> 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 <rel-eng@lists.fedoraproject.org> - 1.3.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.3.1-7
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Mon Feb 1 2010 Stepan Kasal <skasal@redhat.com> - 1.3.1-6
- add a require to work around a problem with libenchant versioning
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-3
- Rebuild for Python 2.6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-2
- Autorebuild for GCC 4.3
* Tue Dec 11 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.1-1
- Update to 1.3.1
- Change license tag to LGPLv2+
* Sat Jan 13 2007 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.3.0-1
- Update to 1.3.0
- Add ChangeLog and TODO.txt as documentation
* Sat Dec 09 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.2.0-2
- Rebuild for Python 2.5
* Tue Nov 7 2006 José Matos <jamatos[AT]fc.up.pt> - 1.2.0-1
- New upstream release
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.1.5-5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 1.1.5-4
- Rebuild for FC-6.
- Unghost .pyo files.
* Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-3
- Rebuild for Fedora Extras 5
* Tue Feb 07 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-2
- Rebuild
* Sat Feb 04 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-1
- Update to 1.1.5
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 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 <roozbeh@farsiweb.info> - 1.1.3-1
- Initial packaging

5
plans/basic.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View file

@ -1,82 +1,63 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%global srcname enchant
Name: python-enchant
Version: 1.1.5
Release: 5%{?dist}
Version: 3.3.0
Release: %autorelease
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)
License: LGPL-2.1-or-later
URL: https://pyenchant.github.io/pyenchant/
Source: %{pypi_source pyenchant}
BuildRequires: python-devel enchant-devel
BuildRequires: python-setuptools >= 0:0.6a9
BuildArch: noarch
Provides: PyEnchant
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
library by Dom Lachowicz.
%prep
%setup -q -n pyenchant-%{version}
%package -n python3-%{srcname}
Summary: Python 3 bindings for Enchant spellchecking library
Requires: enchant2
%description -n python3-%{srcname}
PyEnchant is a spellchecking library for Python 3, based on the Enchant
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
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%pyproject_wheel
%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
%pyproject_install
%pyproject_save_files -L %{srcname}
%clean
rm -rf $RPM_BUILD_ROOT
# 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.
# On RHEL, we also exclude wx to avoid it as a dependency.
%pyproject_check_import -e '*.GtkSpellCheckerDialog' %{?rhel:-e '*.wxSpellCheckerDialog'}
%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
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst
%license LICENSE.txt
%changelog
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.1.5-5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Wed Sep 20 2006 José Matos <jamatos[AT]fc.up.pt> - 1.1.5-4
- Rebuild for FC-6.
- Unghost .pyo files.
* Tue Feb 14 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-3
- Rebuild for Fedora Extras 5
* Tue Feb 07 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-2
- Rebuild
* Sat Feb 04 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.5-1
- Update to 1.1.5
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 1.1.3-3
- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64)
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 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 <roozbeh@farsiweb.info> - 1.1.3-1
- Initial packaging
%autochangelog

View file

@ -1 +1 @@
d9a07392f1f0910635a221273ac9654d pyenchant-1.1.5.tar.gz
SHA512 (pyenchant-3.3.0.tar.gz) = b9d70697623415314d1ba145d02e8b6e37da19ad04efca5fd114c814cce9f12d0899751ec620efc6ada347754a28075ad351e81db3cf0165c4f3aad5b5ee5086

7
tests/main.fmf Normal file
View file

@ -0,0 +1,7 @@
require:
- python3
- python3-enchant
- hunspell-en-US
- hunspell-de
test: python3 test_enchant.py -v
framework: shell

31
tests/test_enchant.py Normal file
View file

@ -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', 'Altenglischen'])
if __name__ == "__main__":
unittest.main()