mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/sphinx-gallery: fixup nose dep
Remove setup_requires=['nose'] from setup.py. Package-Manager: Portage-2.3.3_p32, Repoman-2.3.1_p25
This commit is contained in:
@@ -15,7 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
@@ -24,10 +25,16 @@ RDEPEND="
|
||||
"
|
||||
# yes nose is somehow required besides testing
|
||||
DEPEND="
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/nose-1.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# Remove setup_requires=['nose']
|
||||
sed -i -e /setup_requires/d setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
echo 'backend: agg' > matplotlibrc
|
||||
VARTEXFONTS="${T}"/fonts MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
|
||||
Reference in New Issue
Block a user