Search Criteria
Package Details: yt-dlp-git 2025.03.21.r6.g9d5e6de-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/yt-dlp-git.git (read-only, click to copy) |
---|---|
Package Base: | yt-dlp-git |
Description: | A youtube-dl fork with additional features and fixes (git) |
Upstream URL: | https://github.com/yt-dlp/yt-dlp |
Licenses: | Unlicense |
Conflicts: | yt-dlp |
Provides: | yt-dlp |
Submitter: | katt |
Maintainer: | katt |
Last Packager: | katt |
Votes: | 47 |
Popularity: | 1.60 |
First Submitted: | 2021-08-08 15:20 (UTC) |
Last Updated: | 2025-03-24 15:45 (UTC) |
Dependencies (25)
- python (python37AUR, python311AUR, python310AUR)
- python-certifi
- python-requests
- python-urllib3
- git (git-gitAUR, git-glAUR) (make)
- pandoc (pandoc-sile-gitAUR, pandoc-binAUR, pandoc-static-gitAUR, pandoc-cli) (make)
- python-build (make)
- python-hatchling (python-hatchling-gitAUR) (make)
- python-installer (make)
- python-pytest (check)
- aria2 (aria2-gitAUR, aria2-proAUR, aria2-fastAUR, aria2-unlimitedAUR) (optional) – for using aria2 as external downloader
- atomicparsley (optional) – for embedding thumbnails into m4a files
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR) (optional) – for video post-processing
- phantomjsAUR (phantomjs-gitAUR) (optional) – for extractors with javascript code
- python-brotli (python-brotli-gitAUR) (optional) – brotli content encoding support
- python-brotlicffi (optional) – brotli content encoding support
- python-curl-cffiAUR (optional) – for impersonating browsers
- python-mutagen (python-mutagen-gitAUR) (optional) – for embedding thumbnail in certain formats
- python-pycryptodome (optional) – for decrypting AES-128 HLS streams and various other data
- python-pycryptodomex (optional) – for decrypting AES-128 HLS streams and various other data
- Show 5 more dependencies...
Required by (150)
- alltube (requires yt-dlp)
- ani-dl (requires yt-dlp)
- archivebox (requires yt-dlp)
- arrowdl (requires yt-dlp)
- audiotube-git (requires yt-dlp)
- auto-editor (requires yt-dlp) (optional)
- bbsi (requires yt-dlp)
- bookmark-dlp (requires yt-dlp)
- catt (requires yt-dlp)
- catt-git (requires yt-dlp)
- clipdl (requires yt-dlp)
- cwitch (requires yt-dlp)
- dash-player-git (requires yt-dlp)
- doccli (requires yt-dlp)
- exmplayer-git (requires yt-dlp) (optional)
- fastanime (requires yt-dlp)
- fastanime-git (requires yt-dlp)
- feather-music-git (requires yt-dlp)
- gallery-dl (requires yt-dlp) (check)
- gallery-dl (requires yt-dlp) (optional)
- Show 130 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
drws commented on 2023-05-17 03:24 (UTC)
Probably 'phantomjs' should be listed as an optional dependency.
katt commented on 2023-05-09 14:10 (UTC) (edited on 2023-05-09 14:11 (UTC) by katt)
I'm not really a fan of the messy solution rekman came up with, unsafe ls or the solution gesh posted, the latter since it just seems to pick the first item in dist, which seems the opposite of what we want.
Either way while writing this I went and looked on the wiki page and found there are new guidelines for python VCS packages, and I will implement them shortly.
https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
rekman commented on 2023-05-09 13:58 (UTC)
I'm still not 100% sold because we shouldn't really trust times. The system clock could change for any number of reasons, daylight savings, the time zone could change. Corner cases? Yes, but these are some of the worst to debug.
gesh commented on 2023-05-09 13:42 (UTC) (edited on 2023-05-09 13:42 (UTC) by gesh)
OK, then adapt the advice in FAQ099
wheels=(dist/*.whl); python -m installer … "${wheels[0]}"
rekman commented on 2023-05-09 13:35 (UTC) (edited on 2023-05-09 13:35 (UTC) by rekman)
Parsing
ls
is considered harmful. But I agree my solution is kind of ugly.gesh commented on 2023-05-09 13:24 (UTC)
Instead, couldn't we filter the glob, eg
--destdir="$(ls "$pkgdir"/dist/*.whl | sort -n | head -n1)"
(Am afk, might've made a typo here)rekman commented on 2023-05-09 13:11 (UTC) (edited on 2023-05-09 13:12 (UTC) by rekman)
The package fails to build if there is already a wheel in
src/yt-dlp/dist/
, i.e., a previous version was built in the same directory.This is because the main packaging command uses a glob:
python -m installer --destdir="$pkgdir" dist/*.whl
but theinstaller
command excepts a single.whl
filename. Thus you can reproduce withtouch dist/test.whl
.Annoyingly it doesn't seem like there is way to ask the python build system what the name of the built wheel is. Well, it tells you something like
but this occurs in
build()
and if we read output there we'd have to put it in global scope which is unvirtuous.For now a workaround is
The
sed
step is necessary because the git tag of the latest release is2023.03.04
but as you can see the wheel filename strips leading zeros. This is not particularly future-proof because we have hardcoded the wheel tagspy2.py3-none-any
but as far as I can tell wheel tags are WRITE ONLY. Python packaging makes me want to be dead.willemw commented on 2023-04-15 06:21 (UTC)
Requires now
python-exceptiongroup
(in checkdepends).ignace1972 commented on 2023-04-02 22:03 (UTC) (edited on 2023-04-02 22:05 (UTC) by ignace1972)
Hello, katt.
Thanks to you.
Rather than risk breaking everything, I managed to solve my difficulty with these commands in normal user:
Being the only user of my computer, problem solved.
katt commented on 2023-04-02 19:17 (UTC)
@ignace1972 This is a problem with python-setuptools in Manjaro, you can use the testing branch to work around it or wait.
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »