1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
12 DESCRIPTION="C-style structs for Python"
13 HOMEPAGE="https://github.com/andreax79/python-cstruct https://pypi.org/project/cstruct/"
14 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
18 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
24 esetup.py test || die "tests failed under ${EPYTHON}"