2019-12-02 11:54:33 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-flufl.bounce
|
|
|
|
#
|
2024-02-09 02:16:05 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2019-12-02 11:54:33 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-06-13 16:09:45 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2019-12-02 11:54:33 +00:00
|
|
|
Name: python-flufl.bounce
|
2021-11-19 01:41:49 +00:00
|
|
|
Version: 4.0
|
2019-12-02 11:54:33 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Email bounce detectors
|
|
|
|
License: Apache-2.0
|
|
|
|
URL: https://fluflbounce.readthedocs.io/en/latest/
|
|
|
|
# https://gitlab.com/warsaw/flufl.bounce/merge_requests/10
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/f/flufl.bounce/flufl.bounce-%{version}.tar.gz
|
|
|
|
Source1: https://gitlab.com/warsaw/flufl.bounce/raw/master/LICENSE
|
2024-02-09 02:16:05 +00:00
|
|
|
# PATCH-FIX-UPSTREAM https://gitlab.com/warsaw/flufl.bounce/-/merge_requests/21
|
|
|
|
Patch0: use-correct-assertion-methods.patch
|
|
|
|
BuildRequires: %{python_module pip}
|
2019-12-02 11:54:33 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-02-09 02:16:05 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-12-02 11:54:33 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-atpublic
|
|
|
|
Requires: python-zope.interface
|
|
|
|
# SECTION test requirements
|
|
|
|
BuildRequires: %{python_module atpublic}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module zope.interface}
|
|
|
|
# /SECTION
|
2021-11-19 01:41:49 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildArch: noarch
|
2019-12-02 11:54:33 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Email bounce detectors.
|
|
|
|
|
|
|
|
%prep
|
2024-02-09 02:16:05 +00:00
|
|
|
%autosetup -p1 -n flufl.bounce-%{version}
|
2019-12-02 11:54:33 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cp %{SOURCE1} .
|
2024-02-09 02:16:05 +00:00
|
|
|
%pyproject_wheel
|
2019-12-02 11:54:33 +00:00
|
|
|
|
|
|
|
%install
|
2024-02-09 02:16:05 +00:00
|
|
|
%pyproject_install
|
2019-12-02 11:54:33 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE
|
2022-07-04 14:28:45 +00:00
|
|
|
%dir %{python_sitelib}/flufl
|
|
|
|
%{python_sitelib}/flufl/bounce
|
|
|
|
%{python_sitelib}/flufl.bounce-*.pth
|
2024-02-09 02:16:05 +00:00
|
|
|
%{python_sitelib}/flufl.bounce-%{version}.dist-info
|
2019-12-02 11:54:33 +00:00
|
|
|
|
|
|
|
%changelog
|