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/rules | |
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/rules')
-rwxr-xr-x | debian/rules | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d4a3a57 --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE = 1 +export PYBUILD_NAME = yt_dlp + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_configure: + PREFIX=/usr SYSCONFDIR=/etc make + python3 devscripts/set-variant.py debian -M "As yt-dlp has been installed via apt, you should use that to update. If you're on a stable release, also check backports." + rm yt-dlp + +override_dh_clean: + make clean + dh_clean + +override_dh_auto_test: + make offlinetest PYTHON=python3 + +override_dh_installchangelogs: + DEB_BUILD_OPTIONS=notrimdch dh_installchangelogs Changelog.md + +override_dh_gencontrol: + dh_gencontrol -- -Vyt-dlp:Sites="$$(sed -n -e 's/.* \- \*\*//g' -e 's/:.*//' -e 's/\*\*.*/,/p' supportedsites.md | fmt )" |