summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-05-14 18:08:43 -0400
committerMike Gilbert <floppym@gentoo.org>2017-05-14 18:10:00 -0400
commitaf6a34b2d0de69cb29217bc13982e2d8b4b7b299 (patch)
tree8a11ada611dc9eb0d333bf48eb398dd32e0063d6 /dev-python/paver
parentnet-nds/389-ds-base: Remove now-superfluous patch. (diff)
downloadgentoo-af6a34b2d0de69cb29217bc13982e2d8b4b7b299.tar.gz
gentoo-af6a34b2d0de69cb29217bc13982e2d8b4b7b299.tar.bz2
gentoo-af6a34b2d0de69cb29217bc13982e2d8b4b7b299.zip
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
Diffstat (limited to 'dev-python/paver')
-rw-r--r--dev-python/paver/paver-1.2.4.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/paver/paver-1.2.4.ebuild b/dev-python/paver/paver-1.2.4.ebuild
index 21964a1e9c07..f559621873cd 100644
--- a/dev-python/paver/paver-1.2.4.ebuild
+++ b/dev-python/paver/paver-1.2.4.ebuild
@@ -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}"
}