public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
To: git-commits@fedoraproject.org
Subject: [rpms/sugar-abacus] rawhide: Stop using deprecated python setup.py build/install command in the spec
Date: Mon, 17 Aug 2026 14:39:47 GMT [thread overview]
Message-ID: <178697758775.1.1032940858337505279.rpms-sugar-abacus-4c1cc2037a36@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/sugar-abacus
Branch : rawhide
Commit : 4c1cc2037a36ff6a1ef516d10a8928b10bfc5cce
Author : Chihurumnaya Ibiam <ibiam@sugarlabs.org>
Date : 2026-08-17T15:39:21+01:00
Stats : +7/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/sugar-abacus/c/4c1cc2037a36ff6a1ef516d10a8928b10bfc5cce?branch=rawhide
Log:
Stop using deprecated python setup.py build/install command in the spec
Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
---
diff --git a/sugar-abacus.spec b/sugar-abacus.spec
index 3a28966..454c5b9 100644
--- a/sugar-abacus.spec
+++ b/sugar-abacus.spec
@@ -29,13 +29,18 @@ below (it uses base 20).
sed -i 's/python/python3/' abacus.py
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-python3 ./setup.py build
+#python3 ./setup.py build
+%pyproject_wheel
# %find_lang org.sugarlabs.AbacusActivity
%install
-python3 ./setup.py install --prefix=%{buildroot}/%{_prefix}
+#python3 ./setup.py install --prefix=%{buildroot}/%{_prefix}
+%pyproject_install
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
reply other threads:[~2026-08-17 14:39 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=178697758775.1.1032940858337505279.rpms-sugar-abacus-4c1cc2037a36@fedoraproject.org \
--to=ibiam@sugarlabs.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