gnu: epour: Switch to pyproject-build-system.

* gnu/packages/enlightenment.scm (epour)
  [arguments, build-system]: Switch to pyproject-build-system.
  [native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I0e336797730667d757bdece3064ad6537b974d0c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-06-15 15:58:19 +02:00 committed by Sharlatan Hellseher
parent 4e20fad932
commit 54b461b290
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -31,6 +31,7 @@
#:use-module (guix utils)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages bittorrent)
@ -63,6 +64,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages tls)
#:use-module (gnu packages video)
@ -570,11 +572,10 @@ directories.
"/epour-" version ".tar.xz"))
(sha256
(base32 "0g9f9p01hsq6dcf4cs1pwq95g6fpkyjgwqlvdjk1km1i5gj5ygqw"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
(list
#:tests? #f ;no test target
#:use-setuptools? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'find-theme-dir
@ -582,7 +583,8 @@ directories.
(substitute* "epour/gui/__init__.py"
(("join\\(data_path")
(string-append "join(\"" #$output "/share/epour\""))))))))
(native-inputs (list intltool python-distutils-extra))
(native-inputs (list intltool python-distutils-extra python-setuptools
python-wheel))
(inputs (list libtorrent-rasterbar-1.2 python-dbus python-efl python-pyxdg))
(home-page "https://www.enlightenment.org")
(synopsis "EFL Bittorrent client")