diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index c55b3e5..3347cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,3 @@ 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 -/pyenchant-3.3.0.tar.gz diff --git a/changelog b/changelog deleted file mode 100644 index ea42345..0000000 --- a/changelog +++ /dev/null @@ -1,272 +0,0 @@ -* 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/plans/basic.fmf b/plans/basic.fmf deleted file mode 100644 index c1627f9..0000000 --- a/plans/basic.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: Basic smoke test -discover: - how: fmf -execute: - how: tmt diff --git a/python-enchant.spec b/python-enchant.spec index 3854a73..4c0ccca 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,22 +1,19 @@ +# 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.3.0 -Release: %autorelease +Version: 3.2.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library -License: LGPL-2.1-or-later -URL: https://pyenchant.github.io/pyenchant/ -Source: %{pypi_source pyenchant} +License: LGPLv2+ +URL: http://packages.python.org/pyenchant/ +Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz BuildArch: noarch - -BuildRequires: enchant2 -BuildRequires: python3-devel -%if %{undefined rhel} -# For importing the wxSpellCheckerDialog module -BuildRequires: python3-wxpython4 -%endif +BuildRequires: enchant-devel %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -26,38 +23,262 @@ library by Dom Lachowicz. %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library -Requires: enchant2 +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +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. %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 +%setup -q -n py%{srcname}-%{version} +# Remove bundled egg-info +rm -rf py%{srcname}.egg-info -%generate_buildrequires -%pyproject_buildrequires +find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %build -%pyproject_wheel +%py3_build %install -%pyproject_install -%pyproject_save_files -L %{srcname} +%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 + # 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'} +#%%check -%files -n python3-%{srcname} -f %{pyproject_files} + +%files -n python3-%{srcname} %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 -%autochangelog +* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 +- Update to 3.2.1 (rhbz#1975861) + +* 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/sources b/sources index be597a1..9478869 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.3.0.tar.gz) = b9d70697623415314d1ba145d02e8b6e37da19ad04efca5fd114c814cce9f12d0899751ec620efc6ada347754a28075ad351e81db3cf0165c4f3aad5b5ee5086 +SHA512 (pyenchant-3.2.1.tar.gz) = bb8194be0e4181816910558673f1486e283802f9248e1b1e92da94fe8c6c0f568baeeaa19ae6324c3577c78ed22543b8f73620bd53e83a8c87c35e24bf3f2ff7 diff --git a/tests/main.fmf b/tests/main.fmf deleted file mode 100644 index bce47e5..0000000 --- a/tests/main.fmf +++ /dev/null @@ -1,7 +0,0 @@ -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 deleted file mode 100644 index 255714c..0000000 --- a/tests/test_enchant.py +++ /dev/null @@ -1,31 +0,0 @@ -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()