From f25eec03b33a1bbd67cd6b1aac65db835a5569a3 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 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..0c6ec393a37 --- /dev/null +++ b/srcpkgs/python3-youtube-search/template @@ -0,0 +1,23 @@ +# Template file for 'python3-youtube-search' +pkgname=python3-youtube-search +version=1.1.0 +revision=1 +_gitver=86af3e73bd340f37be56f2be6a5ff706b16e454e +archs=noarch +create_wrksrc=yes +build_wrksrc="youtube-search-${version}" +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="${PYPI_SITE}/y/youtube-search/youtube-search-${version}.tar.gz + https://raw.githubusercontent.com/joetats/youtube_search/${_gitver}/LICENSE>LICENSE.txt" +checksum="255fea3ca98cda488c585734183b30ac7b55ddbd79e6e79f999d94983c8077e6 + cd58d968a55585bfc21aea093aee5ba92a6785bab24c9969cfe2cd8bfe9ea83d" + +post_install() { + vlicense ../LICENSE.txt LICENSE +} From 5b26da299db84fc4254b046d4a50dc4bbef049c7 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