[notify] youtube-dl: 2019.11.28 -> 2020.01.01 dependency change python -> python3

This commit is contained in:
Danny Rawlins 2020-01-04 22:31:05 +11:00
parent cee83c692f
commit d2d86c5249
3 changed files with 2415 additions and 2417 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
RWSagIOpLGJF3+uDGTr8NaQQPHHAwqfcQ6UtDJSO3lxrjC12CFl1ntMkfYG88WRnSI/9tfHYV2YhTZLVx2zNemR4gON1CvnvPQs=
SHA256 (Pkgfile) = 399cb99f40467bbcafc40521e2c93d769b403ced2a2796365f10d93df9695f2f
SHA256 (.footprint) = d6ffe81f8647507f0d784b08d911e0baa36e2066d60f5ce82908c322127523ca
SHA256 (youtube-dl-2019.11.28.tar.gz) = 93dfcb77811cafb5aef090504eb43e8fd3fca0df694676a4ff71023a6ce3b1a7
RWSagIOpLGJF36rL5se4x5tbTCRYTk8xpXPjGYk/WLVHPiNdueStb85TizlC5+UcQQGlcHV1nNrX7A4X8oql6e2b+cRe8YEDpQo=
SHA256 (Pkgfile) = 113a7a61bdecd2eccd092a4a7424451af8a9b122172f19e80707d4eda121caaa
SHA256 (.footprint) = 0a812a22818b31bce4b4185d0ea4ffb8d5767cb243fbc32997f28f538d96fcfa
SHA256 (youtube-dl-2020.01.01.tar.gz) = 0ab06abce0eecf77b6ceed4c06613325ede4e72e1a6ff528be320277250a1b5d

View File

@ -1,23 +1,22 @@
# Description: A command-line program to download videos from YouTube.com and a few more sites.
# URL: https://rg3.github.io/youtube-dl/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python
# Optional: python-setuptools
# Depends on: python3
# Optional: python3-setuptools
name=youtube-dl
version=2019.11.28
version=2020.01.01
release=1
source=(https://youtube-dl.org/downloads/$version/$name-$version.tar.gz)
build() {
cd $name
/usr/bin/python setup.py build
/usr/bin/python setup.py install --root=$PKG --optimize=1
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
rm -r $PKG/usr/share/doc
local pyv="$(/usr/bin/python -c "import sys; print \"%s.%s\" % (sys.version_info[0], sys.version_info[1]);")"
find $PKG/usr/lib/python$pyv/site-packages/ -maxdepth 1 -type f \
find $PKG/usr/lib/python*/site-packages/ -maxdepth 1 -type f \
-name "youtube_dl-$version-py$pyv.egg-info" -delete
}