diff --git a/srcpkgs/python-msgpack/template b/srcpkgs/python-msgpack/template new file mode 100644 index 00000000000..5dde7088ff5 --- /dev/null +++ b/srcpkgs/python-msgpack/template @@ -0,0 +1,27 @@ +# Template file for 'python-msgpack' +pkgname=python-msgpack +version=0.4.2 +revision=1 +wrksrc="msgpack-python-$version" +build_style=python-module +hostmakedepends="python-setuptools python3.4-setuptools Cython" +makedepends="python-devel python3.4-devel" +python_versions="2.7 3.4" +pycompile_module="msgpack" +depends="python" +short_desc="Python module for Msgpack serializer (Python2)" +maintainer="Christian Neukirchen " +homepage="https://github.com/msgpack/msgpack-python" +license="Apache-2.0" +distfiles="http://pypi.python.org/packages/source/m/msgpack-python/msgpack-python-${version}.tar.gz" +checksum=0476e8fdd79e5b648b349bd0edebf06e41271ee29421ef7adb12cdbe55dac2a9 + +python3.4-msgpack_package() { + depends="python3.4" + pycompile_version="3.4" + pycompile_module="msgpack" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove /usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-msgpack b/srcpkgs/python3.4-msgpack new file mode 120000 index 00000000000..f2c3e3262c9 --- /dev/null +++ b/srcpkgs/python3.4-msgpack @@ -0,0 +1 @@ +python-msgpack \ No newline at end of file