public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gns3-server] rawhide: convert to pyproject
Date: Fri, 31 Jul 2026 08:58:07 GMT [thread overview]
Message-ID: <178548828722.1.3140826391642952476.rpms-gns3-server-dad11ada0656@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gns3-server
Branch : rawhide
Commit : dad11ada0656a8fd55e59bfc68c1fbb322f5d954
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2026-07-31T10:48:18+02:00
Stats : +10/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gns3-server/c/dad11ada0656a8fd55e59bfc68c1fbb322f5d954?branch=rawhide
Log:
convert to pyproject
---
diff --git a/gns3-server.spec b/gns3-server.spec
index b7d9b06..03da366 100644
--- a/gns3-server.spec
+++ b/gns3-server.spec
@@ -19,9 +19,9 @@ BuildArch: noarch
BuildRequires: git-core
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
%{?systemd_requires}
BuildRequires: systemd
+BuildRequires: python3-prompt-toolkit
BuildRequires: python3-sphinx
BuildRequires: make
@@ -71,11 +71,15 @@ cat >gns3-server.sysusers.conf <<EOF
u gns3 - 'gns3 server' /var/lib/gns3 -
EOF
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l gns3server
# Remove shebang
find %{buildroot}/%{python3_sitelib}/ -name '*.py' -print \
@@ -101,15 +105,15 @@ install -m0644 -D gns3-server.sysusers.conf %{buildroot}%{_sysusersdir}/gns3-ser
%endif
%check
+# Missing prompt_toolkit.key_binding.input_processor and tests works on MSW
+%pyproject_check_import || :
-%files
+%files -f %{pyproject_files}
%license LICENSE
%doc README.md AUTHORS CHANGELOG
-%{python3_sitelib}/gns3_server*.egg-info/
%ghost %{python3_sitelib}/gns3server/disks/OVMF_CODE.fd
%ghost %{python3_sitelib}/gns3server/disks/OVMF_VARS.fd
-%{python3_sitelib}/gns3server/
%{_bindir}/gns3server
%{_bindir}/gns3vmnet
%{_bindir}/gns3loopback
reply other threads:[~2026-07-31 8:58 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=178548828722.1.3140826391642952476.rpms-gns3-server-dad11ada0656@fedoraproject.org \
--to=kwizart@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