youtube-dl: rebuild for Python 3.12
This commit is contained in:
parent
bd5e60a968
commit
7dfc70f836
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'youtube-dl'
|
||||
pkgname=youtube-dl
|
||||
version=2021.12.17
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
|
@ -9,20 +9,22 @@ checkdepends="flake8 python3-nose"
|
|||
short_desc="CLI program to download videos from YouTube and other sites"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Unlicense"
|
||||
homepage="https://yt-dl.org"
|
||||
homepage="http://ytdl-org.github.io/youtube-dl"
|
||||
changelog="https://raw.githubusercontent.com/ytdl-org/youtube-dl/master/ChangeLog"
|
||||
distfiles="${homepage}/downloads/${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=9f3b99c8b778455165b4525f21505e86c7ff565f3ac319e19733d810194135df
|
||||
distfiles="https://github.com/ytdl-org/youtube-dl/archive/${version}.tar.gz"
|
||||
checksum=d095479ccdbc5f42d312faf4a42c7bd009a2efb5703120311b7a86ad6a3197f4
|
||||
|
||||
do_check() {
|
||||
PYTHON=/usr/bin/python3 make offlinetest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/etc
|
||||
make youtube-dl.{bash-completion,zsh,fish}
|
||||
vcompletion youtube-dl.bash-completion bash
|
||||
vcompletion youtube-dl.zsh zsh
|
||||
vcompletion youtube-dl.fish fish
|
||||
|
||||
rm -r ${DESTDIR}/usr/etc
|
||||
}
|
||||
|
||||
python3-youtube-dl_package() {
|
||||
|
|
Loading…
Reference in New Issue