Github messages for voidlinux
 help / color / mirror / Atom feed
From: dmarto <dmarto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: yt-dlp: fix depends
Date: Fri, 10 Mar 2023 00:25:07 +0100	[thread overview]
Message-ID: <20230309232507.scPvcnkZXf4qsM7KsMPwo3Qc0hKEpG3iUbszJEzcx-A@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42661@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 7491 bytes --]

New comment by dmarto on void-packages repository

https://github.com/void-linux/void-packages/pull/42661#issuecomment-1462829625

Comment:
```
$ xbps-query -x yt-dlp
python3>=0
```

and I don't have `pip` installed (or other global packet managers), all global stuff is left to xbps (around 40 python3-* pkgs)

```$ xbps-query -s python```
<details>
<summary>
click for output
</summary>

```
[*] autopep8-2.0.2_1                   Automatically formats Python code to conform to the PEP 8 style guide
[*] imath-3.1.6_1                      C++/Python library for 2D/3D vector/matrix/math operations
[*] python3-3.11.2_1                   Python programming language (3.11 series)
[*] python3-Pillow-9.4.0_1             Python Imaging Library (PIL) for for Python3
[*] python3-PyQt5-5.15.9_1             Python 3 bindings for the Qt5 toolkit
[*] python3-PyQt5-svg-5.15.9_1         Python 3 bindings for the Qt5 toolkit - svg module
[*] python3-PyQt5-webchannel-5.15.9_1  Python 3 bindings for the Qt5 toolkit - webchannel module
[*] python3-PyQt5-webengine-5.15.6_2   Python 3 bindings for the Qt5 toolkit - webengine module
[*] python3-appdirs-1.4.4_5            Python3 module for determining appropriate platform-specific dirs
[*] python3-cairo-1.20.1_5             Python3 bindings for the cairo graphics library
[*] python3-charset-normalizer-3.0.1_1 Encoding and language detection
[*] python3-colorama-0.4.5_2           Cross-platform colored terminal text (Python3)
[*] python3-colour-0.1.5_1             Python library, converts and manipulates various color representation
[*] python3-cssselect-1.1.0_7          CSS selectors for Python3
[*] python3-daemonize-2.5.0_7          Daemonize is a library for writing system daemons in Python (Python3)
[*] python3-dbus-1.2.18_3              D-Bus Python3 bindings
[*] python3-devel-3.11.2_1             Python programming language (3.11 series) - development files
[*] python3-distro-1.7.0_2             OS platform information API
[*] python3-gobject-3.42.2_2           Python3 bindings for GObject
[*] python3-idna-3.4_2                 Internationalized Domain Names in Applications (IDNA) for Python3
[*] python3-inotify-0.9.6_8            Monitoring filesystems events with inotify on Linux (Python3)
[*] python3-lxml-4.9.2_1               Python binding for the libxml2 and libxslt libraries
[*] python3-mutagen-1.46.0_2           Python3 multimedia tagging library
[*] python3-numpy-1.24.2_1             Fast and sophisticated array facility to Python3
[*] python3-openrazer-3.5.1_1          Python library for accessing the Razer daemon from Python
[*] python3-pam-1.8.4_7                Python3 module for PAM authentication
[*] python3-pexpect-4.8.0_3            Python3 module for spawning child applications and controlling them
[*] python3-psutil-5.9.4_1             Cross-platform process and system utilities module for Python3
[*] python3-ptyprocess-0.7.0_3         Run a subprocess in a pseudo terminal (Python3)
[*] python3-pycodestyle-2.10.0_1       Python style guide checker (formerly called pep8)
[*] python3-pytz-2022.7.1_1            Python3 timezone library
[*] python3-pyudev-0.24.0_1            Python bindings to libudev (Python3)
[*] python3-requests-2.28.2_1          Python3 HTTP library for human beings
[*] python3-scour-0.38.2_3             SVG scrubber (Python3)
[*] python3-setproctitle-1.2.1_3       Python3 library to allow customization of the process title
[*] python3-setuptools-67.6.0_1        Easily build and distribute Python3 packages
[*] python3-sip-PyQt5-12.11.1_1        Python 3 PyQt5 SIP bindings with C and C++
[*] python3-six-1.16.0_3               Python 2 and 3 compatibility utilities (Python3)
[*] python3-tinycss-0.4_5              Complete yet simple CSS parser for Python
[*] python3-tkinter-3.11.2_1           Python programming language - GUI toolkit for Python3
[*] python3-toml-0.10.2_3              Python3 library for TOML
[*] python3-urllib3-1.26.12_1          HTTP library with thread-safe connection pooling
[*] python3-xapp-2.2.2_2               Python3 Xapp Library
```
</details>

---

EDIT I:

I forgot to mention - I installed `python3-mutagen`, to test and confirm that `yt-dlp --verbose` detects and shows libraries correctly. (excluding it, the only manual pkgs from the above list are `autopep8`, `python3-devel` and `python3-tkinter`)

```
[debug] Command-line config: ['--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d]
[debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.12_1-x86_64-with-glibc2.36 (OpenSSL 1.1.1t  7 Feb 2023, glibc 2.36)
[debug] exe versions: ffmpeg 4.4.3 (setts), ffprobe 4.4.3
[debug] Optional libraries: mutagen-1.46.0, no_Cryptodome-None, sqlite3-2.6.0
[debug] Proxy map: {'no': 'localhost,127.0.0.0/8,::1'}
[debug] Loaded 1786 extractors
```

---

EDIT II: 

<details>
<summary>click for output of simple yt-dlp run</summary>

```
[debug] Command-line config: ['--verbose', 'https://www.youtube.com/watch?v=g_VH8jd39Nc']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d]
[debug] Python 3.11.2 (CPython x86_64 64bit) - Linux-6.1.12_1-x86_64-with-glibc2.36 (OpenSSL 1.1.1t  7 Feb 2023, glibc 2.36)
[debug] exe versions: ffmpeg 4.4.3 (setts), ffprobe 4.4.3
[debug] Optional libraries: no_Cryptodome-None, sqlite3-2.6.0
[debug] Proxy map: {'no': 'localhost,127.0.0.0/8,::1'}
[debug] Loaded 1786 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=g_VH8jd39Nc
[youtube] g_VH8jd39Nc: Downloading webpage
[youtube] g_VH8jd39Nc: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] g_VH8jd39Nc: Downloading 1 format(s): 248+251
[debug] Invoking dashsegments downloader on "URL REMOVED"
[dashsegments] Total fragments: 10
[download] Destination: EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].f248.webm
[download] 100% of   96.62MiB in 00:00:04 at 21.11MiB/s
[debug] Invoking dashsegments downloader on "URL REMOVED"
[dashsegments] Total fragments: 2
[download] Destination: EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].f251.webm
[download] 100% of   16.31MiB in 00:00:00 at 24.39MiB/s
[Merger] Merging formats into "EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].f248.webm' -i 'file:EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].f251.webm' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].temp.webm'
Deleting original file EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].f248.webm (pass -k to keep)
Deleting original file EEVblog 1533 - How To Estimate Product Battery Life [g_VH8jd39Nc].f251.webm (pass -k to keep)
```
</details>

  parent reply	other threads:[~2023-03-09 23:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 19:29 [PR PATCH] " icp1994
2023-03-09  1:18 ` dmarto
2023-03-09  1:21 ` dmarto
2023-03-09  5:32 ` icp1994
2023-03-09 10:18 ` dmarto
2023-03-09 20:16 ` icp1994
2023-03-09 21:10 ` dmarto
2023-03-09 21:14 ` dmarto
2023-03-09 21:19 ` dmarto
2023-03-09 22:21 ` dmarto
2023-03-09 22:23 ` dmarto
2023-03-09 23:25 ` dmarto [this message]
2023-03-10 20:01 ` paper42
2023-03-10 20:02 ` [PR PATCH] [Closed]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230309232507.scPvcnkZXf4qsM7KsMPwo3Qc0hKEpG3iUbszJEzcx-A@z \
    --to=dmarto@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).