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: Replace deprecated setup.py commands with bundlebuilder
Date: Sat, 24 Oct 2026 15:09:21 GMT	[thread overview]
Message-ID: <179285456134.1.8757553742288122268.rpms-sugar-abacus-1f40fb377629@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sugar-abacus
            Branch : rawhide
            Commit : 1f40fb37762906d7126d7be0fa4074fe1a360643
            Author : Chihurumnaya Ibiam <ibiam@sugarlabs.org>
            Date   : 2026-10-24T16:08:57+01:00
            Stats  : +6/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/sugar-abacus/c/1f40fb37762906d7126d7be0fa4074fe1a360643?branch=rawhide

            Log:
            Replace deprecated setup.py commands with bundlebuilder

Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>

---
diff --git a/sugar-abacus.spec b/sugar-abacus.spec
index 454c5b9..6c41c0f 100644
--- a/sugar-abacus.spec
+++ b/sugar-abacus.spec
@@ -1,6 +1,6 @@
 Name:           sugar-abacus
 Version:        61
-Release:        17%{?dist}
+Release:        18%{?dist}
 Summary:        A simple abacus activity for Sugar
 
 License:        LGPL-3.0-or-later
@@ -29,18 +29,11 @@ below (it uses base 20).
 
 sed -i 's/python/python3/' abacus.py
 
-%generate_buildrequires
-%pyproject_buildrequires
-
 %build
-#python3 ./setup.py build
-%pyproject_wheel
-
-# %find_lang org.sugarlabs.AbacusActivity
+bundlebuilder build
 
 %install
-#python3 ./setup.py install --prefix=%{buildroot}/%{_prefix}
-%pyproject_install
+bundlebuilder install --prefix=%{buildroot}/%{_prefix}
 rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
 
 # https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
@@ -54,6 +47,9 @@ rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
 %{sugaractivitydir}/Abacus.activity/
 
 %changelog
+* Sat Oct 24 2026 Chihurumnaya Ibiam <ibiam@sugarlabs.org> - 61-18
+- Replace deprecated setup.py commands with bundlebuilder
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 61-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-10-24 15:09 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=179285456134.1.8757553742288122268.rpms-sugar-abacus-1f40fb377629@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