mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
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:
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user