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
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-docker-py'
|
# Template file for 'python-docker-py'
|
||||||
pkgname=python-docker-py
|
pkgname=python-docker-py
|
||||||
version=1.9.0
|
version=1.9.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="docker-py-${version}"
|
wrksrc="docker-py-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-requests python-six python-websocket-client python-ipaddress
|
depends="python-requests python-six python-websocket-client python-ipaddress
|
||||||
python-backports.ssl_match_hostname"
|
python-backports.ssl_match_hostname"
|
||||||
pycompile_module="docker"
|
pycompile_module="docker"
|
||||||
|
@ -17,14 +16,20 @@ license="Apache-2.0"
|
||||||
distfiles="${PYPI_SITE}/d/docker-py/docker-py-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/d/docker-py/docker-py-${version}.tar.gz"
|
||||||
checksum=6dc6b914a745786d97817bf35bfc1559834c08517c119f846acdfda9cc7f6d7e
|
checksum=6dc6b914a745786d97817bf35bfc1559834c08517c119f846acdfda9cc7f6d7e
|
||||||
|
|
||||||
|
python3-docker-py_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3-requests python3-six python3-websocket-client
|
||||||
|
python3-backports.ssl_match_hostname"
|
||||||
|
pycompile_module="docker"
|
||||||
|
replaces="python3.4-docker-py>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-docker-py_package() {
|
python3.4-docker-py_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-requests python3.4-six python3.4-websocket-client
|
build_style=meta
|
||||||
python-backports.ssl_match_hostname"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
pycompile_version="3.4"
|
depends="python3-docker-py>=${version}_${revision}"
|
||||||
pycompile_module="docker"
|
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-docker-py
Symbolic link
1
srcpkgs/python3-docker-py
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-docker-py
|
Loading…
Add table
Add a link
Reference in a new issue