[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: |
Fri, 22 Nov 2024 06:00:54 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 1399e23cde39f12ad8d5cedc1a5757dec910ae8e
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 d052ca8e47..59ed1ef45a 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3363,20 +3363,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
- 232/361: gnu: python-django-4.2: Adjust inputs., (continued)
- 232/361: gnu: python-django-4.2: Adjust inputs., guix-commits, 2024/11/22
- 233/361: gnu: python-immutables: Update to 0.21., guix-commits, 2024/11/22
- 234/361: gnu: python-jsonpickle: Adjust inputs., guix-commits, 2024/11/22
- 236/361: gnu: python-lightning-utilities: Adjust inputs., guix-commits, 2024/11/22
- 243/361: gnu: python-twine: Adjust inputs., guix-commits, 2024/11/22
- 244/361: gnu: python-notebook: Disable more failing tests., guix-commits, 2024/11/22
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/22
- 255/361: gnu: Add python-stdio-mgr., guix-commits, 2024/11/22
- 259/361: gnu: python-elasticsearch: Update to 7.17.12., guix-commits, 2024/11/22
- 258/361: gnu: python-scrapy: Fix build., guix-commits, 2024/11/22
- 260/361: gnu: ytcc: Fix build.,
guix-commits <=
- 269/361: gnu: python-pytest-openfiles: Adjust inputs., guix-commits, 2024/11/22
- 271/361: gnu: python-pytest-virtualenv: Update to 1.8.0., guix-commits, 2024/11/22
- 270/361: gnu: python-pytest-shutil: Update to 1.8.0., guix-commits, 2024/11/22
- 286/361: gnu: Add python-poetry-plugin-export., guix-commits, 2024/11/22
- 287/361: gnu: Add python-pypa-installer., guix-commits, 2024/11/22
- 288/361: gnu: poetry: Fix build., guix-commits, 2024/11/22
- 294/361: gnu: Remove python-pyproject-metadata-0.7., guix-commits, 2024/11/22
- 295/361: gnu: python-distributed: Adjust inputs., guix-commits, 2024/11/22
- 302/361: gnu: Remove python-pluggy-next., guix-commits, 2024/11/22
- 332/361: gnu: python-jsonschema: Update to 4.23.0., guix-commits, 2024/11/22