1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7,8} )
9 DESCRIPTION="Python interface for c-ares"
10 HOMEPAGE="https://github.com/saghul/pycares/"
11 SRC_URI="https://github.com/saghul/pycares/archive/${P/_p/-fix}.tar.gz"
12 S=${WORKDIR}/${PN}-${P/_p/-fix}
16 KEYWORDS="~amd64 ~arm64 ~x86"
18 # Tests fail with network-sandbox, since they try to resolve google.com
21 # uses bundled/patched c-ares
22 RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]"
26 "${EPYTHON}" tests/tests.py -v || die