1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_6} )
10 DESCRIPTION="Python CRC Generator module"
11 HOMEPAGE="http://crcmod.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/crcmod/${P}.tar.gz"
16 KEYWORDS="amd64 arm x86"
19 DOCS=( changelog test/examples.py )
22 "${PYTHON}" test/test_crcmod.py || die "Tests fail with ${EPYTHON}"