diff --git a/srcpkgs/python-websocket-client/template b/srcpkgs/python-websocket-client/template deleted file mode 100644 index 3df8ab42b36..00000000000 --- a/srcpkgs/python-websocket-client/template +++ /dev/null @@ -1,37 +0,0 @@ -# Template file for 'python-websocket-client' -pkgname=python-websocket-client -version=0.56.0 -revision=2 -archs=noarch -wrksrc="websocket_client-${version}" -build_style=python-module -pycompile_module="websocket" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-six ca-certificates" -short_desc="WebSocket client for Python2" -maintainer="Sergi Alvarez " -license="BSD-3-Clause" -homepage="https://github.com/websocket-client/websocket-client" -distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz" -checksum=1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a -alternatives="websocket-client:wsdump:/usr/bin/wsdump.py2" - -pre_build() { - vsed -i "s|'backports.ssl_match_hostname'||" setup.py -} -post_install() { - vlicense LICENSE -} - -python3-websocket-client_package() { - archs=noarch - depends="python3-six ca-certificates" - pycompile_module="websocket" - short_desc="${short_desc/Python2/Python3}" - alternatives="websocket-client:wsdump:/usr/bin/wsdump.py3" - pkg_install() { - vmove usr/bin/wsdump.py3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-websocket-client b/srcpkgs/python3-websocket-client deleted file mode 120000 index f9a2f081975..00000000000 --- a/srcpkgs/python3-websocket-client +++ /dev/null @@ -1 +0,0 @@ -python-websocket-client \ No newline at end of file diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template new file mode 100644 index 00000000000..feefd2fb518 --- /dev/null +++ b/srcpkgs/python3-websocket-client/template @@ -0,0 +1,22 @@ +# Template file for 'python3-websocket-client' +pkgname=python3-websocket-client +version=0.56.0 +revision=3 +wrksrc="websocket_client-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-six ca-certificates" +short_desc="WebSocket client for Python3" +maintainer="Sergi Alvarez " +license="BSD-3-Clause" +homepage="https://github.com/websocket-client/websocket-client" +distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz" +checksum=1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a +alternatives="websocket-client:wsdump:/usr/bin/wsdump.py2" + +pre_build() { + vsed -i "s|'backports.ssl_match_hostname'||" setup.py +} +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python-websocket-client/update b/srcpkgs/python3-websocket-client/update similarity index 100% rename from srcpkgs/python-websocket-client/update rename to srcpkgs/python3-websocket-client/update