python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / python-msgpack / template
blob275e4b01e85cd90c3e9b3247212c4c9c0b09f33a
1 # Template file for 'python-msgpack'
2 pkgname=python-msgpack
3 version=0.5.6
4 revision=1
5 wrksrc="msgpack-$version"
6 build_style=python-module
7 hostmakedepends="python-setuptools python3-setuptools"
8 makedepends="python-devel python3-devel"
9 checkdepends="python3-pytest"
10 pycompile_module="msgpack"
11 short_desc="Python module for Msgpack serializer (Python2)"
12 maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
13 homepage="https://github.com/msgpack/msgpack-python"
14 license="Apache-2.0"
15 distfiles="${PYPI_SITE}/m/msgpack/msgpack-${version}.tar.gz"
16 checksum=0ee8c8c85aa651be3aa0cd005b5931769eaa658c948ce79428766f1bd46ae2c3
18 do_check() {
19         python3 -m pytest
22 python3-msgpack_package() {
23         pycompile_module="msgpack"
24         short_desc="${short_desc/Python2/Python3}"
25         pkg_install() {
26                 vmove usr/lib/python3*
27         }