diff --git a/srcpkgs/python-Pyro4/template b/srcpkgs/python-Pyro4/template new file mode 100644 index 0000000000..65cb2865aa --- /dev/null +++ b/srcpkgs/python-Pyro4/template @@ -0,0 +1,31 @@ +# Template file for 'python-Pyro4' +pkgname=python-Pyro4 +version=4.37 +revision=1 +wrksrc="${pkgname#*-}-${version}" +noarch="yes" +build_style=python-module +python_versions="2.7 3.4" +pycompile_module="Pyro4" +hostmakedepends="python-setuptools python3.4-setuptools" +makedepends="python" +depends="python python-serpent" +short_desc="Pyro means PYthon Remote Qbjects" +maintainer="pulux " +license="MIT" +homepage="http://pythonhosted.org/Pyro4/" +distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz" +checksum=2c4c9e7c3dbace3c75524324b6a686381be37bebab89b5001c0670418cec89c7 + +python3.4-Pyro4_package() { + noarch="yes" + makedepends="python3.4" + depends="python3.4 python3.4-serpent" + pycompile_version="3.4" + pycompile_module="Pyro4" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vmove usr/bin + } +} diff --git a/srcpkgs/python-serpent/template b/srcpkgs/python-serpent/template index 9128278cf4..085b4cbd85 100644 --- a/srcpkgs/python-serpent/template +++ b/srcpkgs/python-serpent/template @@ -3,11 +3,12 @@ pkgname=python-serpent version=1.11 revision=1 wrksrc="${pkgname#*-}-${version}" +noarch="yes" build_style=python-module python_versions="2.7 3.4" pycompile_module="serpent" hostmakedepends="python-setuptools python3.4-setuptools" -makedepends="python-devel python3.4-devel" +makedepends="python python3.4" depends="python" short_desc="Serialization based on ast.literal_eva" maintainer="pulux " @@ -17,6 +18,7 @@ distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz" checksum=ab5df8f28574552bdbaf8d3774e6d0faff62f0aa6d5e6bb33b6b0c46937001ad python3.4-serpent_package() { + noarch="yes" depends="python3.4" pycompile_version="3.4" pycompile="serpent" diff --git a/srcpkgs/python3.4-Pyro4 b/srcpkgs/python3.4-Pyro4 new file mode 120000 index 0000000000..0567c89878 --- /dev/null +++ b/srcpkgs/python3.4-Pyro4 @@ -0,0 +1 @@ +python-Pyro4 \ No newline at end of file