From fbdddc11592a224b61e36c7acb5bd9eed30c8459 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Oct 2016 10:25:16 +0200 Subject: [PATCH] python-docker-py: rebuild for Python 3.5 Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg. --- srcpkgs/python-docker-py/template | 23 ++++++++++++++--------- srcpkgs/python3-docker-py | 1 + 2 files changed, 15 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/python3-docker-py diff --git a/srcpkgs/python-docker-py/template b/srcpkgs/python-docker-py/template index 6feb1e5f1cc..e4cda5fcdb1 100644 --- a/srcpkgs/python-docker-py/template +++ b/srcpkgs/python-docker-py/template @@ -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}" +} diff --git a/srcpkgs/python3-docker-py b/srcpkgs/python3-docker-py new file mode 120000 index 00000000000..35cc2130d73 --- /dev/null +++ b/srcpkgs/python3-docker-py @@ -0,0 +1 @@ +python-docker-py \ No newline at end of file