python-oauth2client: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d6af10a6d3
commit
2907a304ad
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-oauth2client'
|
# Template file for 'python-oauth2client'
|
||||||
pkgname=python-oauth2client
|
pkgname=python-oauth2client
|
||||||
version=3.0.0
|
version=3.0.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="oauth2client"
|
pycompile_module="oauth2client"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-httplib2 python-pyasn1 python-pyasn1-modules python-rsa python-six"
|
depends="python-httplib2 python-pyasn1 python-pyasn1-modules python-rsa python-six"
|
||||||
short_desc="Python2 OAuth 2.0 client library"
|
short_desc="Python2 OAuth 2.0 client library"
|
||||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||||
|
@ -16,14 +15,20 @@ homepage="https://github.com/google/oauth2client/"
|
||||||
distfiles="${PYPI_SITE}/o/oauth2client/oauth2client-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/o/oauth2client/oauth2client-${version}.tar.gz"
|
||||||
checksum=5b5b056ec6f2304e7920b632885bd157fa71d1a7f3ddd00a43b1541a8d1a2460
|
checksum=5b5b056ec6f2304e7920b632885bd157fa71d1a7f3ddd00a43b1541a8d1a2460
|
||||||
|
|
||||||
python3.4-oauth2client_package() {
|
python3-oauth2client_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-httplib2 python3.4-pyasn1 python3.4-pyasn1-modules
|
depends="python3-httplib2 python3-pyasn1 python3-pyasn1-modules
|
||||||
python3.4-rsa python3.4-six"
|
python3-rsa python3-six"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="oauth2client"
|
pycompile_module="oauth2client"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-oauth2client>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-oauth2client_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-oauth2client>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-oauth2client
|
Loading…
Reference in New Issue