void-packages/srcpkgs/python-msgpack/template
2016-01-25 13:06:08 +01:00

25 lines
817 B
Bash

# Template file for 'python-msgpack'
pkgname=python-msgpack
version=0.4.7
revision=1
wrksrc="msgpack-python-$version"
build_style=python-module
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
python_versions="2.7 3.4"
pycompile_module="msgpack"
short_desc="Python module for Msgpack serializer (Python2)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="https://github.com/msgpack/msgpack-python"
license="Apache-2.0"
distfiles="${PYPI_SITE}/m/msgpack-python/msgpack-python-${version}.tar.gz"
checksum=5e001229a54180a02dcdd59db23c9978351af55b1290c27bc549e381f43acd6b
python3.4-msgpack_package() {
pycompile_version="3.4"
pycompile_module="msgpack"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}