1
0
forked from ports/contrib

yt-dlp: 2022.02.04; fixes #1900

This commit is contained in:
Steffen Nurpmeso 2022-03-01 16:53:24 +01:00
parent a9104d9fed
commit cdfde7ff0c
3 changed files with 8 additions and 2924 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37hfy3B5S0/3YHXLc5GsmMCfyaAy90jHb2p8Ps8ejmQ/JbNopkDmQdWqywdaDXXDCsvmysYZm95VjYfR1HgqeQw=
SHA256 (Pkgfile) = 78d7f016e860a91b67343b28168be4bb4164c5a3bd5fec32af9461b67a41a84d
SHA256 (.footprint) = 4bee22ef29ec8e9d39257f6286d88850773fbf8f7200d95d1f5b4d52490da99f
SHA256 (yt-dlp.tar.gz) = 78455c03fb3f5a84bfc05afca5a2564af9852e8fe7f088877e20b8508217dd29
RWSagIOpLGJF39C3kxgz0STBv1IFlJwFeM+Vjz08t1Fd/mfuQt1siV4vsRZxHfWzVRaCl+oqlc/buTvs7SAOwkLT35EARSvSMQ0=
SHA256 (Pkgfile) = cc0f4d14d8043a7b8a3aaeb87587e333c6ba12ad3e5e4c73ff44647e3adf5925
SHA256 (.footprint) = b13330c79f44e19de64e7dc4026d3d5ab368dcfaded6e2d25ce4813c47f0a796
SHA256 (yt-dlp-2022.02.04.tar.gz) = c8dd119c28a5d256322ddb3a2fff72bc02ace43fc5880c0065d97f7a48d7a8e3

View File

@ -4,33 +4,17 @@
# Depends on: python3-setuptools
name=yt-dlp
version=2022.01.21
version=2022.02.04
release=1
source=(https://github.com/${name}/${name}/releases/download/\
${version}/${name}.tar.gz)
renames=(${name}-${version}.tar.gz)
build() {
cd ${name} #-${version}
python3 setup.py build
cat > ./yt-dlp.1 <<- \!
.Dd December 27, 2021
.Dt YT-DLP 1
.Os
.
.Sh NAME
.Nm yt-dlp.1
.Nd CLI program to access YouTub and other data content
.
.Bd -literal
!
sed -E -e '/^# USAGE AND OPTIONS/,/^#### Removed/p;d' < README.md >> yt-dlp.1
echo '.Ed' >> ./yt-dlp.1
python3 setup.py install --root="${PKG}" --optimize=1 --skip-build
rm -fr "${PKG}"/usr/share/{bash-completion,doc,fish,zsh}
install -D ${name} "${PKG}"/usr/bin/${name}
install -D -m 0644 ${name}.1 "${PKG}"/usr/share/man/man1/${name}.1
}
# s-sh-mode