1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
12 DESCRIPTION="A portable, lightweight MessagePack serializer and deserializer"
13 HOMEPAGE="https://github.com/vsergeev/u-msgpack-python https://pypi.org/project/u-msgpack-python/"
14 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
18 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
23 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
25 RESTRICT="!test? ( test )"
29 PATCHES=("${FILESDIR}"/${P}-little-endian.patch)
32 py.test -v || die "Tests fail with ${EPYTHON}"