dev-python/paver: remove stray pyc files

Bug: https://github.com/paver/paver/issues/143
Package-Manager: Portage-2.3.5_p32, Repoman-2.3.2_p62
This commit is contained in:
Mike Gilbert
2017-05-14 18:08:43 -04:00
parent 848e520301
commit af6a34b2d0

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,8 +25,12 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
python_prepare_all() {
# https://github.com/paver/paver/issues/143#issuecomment-103943327
find paver/tests -name '*.pyc' -delete || die
distutils-r1_python_prepare_all
}
python_test() {
# There is a regression in tests
# https://github.com/paver/paver/issues/143
nosetests || die "Testing failed with ${EPYTHON}"
}