1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
10 DESCRIPTION="Python bindings for the Enchant spellchecking system"
11 HOMEPAGE="http://pyenchant.sourceforge.net https://pypi.org/project/pyenchant/"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
18 RESTRICT="!test? ( test )"
20 RDEPEND=">=app-text/enchant-${PV%.*}"
21 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
25 if [[ -n "$(LC_ALL="en_US.UTF-8" bash -c "" 2>&1)" ]]; then
26 ewarn "Disabling tests due to missing en_US.UTF-8 locale"