From 4d5fc2a9676d720d1e9d927858d70a7ccaaf5971 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 10 Dec 2020 08:49:19 -0600 Subject: [PATCH] ytmdl: update to 2020.11.20. --- srcpkgs/ytmdl/patches/dontbuilddeps.patch | 10 ---------- srcpkgs/ytmdl/template | 13 +++++++++---- 2 files changed, 9 insertions(+), 14 deletions(-) delete mode 100644 srcpkgs/ytmdl/patches/dontbuilddeps.patch diff --git a/srcpkgs/ytmdl/patches/dontbuilddeps.patch b/srcpkgs/ytmdl/patches/dontbuilddeps.patch deleted file mode 100644 index f6924508f4..0000000000 --- a/srcpkgs/ytmdl/patches/dontbuilddeps.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- setup.py.orig -+++ setup.py -@@ -45,7 +45,5 @@ - ), - python_requires=">=3.*", - scripts=['bin/ytmdl'], -- install_requires=req_pkgs, -- setup_requires=req_pkgs, - extras_require=extra_features - ) diff --git a/srcpkgs/ytmdl/template b/srcpkgs/ytmdl/template index 8a53de5f5a..57d9724ab2 100644 --- a/srcpkgs/ytmdl/template +++ b/srcpkgs/ytmdl/template @@ -1,19 +1,24 @@ # Template file for 'ytmdl' pkgname=ytmdl -version=2020.07.26 -revision=2 +version=2020.11.20.post1 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama python3-itunespy python3-BeautifulSoup4 python3-downloader-cli python3-ffmpeg-python python3-xdg python3-lxml python3-pysocks - python3-Unidecode python3-urllib3 python3-youtube-search" + python3-Unidecode python3-urllib3 python3-youtube-search + python3-pyDes python3-simber" short_desc="Get songs from youtube in mp3 format with all tags from itunes" maintainer="Andrew Benson " license="MIT" homepage="https://github.com/deepjyoti30/ytmdl" distfiles="${homepage}/archive/${version}.tar.gz" -checksum=1b68f7f7094aa9daaaddb71d4cf17ea902ad13ff5cbddcd31df9eedcf47260fd +checksum=dd8c4e65b5f67357179f586bb153cd02238cea2512e3fb563709c2cff9ee14b6 + +pre_configure() { + vsed -e '/install_requires/d' -e '/setup_requires/d' -i setup.py +} post_install() { vlicense LICENSE