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-beanbag] rawhide: Stop using deprecated py3_build/py3_install macros
Date: Tue, 18 Aug 2026 22:07:48 GMT [thread overview]
Message-ID: <178709086886.1.1543331211710698425.rpms-python-beanbag-4f8c341d4ff8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-beanbag
Branch : rawhide
Commit : 4f8c341d4ff8c8f4af2b21251dd2473494e65c09
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-17T13:36:56-03:00
Stats : +13/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-beanbag/c/4f8c341d4ff8c8f4af2b21251dd2473494e65c09?branch=rawhide
Log:
Stop using deprecated py3_build/py3_install macros
Resolves: rhbz#2377477
---
diff --git a/python-beanbag.spec b/python-beanbag.spec
index ef3a86d..fcc267c 100644
--- a/python-beanbag.spec
+++ b/python-beanbag.spec
@@ -1,6 +1,6 @@
Name: python-beanbag
Version: 1.9.2
-Release: 42%{?dist}
+Release: 43%{?dist}
Summary: A helper module for accessing REST APIs
License: MIT
URL: https://github.com/ajtowns/beanbag
@@ -21,7 +21,6 @@ Patch0: py36-metaclass-compatibility.patch
Patch1: pytest5.1-compatibility.patch
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-requests
@@ -40,7 +39,6 @@ See http://beanbag.readthedocs.org/ for more information.
%package -n python3-beanbag
Summary: A helper module for accessing REST APIs
-%{?python_provide:%python_provide python3-beanbag}
Requires: python3-requests
%description -n python3-beanbag
@@ -60,21 +58,28 @@ See http://beanbag.readthedocs.org/ for more information.
# Fix compatibility with pytest 7.2.0
sed -i "s/py\.test/pytest/g" tests/test_attrdict.py tests/test_bbv1.py
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l 'beanbag*'
%check
+%pyproject_check_import
%pytest
-%files -n python3-beanbag
+%files -n python3-beanbag -f %{pyproject_files}
%doc README.rst
-%license LICENSE
-%{python3_sitelib}/beanbag*
%changelog
+* Mon Aug 17 2026 Filipe Rosset <rosset.filipe@gmail.com> - 1.9.2-43
+- Stop using deprecated py3_build/py3_install macros
+- Resolves: rhbz#2377477
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-08-18 22:07 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=178709086886.1.1543331211710698425.rpms-python-beanbag-4f8c341d4ff8@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