diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:37:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:37:43 +0000 |
commit | 32d0011be42ca05099175cd82210e02a56ef2a54 (patch) | |
tree | 5c0afe509e617e7ca4703bd895afc8b1fb342632 /debian/patches | |
parent | Adding upstream version 2023.03.04. (diff) | |
download | yt-dlp-32d0011be42ca05099175cd82210e02a56ef2a54.tar.xz yt-dlp-32d0011be42ca05099175cd82210e02a56ef2a54.zip |
Adding debian version 2023.03.04-1.debian/2023.03.04-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0001-Correct-path-for-docs.patch | 19 | ||||
-rw-r--r-- | debian/patches/0003-Remove-use-of-git.patch | 19 | ||||
-rw-r--r-- | debian/patches/0004-Makefile-Don-t-run-flake8-when-running-offlinetest.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 3 |
4 files changed, 66 insertions, 0 deletions
diff --git a/debian/patches/0001-Correct-path-for-docs.patch b/debian/patches/0001-Correct-path-for-docs.patch new file mode 100644 index 0000000..e6e5e45 --- /dev/null +++ b/debian/patches/0001-Correct-path-for-docs.patch @@ -0,0 +1,19 @@ +Description: Correct path for docs. +Author: Unit 193 <unit193@debian.org> +Forwarded: not-needed + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/setup.py 2023-01-06 20:32:28.922491886 -0500 ++++ b/setup.py 2023-01-06 20:32:28.902491974 -0500 +@@ -76,7 +76,7 @@ + ('share/bash-completion/completions', ['completions/bash/yt-dlp']), + ('share/zsh/site-functions', ['completions/zsh/_yt-dlp']), + ('share/fish/vendor_completions.d', ['completions/fish/yt-dlp.fish']), +- ('share/doc/yt_dlp', ['README.txt']), ++ ('share/doc/yt-dlp', ['README.txt']), + ('share/man/man1', ['yt-dlp.1']) + ] + data_files = [] diff --git a/debian/patches/0003-Remove-use-of-git.patch b/debian/patches/0003-Remove-use-of-git.patch new file mode 100644 index 0000000..985e938 --- /dev/null +++ b/debian/patches/0003-Remove-use-of-git.patch @@ -0,0 +1,19 @@ +Description: Remove use of git during build +Author: Unit 193 <unit193@debian.org> +Forwarded: not-needed + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/Makefile 2022-06-22 18:43:02.160931443 -0400 ++++ b/Makefile 2022-06-22 18:43:02.156931457 -0400 +@@ -9,7 +9,7 @@ + # Keep this list in sync with MANIFEST.in + # intended use: when building a source distribution, + # make pypi-files && python setup.py sdist +-pypi-files: AUTHORS Changelog.md LICENSE README.md README.txt supportedsites \ ++pypi-files: Changelog.md LICENSE README.md README.txt supportedsites \ + completions yt-dlp.1 requirements.txt setup.cfg devscripts/* test/* + + .PHONY: all clean install test tar pypi-files completions ot offlinetest codetest supportedsites diff --git a/debian/patches/0004-Makefile-Don-t-run-flake8-when-running-offlinetest.patch b/debian/patches/0004-Makefile-Don-t-run-flake8-when-running-offlinetest.patch new file mode 100644 index 0000000..5c254f4 --- /dev/null +++ b/debian/patches/0004-Makefile-Don-t-run-flake8-when-running-offlinetest.patch @@ -0,0 +1,25 @@ +From: =?utf-8?q?Rog=C3=A9rio_Brito?= <rbrito@gmail.com> +Date: Sun, 22 Nov 2020 20:06:55 -0300 +Subject: Makefile: Don't run flake8 when running offlinetest. + +Unfortunately, due to the dynamic nature of python, we most certainly would +like to run flake8 when testing the package. Alas, flake8 sometimes +generates style-only warning or "errors" that break the build, in a similar +fashion to what -Werror does to GCC or other compilers. + +Therefore, I'm disabling this. +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/Makefile 2022-10-04 04:51:46.307487019 -0400 ++++ b/Makefile 2022-10-04 04:51:46.303487036 -0400 +@@ -70,7 +70,7 @@ + $(PYTHON) -m pytest + $(MAKE) codetest + +-offlinetest: codetest ++offlinetest: + $(PYTHON) -m pytest -k "not download" + + # XXX: This is hard to maintain diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..7fff434 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +0001-Correct-path-for-docs.patch +0003-Remove-use-of-git.patch +0004-Makefile-Don-t-run-flake8-when-running-offlinetest.patch |