1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
10 DESCRIPTION="A python interface to the sendfile(2) system call"
11 HOMEPAGE="https://github.com/giampaolo/pysendfile"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~s390 sparc x86"
19 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
22 "${EPYTHON}" test/test_sendfile.py || die "tests failed with ${EPYTHON}"