diff --git a/srcpkgs/python-pafy b/srcpkgs/python-pafy new file mode 120000 index 00000000000..4b7ea2937ae --- /dev/null +++ b/srcpkgs/python-pafy @@ -0,0 +1 @@ +python3-pafy \ No newline at end of file diff --git a/srcpkgs/python-pafy/template b/srcpkgs/python-pafy/template deleted file mode 100644 index 9e18d66c7e4..00000000000 --- a/srcpkgs/python-pafy/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-pafy' -pkgname=python-pafy -version=0.5.4 -revision=1 -archs=noarch -wrksrc="pafy-${version}" -build_style=python-module -pycompile_module="pafy" -hostmakedepends="python-setuptools python3-setuptools youtube-dl python3-youtube-dl" -depends="youtube-dl" -short_desc="Python2 library to download YouTube content and retrieve metadata" -maintainer="Orphaned " -license="LGPL-3" -homepage="https://github.com/mps-youtube/pafy" -distfiles="https://github.com/mps-youtube/pafy/archive/v${version}.tar.gz" -checksum=a2f9fe7c6175264993190081e1558516b2f2b5987f13a581a55cd9d838df973b -alternatives="pafy:ytdl:/usr/bin/ytdl2" - -python3-pafy_package() { - archs=noarch - pycompile_module="pafy" - depends="python3-youtube-dl" - short_desc="${short_desc/2/3/}" - alternatives="pafy:ytdl:/usr/bin/ytdl3" - pkg_install() { - vmove usr/bin/ytdl3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-pafy b/srcpkgs/python3-pafy deleted file mode 120000 index 81da0afb146..00000000000 --- a/srcpkgs/python3-pafy +++ /dev/null @@ -1 +0,0 @@ -python-pafy \ No newline at end of file diff --git a/srcpkgs/python3-pafy/template b/srcpkgs/python3-pafy/template new file mode 100644 index 00000000000..ce26f770c69 --- /dev/null +++ b/srcpkgs/python3-pafy/template @@ -0,0 +1,22 @@ +# Template file for 'python3-pafy' +pkgname=python3-pafy +version=0.5.4 +revision=2 +archs=noarch +wrksrc="pafy-${version}" +build_style=python3-module +pycompile_module="pafy" +hostmakedepends="python3-setuptools youtube-dl" +depends="youtube-dl" +short_desc="Python3 library to download YouTube content and retrieve metadata" +maintainer="q66 " +license="LGPL-3.0-or-later" +homepage="https://github.com/mps-youtube/pafy" +distfiles="https://github.com/mps-youtube/pafy/archive/v${version}.tar.gz" +checksum=a2f9fe7c6175264993190081e1558516b2f2b5987f13a581a55cd9d838df973b + +python-pafy_package() { + depends="python3-pafy" + short_desc+=" - transitional dummy package" + build_style=meta +}