1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_6} )
13 DESCRIPTION="Backport of Python 3's 'csv' module"
14 HOMEPAGE="https://github.com/ryanhiebert/backports.csv https://pypi.org/project/backports.csv/"
15 SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
22 RDEPEND="dev-python/backports[${PYTHON_USEDEP}]"
23 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] ${RDEPEND}"
27 python_install_all() {
28 distutils-r1_python_install_all
29 find "${ED}" -name '*.pth' -delete || die