public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-flufl-bounce] epel10: Update to 4.0
@ 2026-11-03 18:29 Michel Lind
0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-11-03 18:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-flufl-bounce
Branch : epel10
Commit : ddba00e79b762961878c2f03a7d4b993596411b1
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2023-08-29T17:21:16-04:00
Stats : +31/-78 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-flufl-bounce/c/ddba00e79b762961878c2f03a7d4b993596411b1?branch=epel10
Log:
Update to 4.0
- Use SPDX license identifier
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 85f44d8..b80039d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/flufl.bounce-2.3.tar.gz
/flufl.bounce-3.0.tar.gz
+/flufl.bounce-4.0.tar.gz
diff --git a/python-flufl-bounce.spec b/python-flufl-bounce.spec
index 231ac41..4b52451 100644
--- a/python-flufl-bounce.spec
+++ b/python-flufl-bounce.spec
@@ -1,102 +1,54 @@
-%global srcname flufl.bounce
-%global pkgname flufl-bounce
-%global summary Email bounce detectors
-%global _description \
-The flufl.bounce library provides a set of heuristics and an API for \
-detecting the original bouncing email addresses from a bounce message. Many \
-formats found in the wild are supported, as are VERP and RFC 3464 (DSN).
-
-
-Name: python-%{pkgname}
-Version: 3.0
+Name: python-flufl-bounce
+Version: 4.0
Release: %autorelease
-Summary: %{summary}
+Summary: Email bounce detectors
-License: ASL 2.0
-URL: https://gitlab.com/warsaw/flufl.bounce
-Source0: https://files.pythonhosted.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz
-BuildArch: noarch
-
-BuildRequires: python-srpm-macros
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: python%{python3_pkgversion}-zope-interface
-BuildRequires: python%{python3_pkgversion}-atpublic
-BuildRequires: python%{python3_pkgversion}-nose2
-%if 0%{?with_python3_other}
-BuildRequires: python%{python3_other_pkgversion}-devel
-BuildRequires: python%{python3_other_pkgversion}-setuptools
-BuildRequires: python%{python3_other_pkgversion}-zope-interface
-BuildRequires: python%{python3_other_pkgversion}-atpublic
-BuildRequires: python%{python3_other_pkgversion}-nose2
-%endif
+License: Apache-2.0
+URL: https://fluflbounce.readthedocs.io/en/latest/
+Source: %{pypi_source flufl.bounce}
-%description %{_description}
+BuildArch: noarch
+BuildRequires: python3-devel
-%package -n python%{python3_pkgversion}-%{pkgname}
-Summary: %{summary}
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
-Requires: python%{python3_pkgversion}-setuptools
-Requires: python%{python3_pkgversion}-zope-interface
-Requires: python%{python3_pkgversion}-atpublic
+# Fill in the actual package description to submit package to Fedora
+%global _description %{expand:
+The flufl.bounce library provides a set of heuristics and an API for detecting
+the original bouncing email addresses from a bounce message. Many formats found
+in the wild are supported, as are VERP and RFC 3464 (DSN).}
-%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
+%description %_description
-%if 0%{?with_python3_other}
-%package -n python%{python3_other_pkgversion}-%{pkgname}
+%package -n python3-flufl-bounce
Summary: %{summary}
-%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pkgname}}
-Requires: python%{python3_other_pkgversion}-setuptools
-Requires: python%{python3_other_pkgversion}-zope-interface
-Requires: python%{python3_other_pkgversion}-atpublic
-%description -n python%{python3_other_pkgversion}-%{pkgname} %{_description}
-%endif
+%description -n python3-flufl-bounce %_description
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -p1 -n flufl.bounce-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires -t
%build
-%py3_build
-%if 0%{?with_python3_other}
-%py3_other_build
-%endif
+%pyproject_wheel
%install
-%py3_install
-%if 0%{?with_python3_other}
-%py3_other_install
-%endif
-
-# This will go in %%doc
-rm -rf %{buildroot}%{_prefix}/lib*/python*/site-packages/flufl/bounce/{*.rst,docs,conf.py}
+%pyproject_install
+%pyproject_save_files flufl
%check
-%{__python3} setup.py test
-%if 0%{?with_python3_other}
-%{__python3_other} setup.py test
-%endif
-
-
-%files -n python%{python3_pkgversion}-%{pkgname}
-%doc flufl/bounce/README.rst flufl/bounce/NEWS.rst flufl/bounce/docs/using.rst
-%{python3_sitelib}/flufl/
-%{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}.egg-info/
-%{python3_sitelib}/%{srcname}-%{version}*-py%{python3_version}-nspkg.pth
-
-%if 0%{?with_python3_other}
-%files -n python%{python3_other_pkgversion}-%{pkgname}
-%doc flufl/bounce/README.rst flufl/bounce/NEWS.rst flufl/bounce/docs/using.rst
-%{python3_other_sitelib}/flufl/
-%{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_other_version}.egg-info/
-%{python3_other_sitelib}/%{srcname}-%{version}*-py%{python3_other_version}-nspkg.pth
-%endif
+%pyproject_check_import
+
+
+%files -n python3-flufl-bounce -f %{pyproject_files}
+%{python3_sitelib}/flufl.bounce-%{version}-py%{python3_version}-nspkg.pth
%changelog
diff --git a/sources b/sources
index ef9a45f..8964832 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (flufl.bounce-3.0.tar.gz) = f6effe38c80e1e5e1119d7951a1a32bb9b91fc52db0887eee4ebb74e005ad5cf48351311985a3169649301efe9273d3fe480b3dded7eff3b77b73312d0416f45
+SHA512 (flufl.bounce-4.0.tar.gz) = c6dd8cf2f4f0ea7c8698054042dfc9da3bd1a2d9cae082e01a0be9c39018fefba07154e2c9c15b1a00c896e58bb0a6d2063a3c067bec6b464d201bb7b3220e9e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 18:29 [rpms/python-flufl-bounce] epel10: Update to 4.0 Michel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox