public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gns3-server] rawhide: convert to pyproject
@ 2026-07-31  8:58 Nicolas Chauvet
  0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-07-31  8:58 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-31  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31  8:58 [rpms/gns3-server] rawhide: convert to pyproject Nicolas Chauvet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox