public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-raven] rawhide: Use pyproject build macros, fix license tag to BSD-3-Clause (rhbz#2378587)
@ 2026-11-15 19:49 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-15 19:49 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-15 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15 19:49 [rpms/python-raven] rawhide: Use pyproject build macros, fix license tag to BSD-3-Clause (rhbz#2378587) Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox