2015-08-19 17:00:32 +00:00
|
|
|
# Template file for 'python-pafy'
|
|
|
|
pkgname=python-pafy
|
|
|
|
version=0.3.74
|
|
|
|
revision=1
|
|
|
|
replaces="pafy>=0"
|
|
|
|
wrksrc="pafy-${version}"
|
|
|
|
noarch=yes
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
build_style=python-module
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
short_desc="Python2 library to download YouTube content and retrieve metadata"
|
|
|
|
maintainer="Logen K <logen@sudotask.com>"
|
|
|
|
license="LGPL-3"
|
|
|
|
homepage="https://github.com/np1/pafy"
|
2015-08-19 17:02:07 +00:00
|
|
|
distfiles="https://github.com/np1/pafy/archive/v${version}.tar.gz"
|
2015-08-19 17:00:32 +00:00
|
|
|
checksum=affaeb941025beebf1b0dc871b6839ecc62080853be2ed6a28c64bb3148e3d17
|
|
|
|
|
|
|
|
python3.4-pafy_package() {
|
|
|
|
short_desc="${short_desc/2/3/}"
|
|
|
|
noarch=yes
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|