pafy: renamed to python-pafy and added a 3.4 subpkg required by mps-youtube.

This commit is contained in:
Juan RP 2015-08-19 19:00:32 +02:00
parent cc74991075
commit 767c08bc51
3 changed files with 25 additions and 14 deletions

View file

@ -1,14 +0,0 @@
# Template file for 'pafy'
pkgname=pafy
version=0.3.74
revision=1
build_style=python-module
noarch=yes
hostmakedepends="python-devel python-setuptools"
makedepends="python-devel"
short_desc="Python library to download YouTube content and retrieve metadata"
maintainer="Logen K <logen@sudotask.com>"
license="LGPL-3"
homepage="https://github.com/np1/pafy"
distfiles="https://github.com/np1/${pkgname}/archive/v${version}.tar.gz"
checksum=affaeb941025beebf1b0dc871b6839ecc62080853be2ed6a28c64bb3148e3d17

View file

@ -0,0 +1,24 @@
# 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"
distfiles="https://github.com/np1/${pkgname}/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
}
}

1
srcpkgs/python3.4-pafy Symbolic link
View file

@ -0,0 +1 @@
python-pafy