public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-raven] rawhide: Use pyproject build macros, fix license tag to BSD-3-Clause (rhbz#2378587)
Date: Sun, 15 Nov 2026 19:49:39 GMT	[thread overview]
Message-ID: <179477217960.1.18173026208087397763.rpms-python-raven-2bcb1d7a85f2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-raven
Branch : rawhide
Commit : 2bcb1d7a85f2e4d2d9bdc259600296cbb1f54ba4
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-15T16:39:15-03:00
Stats  : +11/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-raven/c/2bcb1d7a85f2e4d2d9bdc259600296cbb1f54ba4?branch=rawhide

Log:
Use pyproject build macros, fix license tag to BSD-3-Clause (rhbz#2378587)

---
diff --git a/python-raven.spec b/python-raven.spec
index 4d78253..33d5a05 100644
--- a/python-raven.spec
+++ b/python-raven.spec
@@ -1,18 +1,16 @@
 Name:           python-raven
 
 Version:        6.10.0
-Release:        31%{?dist}
+Release:        32%{?dist}
 Summary:        Python client for Sentry
 
-# Automatically converted from old format: BSD - review is highly recommended.
-License:        LicenseRef-Callaway-BSD
+License:        BSD-3-Clause
 URL:            https://pypi.python.org/pypi/raven/
 Source0:        https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
 Patch0:         raven-use-system-cacert.patch
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
-BuildRequires:  python3-setuptools
 #needed for check:
 #BuildRequires:  python3-contextlib2
 #BuildRequires:  python3-flask-login
@@ -33,7 +31,6 @@ application.
 
 %package -n python3-raven
 Summary:        Python client for Sentry
-%{?python_provide:%python_provide python3-raven}
 
 %description -n python3-raven
 Raven is a Python client for Sentry <http://getsentry.com>. It provides full
@@ -41,7 +38,7 @@ out-of-the-box support for many of the popular frameworks, including Django,
 and Flask. Raven also includes drop-in support for any WSGI-compatible web
 application.
 
-%{?python_extras_subpkg:%python_extras_subpkg -n python3-raven -i %{python3_sitelib}/*.egg-info flask}
+%pyproject_extras_subpkg -n python3-raven flask
 
 %prep
 %setup -q -n raven-%{version}
@@ -50,11 +47,14 @@ application.
 rm raven/data/cacert.pem
 rmdir raven/data
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%{__python3} setup.py build
+%pyproject_wheel
 
 %install
-%{__python3} setup.py install --skip-build --root=%{buildroot}
+%pyproject_install
 
 %check
 #Disable check for now because of missing dependency pytest-timeout
@@ -67,6 +67,9 @@ rmdir raven/data
 %{python3_sitelib}/*
 
 %changelog
+* Sun Nov 15 2026 Filipe Rosset <rosset.filipe@gmail.com> - 6.10.0-32
+- Use pyproject build macros, fix license tag to BSD-3-Clause (rhbz#2378587)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.10.0-31
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-11-15 19:49 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=179477217960.1.18173026208087397763.rpms-python-raven-2bcb1d7a85f2@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --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