gentoo/dev-python/abstract_rendering/abstract_rendering-0.5.1.ebuild
Michał Górny cd3f25deb1
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-01-05 11:55:46 +01:00

35 lines
704 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Rendering as a binning process"
HOMEPAGE="
https://github.com/JosephCottam/AbstractRendering
https://pypi.org/project/abstract_rendering/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="uni_indiana"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_prepare_all() {
sed \
-e 's:"-O3",::g' \
-i setup.py || die
distutils-r1_python_prepare_all
}