1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
10 DESCRIPTION="Python bindings for the chmlib library"
11 HOMEPAGE="https://github.com/dottedmag/pychm"
12 SRC_URI="https://github.com/dottedmag/pychm/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
16 KEYWORDS="~amd64 ~ppc ~x86"
18 RESTRICT="!test? ( test )"
20 RDEPEND="dev-libs/chmlib"
22 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"