Accepting request 1114528 from home:bnavigator:branches:Application:ERP:GNUHealth:Factory
- Move to PEP517 - Add sle15_python_module_pythons (for mygnuhealth) OBS-URL: https://build.opensuse.org/request/show/1114528 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=36
This commit is contained in:
parent
1892228500
commit
7ca499dce4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 30 09:49:17 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Move to PEP517
|
||||
- Add sle15_python_module_pythons (for mygnuhealth)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 07:59:05 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyenchant
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,8 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyenchant
|
||||
Version: 3.2.2
|
||||
Release: 0
|
||||
@ -25,8 +24,10 @@ Summary: Python bindings for the Enchant spellchecking system
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://pyenchant.github.io/pyenchant
|
||||
Source: https://github.com/pyenchant/pyenchant/archive/v%{version}.tar.gz#/pyenchant-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: enchant-2-backend-hunspell
|
||||
%else
|
||||
@ -56,10 +57,10 @@ chmod a-x *.txt
|
||||
rm -rf website .github archive tools
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -71,6 +72,6 @@ export LANG=en_US.UTF-8
|
||||
%license LICENSE.txt
|
||||
%doc README.rst TODO.txt
|
||||
%{python_sitelib}/enchant
|
||||
%{python_sitelib}/pyenchant-%{version}-py*.egg-info
|
||||
%{python_sitelib}/pyenchant-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user