Since dev-python/regex does not compile with pypy3, and the
regex module is not a hard dep, use python_gen_cond_dep to
omit the dev-python/regex dependency for pypy3.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
EAPI=5
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
-RDEPEND="dev-python/regex[${PYTHON_USEDEP}]"
+RDEPEND="$(python_gen_cond_dep \
+ 'dev-python/regex[${PYTHON_USEDEP}]' python2_7 'python3*' pypy)"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"