void-packages/srcpkgs/python-msgpack/template

24 lines
757 B
Bash

# Template file for 'python-msgpack'
pkgname=python-msgpack
version=0.4.8
revision=4
wrksrc="msgpack-python-$version"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
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=1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886
python3-msgpack_package() {
pycompile_module="msgpack"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}