From 726f2225a53c06d563bb73599ef4c24da76d6882 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 Jun 2014 11:49:37 +0200 Subject: [PATCH] python3.4: remove tests that fail to be byte-compiled. --- srcpkgs/python3.4/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/python3.4/template b/srcpkgs/python3.4/template index ed8224beba8..f6589d5e473 100644 --- a/srcpkgs/python3.4/template +++ b/srcpkgs/python3.4/template @@ -60,6 +60,10 @@ do_install() { ln -sf ../../libpython${version%.*}m.so \ ${DESTDIR}/usr/lib/python${version%.*}/config-${version%.*}m/libpython${version%.*}m.so + + # Remove test module and tests that fail to be byte-compiled. + rm -rf ${DESTDIR}/usr/lib/python${version%.*}/test + rm -rf ${DESTDIR}/usr/lib/python${version%.*}/lib2to3/tests } python3.4-devel_package() {