1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7,8} )
9 DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support"
10 HOMEPAGE="https://github.com/agronholm/cbor2 https://pypi.org/project/cbor2/"
11 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14 RESTRICT="!test? ( test )"
18 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
21 dev-python/setuptools_scm[${PYTHON_USEDEP}]
23 dev-python/pytest[${PYTHON_USEDEP}]
24 dev-python/pytest-cov[${PYTHON_USEDEP}]
30 distutils_enable_tests pytest