[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
260/361: gnu: ytcc: Fix build.
From: |
guix-commits |
Subject: |
260/361: gnu: ytcc: Fix build. |
Date: |
Thu, 21 Nov 2024 06:29:30 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 97a5e4dd7962a989d32150c8c730122441b1d45e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Nov 6 22:55:04 2024 +0000
gnu: ytcc: Fix build.
* gnu/packages/video.scm (ytcc): Fix build and enable tests.
[source]: Swap to git checkout containing tests.
[arguments]<test-flags>: Disable some failing tests.
[inputs]: Remove python-urllib3-next; add python-urllib3.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I93d958e2306544f51827308116e8a694058e9a9e
---
gnu/packages/video.scm | 42 ++++++++++++++++++++++++++++++------------
1 file changed, 30 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6121e57554..7e4ac36579 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3364,20 +3364,38 @@ Both command-line and GTK2 interface are available.")
(version "2.6.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ytcc" version))
+ (method git-fetch) ; no tests in PyPI
+ (uri (git-reference
+ (url "https://github.com/woefe/ytcc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0laaj7m9mkn421hsljaqyhj2az641lg4y7ym6l8jl1xgs1vl9b4b"))))
+ (base32 "03rypw9sycardmrxc7hb0iak8zdxz1snv55fbpzyp79yi2iawbd4"))))
(build-system pyproject-build-system)
- (inputs (list python-click
- python-wcwidth
- python-websockets
- python-urllib3-next
- python-requests-next
- python-pycryptodomex
- python-mutagen
- python-brotli
- yt-dlp))
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" (string-append "not test_subscribe"
+ " and not test_bug_report_command"
+ " and not test_download"
+ " and not test_import"
+ " and not test_import_duplicate"
+ " and not test_play_video"
+ " and not test_update"))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (inputs
+ (list python-click
+ python-wcwidth
+ python-websockets
+ python-urllib3
+ python-requests-next
+ python-pycryptodomex
+ python-mutagen
+ python-brotli
+ yt-dlp))
(home-page "https://github.com/woefe/ytcc")
(synopsis "Command line tool to keep track of your favorite playlists")
(description "ytcc is a command line tool to keep track of your favorite
- 322/361: gnu: python-execnet: Update to 2.1.1., (continued)
- 322/361: gnu: python-execnet: Update to 2.1.1., guix-commits, 2024/11/21
- 323/361: gnu: python-flaky: Update to 3.8.1., guix-commits, 2024/11/21
- 335/361: gnu: python-numpy: Update to 1.24.4., guix-commits, 2024/11/21
- 338/361: gnu: python-watchdog: Update to 6.0.0., guix-commits, 2024/11/21
- 336/361: gnu: python-isort: Update to 5.13.2., guix-commits, 2024/11/21
- 348/361: gnu: python-itsdangerous: Update to 2.2.0., guix-commits, 2024/11/21
- 361/361: gnu: python-pydantic: Update to 1.10.19., guix-commits, 2024/11/21
- 238/361: gnu: python-parameterized-next: Adjust inputs., guix-commits, 2024/11/21
- 245/361: gnu: nikola: Fix build., guix-commits, 2024/11/21
- 257/361: gnu: python-defusedxml: Update to 0.7.1., guix-commits, 2024/11/21
- 260/361: gnu: ytcc: Fix build.,
guix-commits <=
- 249/361: gnu: python-cucumber-tag-expressions: Update to 6.1.1., guix-commits, 2024/11/21
- 267/361: gnu: python-unyt: Adjust inputs., guix-commits, 2024/11/21
- 264/361: gnu: hangups: Fix build., guix-commits, 2024/11/21
- 298/361: gnu: python-exceptiongroup: Move to python-build., guix-commits, 2024/11/21
- 274/361: gnu: python-cplot: Adjust inputs., guix-commits, 2024/11/21
- 301/361: gnu: Remove python-pytest-next., guix-commits, 2024/11/21
- 324/361: gnu: python-tomli: Update to 2.1.0., guix-commits, 2024/11/21
- 316/361: gnu: python-cffi: Improve package style., guix-commits, 2024/11/21
- 306/361: gnu: python-pytest-timeout: Update to 2.3.1., guix-commits, 2024/11/21
- 307/361: gnu: python-pytest-forked: Disable tests., guix-commits, 2024/11/21