void-packages/srcpkgs/python-msgpack/template
maxice8 16f43e8113 python-msgpack: update to 0.5.6.
Closes: #11339 [via git-merge-pr]
2018-03-05 20:38:57 -08:00

28 lines
801 B
Bash

# Template file for 'python-msgpack'
pkgname=python-msgpack
version=0.5.6
revision=1
wrksrc="msgpack-$version"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
checkdepends="python3-pytest"
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/msgpack-${version}.tar.gz"
checksum=0ee8c8c85aa651be3aa0cd005b5931769eaa658c948ce79428766f1bd46ae2c3
do_check() {
python3 -m pytest
}
python3-msgpack_package() {
pycompile_module="msgpack"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}