From 5c09f6b9cb6609629febdced4f480f52e04ca9ac Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 6 Aug 2020 22:06:35 -0500 Subject: [PATCH 1/2] New package: python3-youtube_search-1.1.0 --- srcpkgs/python3-youtube_search/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-youtube_search/template diff --git a/srcpkgs/python3-youtube_search/template b/srcpkgs/python3-youtube_search/template new file mode 100644 index 00000000000..5b0236d6d29 --- /dev/null +++ b/srcpkgs/python3-youtube_search/template @@ -0,0 +1,20 @@ +# Template file for 'python3-youtube_search' +pkgname=python3-youtube_search +version=1.1.0 +revision=1 +_gitver=86af3e73bd340f37be56f2be6a5ff706b16e454e +archs=noarch +wrksrc="youtube_search-${_gitver}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-urllib3" +short_desc="Python3 library for searching YouTube" +maintainer="Andrew Benson " +license="MIT" +homepage="https://github.com/joetats/youtube_search" +distfiles="${homepage}/archive/${_gitver}.tar.gz" +checksum=dac46fe27a85cebaffbed8585963aef6f912a7901a128aa25d4bdc2b3989be44 + +post_install() { + vlicense LICENSE +} From 0bb093ace77373f181256924218c7a0720f2db01 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 6 Aug 2020 21:17:05 -0500 Subject: [PATCH 2/2] ytmdl: update to 2020.07.26. --- srcpkgs/ytmdl/patches/dontbuilddeps.patch | 5 +++-- srcpkgs/ytmdl/template | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/ytmdl/patches/dontbuilddeps.patch b/srcpkgs/ytmdl/patches/dontbuilddeps.patch index 7755646e909..f6924508f4f 100644 --- a/srcpkgs/ytmdl/patches/dontbuilddeps.patch +++ b/srcpkgs/ytmdl/patches/dontbuilddeps.patch @@ -1,9 +1,10 @@ --- setup.py.orig +++ setup.py -@@ -39,6 +39,4 @@ +@@ -45,7 +45,5 @@ ), python_requires=">=3.*", scripts=['bin/ytmdl'], - install_requires=req_pkgs, -- setup_requires=req_pkgs +- setup_requires=req_pkgs, + extras_require=extra_features ) diff --git a/srcpkgs/ytmdl/template b/srcpkgs/ytmdl/template index e0780f0413a..b01f7529e57 100644 --- a/srcpkgs/ytmdl/template +++ b/srcpkgs/ytmdl/template @@ -1,19 +1,20 @@ # Template file for 'ytmdl' pkgname=ytmdl -version=2020.07.09 +version=2020.07.26 revision=1 archs=noarch 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-ffmpeg-python python3-xdg python3-lxml python3-pysocks + python3-Unidecode python3-urllib3 python3-youtube_search" 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=a48fb3602ac32376dfce8d56057176e6bdb95d15a4343d9d2d1b6e78670fd9d5 +checksum=1b68f7f7094aa9daaaddb71d4cf17ea902ad13ff5cbddcd31df9eedcf47260fd post_install() { vlicense LICENSE