diff --git a/srcpkgs/python-Pyro4/template b/srcpkgs/python-Pyro4/template deleted file mode 100644 index 3eba13d0e9c..00000000000 --- a/srcpkgs/python-Pyro4/template +++ /dev/null @@ -1,45 +0,0 @@ -# Template file for 'python-Pyro4' -pkgname=python-Pyro4 -version=4.80 -revision=1 -archs=noarch -wrksrc="${pkgname#*-}-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools python-serpent>=1.27 python-selectors2" -short_desc="Distributed Object Middleware (IPC/RPC) for Python2" -maintainer="pulux " -license="MIT" -homepage="https://pythonhosted.org/Pyro4/" -distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz" -checksum=46847ca703de3f483fbd0b2d22622f36eff03e6ef7ec7704d4ecaa3964cb2220 - -alternatives=" - pyro4:pyro4-check-config:/usr/bin/pyro4-check-config2 - pyro4:pyro4-flameserver:/usr/bin/pyro4-flameserver2 - pyro4:pyro4-httpgateway:/usr/bin/pyro4-httpgateway2 - pyro4:pyro4-ns:/usr/bin/pyro4-ns2 - pyro4:pyro4-nsc:/usr/bin/pyro4-nsc2 - pyro4:pyro4-test-echoserver:/usr/bin/pyro4-test-echoserver2" - -post_install() { - vlicense LICENSE -} - -python3-Pyro4_package() { - alternatives=" - pyro4:pyro4-check-config:/usr/bin/pyro4-check-config3 - pyro4:pyro4-flameserver:/usr/bin/pyro4-flameserver3 - pyro4:pyro4-httpgateway:/usr/bin/pyro4-httpgateway3 - pyro4:pyro4-ns:/usr/bin/pyro4-ns3 - pyro4:pyro4-nsc:/usr/bin/pyro4-nsc3 - pyro4:pyro4-test-echoserver:/usr/bin/pyro4-test-echoserver3" - archs=noarch - depends="python3-setuptools python3-serpent" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-Pyro4 b/srcpkgs/python3-Pyro4 deleted file mode 120000 index 0567c898784..00000000000 --- a/srcpkgs/python3-Pyro4 +++ /dev/null @@ -1 +0,0 @@ -python-Pyro4 \ No newline at end of file diff --git a/srcpkgs/python3-Pyro4/template b/srcpkgs/python3-Pyro4/template new file mode 100644 index 00000000000..27fcf25cb99 --- /dev/null +++ b/srcpkgs/python3-Pyro4/template @@ -0,0 +1,20 @@ +# Template file for 'python3-Pyro4' +pkgname=python3-Pyro4 +version=4.80 +revision=2 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools python3-serpent" +short_desc="Distributed Object Middleware (IPC/RPC) for Python3" +maintainer="pulux " +license="MIT" +homepage="https://pythonhosted.org/Pyro4/" +distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz" +checksum=46847ca703de3f483fbd0b2d22622f36eff03e6ef7ec7704d4ecaa3964cb2220 + +conflicts="python-Pyro4>=0" + +post_install() { + vlicense LICENSE +}