Compare commits

..

No commits in common. "rawhide" and "f43" have entirely different histories.

3 changed files with 4 additions and 10 deletions

1
.gitignore vendored
View file

@ -9,4 +9,3 @@ 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

View file

@ -1,7 +1,7 @@
%global srcname enchant
Name: python-enchant
Version: 3.3.0
Version: 3.2.2
Release: %autorelease
Summary: Python bindings for Enchant spellchecking library
@ -13,10 +13,8 @@ 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
@ -34,8 +32,6 @@ 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
@ -50,9 +46,8 @@ sed -i "/size=wxSpellCheckerDialog\.sz/s/wxSpellCheckerDialog\.//" enchant/check
# 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'}
# as it utilizes the legacy PyGTK bindings
%pyproject_check_import -e '*.GtkSpellCheckerDialog'
%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst

View file

@ -1 +1 @@
SHA512 (pyenchant-3.3.0.tar.gz) = b9d70697623415314d1ba145d02e8b6e37da19ad04efca5fd114c814cce9f12d0899751ec620efc6ada347754a28075ad351e81db3cf0165c4f3aad5b5ee5086
SHA512 (pyenchant-3.2.2.tar.gz) = 65dd6abf51f7dd45d9879c63d9a1d34a4682ef37da961d0eb41849c6bbb707d94d079f5581b5f695a01fd9a9b68e9456d487b4423ed8382882f22eeeb6b080f8