void-packages/srcpkgs/python-pafy/template

25 lines
683 B
Bash
Raw Normal View History

# 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"
checksum=affaeb941025beebf1b0dc871b6839ecc62080853be2ed6a28c64bb3148e3d17
python3.4-pafy_package() {
short_desc="${short_desc/2/3/}"
noarch=yes
pkg_install() {
vmove usr/lib/python3.4
}
}