From 643c0dc5137bfca1ef597bf24877aa1ee7a5602b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 19 May 2026 11:03:27 +0100 Subject: gnu: python-yewtube: Update to 2.13.1. * gnu/packages/video.scm (python-yewtube): Update to 2.13.1. [phases]{relax-requirements}: Substitute specific httpx constrain. {configure-tests}: Remove phase. {set-home}: New phase. [propagated-inputs]: Remove python-youtube-search; add python-yewtube-search. [native-inputs]: Remove python-dbus-1.2; add python-dbus. Change-Id: I8d1f9d8d310fcbec740630fcb8b8e7aa45be4a08 --- gnu/packages/video.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 06f6bad244..743fcfbc62 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -6902,7 +6902,7 @@ can also directly record to WebM or MP4 if you prefer.") (define-public python-yewtube (package (name "python-yewtube") - (version "2.12.1") + (version "2.13.1") (source (origin (method git-fetch) @@ -6911,7 +6911,7 @@ can also directly record to WebM or MP4 if you prefer.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1bvn1zcycsq2gnvs10hn82ic8zp9q4s9gmmi6flahg3wavpnspzr")))) + (base32 "02z4z2a5wy3fz8819fd7k3r4vkjdii0li4x3nfdpx4jqdlr504k9")))) (build-system pyproject-build-system) (arguments (list @@ -6933,13 +6933,12 @@ can also directly record to WebM or MP4 if you prefer.") (("__version__ =.*") (format #f "__version__ = ~s~%" #$version))) (substitute* "requirements.txt" - (("httpx.*") - "httpx\n")))) - (add-before 'check 'configure-tests + (("httpx<0.28") "httpx")))) + (add-before 'sanity-check 'set-home (lambda _ - (setenv "HOME" (getcwd))))))) + (setenv "HOME" "/tmp")))))) (native-inputs - (list python-dbus-1.2 + (list python-dbus python-pygobject python-pytest python-setuptools)) @@ -6947,7 +6946,7 @@ can also directly record to WebM or MP4 if you prefer.") (list python-pylast python-pyperclip python-requests - python-youtube-search + python-yewtube-search yt-dlp)) (home-page "https://github.com/mps-youtube/yewtube") (synopsis "Terminal based YouTube player and downloader") -- cgit v1.3