python-docker-py: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
5812630bda
commit
fbdddc1159
2 changed files with 15 additions and 9 deletions
srcpkgs
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-docker-py'
|
||||
pkgname=python-docker-py
|
||||
version=1.9.0
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="docker-py-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-requests python-six python-websocket-client python-ipaddress
|
||||
python-backports.ssl_match_hostname"
|
||||
pycompile_module="docker"
|
||||
|
@ -17,14 +16,20 @@ license="Apache-2.0"
|
|||
distfiles="${PYPI_SITE}/d/docker-py/docker-py-${version}.tar.gz"
|
||||
checksum=6dc6b914a745786d97817bf35bfc1559834c08517c119f846acdfda9cc7f6d7e
|
||||
|
||||
python3.4-docker-py_package() {
|
||||
python3-docker-py_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-requests python3.4-six python3.4-websocket-client
|
||||
python-backports.ssl_match_hostname"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-requests python3-six python3-websocket-client
|
||||
python3-backports.ssl_match_hostname"
|
||||
pycompile_module="docker"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-docker-py>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-docker-py_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-docker-py>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-docker-py
Symbolic link
1
srcpkgs/python3-docker-py
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-docker-py
|
Loading…
Reference in a new issue