public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-flufl-bounce] epel10: Update to 4.0
Date: Tue, 03 Nov 2026 18:29:20 GMT	[thread overview]
Message-ID: <179373056004.1.16479990185704731089.rpms-python-flufl-bounce-ddba00e79b76@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-03 18:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179373056004.1.16479990185704731089.rpms-python-flufl-bounce-ddba00e79b76@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox