pafy: renamed to python-pafy and added a 3.4 subpkg required by mps-youtube.
This commit is contained in:
parent
cc74991075
commit
767c08bc51
|
@ -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
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-pafy
|
Loading…
Reference in New Issue