1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7} )
11 DESCRIPTION="Small library containing various image processing algorithms"
12 HOMEPAGE="https://github.com/openpaperwork/libpillowfight"
13 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
19 RESTRICT="!test? ( test )"
21 RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
23 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
25 S=${WORKDIR}/${MY_PN}-${PV}
27 python_prepare_all() {
28 sed -e "/'nose>=1.0'/d" -i setup.py || die
29 distutils-r1_python_prepare_all