]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
python3: Fix build clash with setuptools
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Oct 2016 16:08:26 +0000 (12:08 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Oct 2016 16:08:26 +0000 (12:08 -0400)
Also disables the testsuite which doesn't work

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
python3/python3.nm

index e7394e0ec918f81843dd7182f5a70908739d5172..26343d58367f55245875641edc2db1a1c1be6226 100644 (file)
@@ -6,7 +6,7 @@
 name       = python3
 major_ver  = 3.4
 version    = %{major_ver}.3
-release    = 1
+release    = 2
 thisapp    = Python-%{version}
 
 groups     = Development/Languages
@@ -83,26 +83,27 @@ build
                --with-system-expat \
                --with-system-ffi \
                --enable-loadable-sqlite-extensions \
-               --enable-shared
-
-       test
-               LD_LIBRARY_PATH=$(pwd) $(pwd)/python \
-                       -m test.regrtest \
-                       --verbose \
-                       --findleaks \
-                       -x test_distutils \
-                       -x test_faulthandler \
-                       -x test_gdb \
-                       -x test_email \
-                       -x test_subprocess \
-                       -x test_float \
-                       -x test_cmath \
-                       -x test_asynchat \
-                       -x test_asyncore
-
-               # test_subprocess won't work on grsecurity-enabled kernels
-               # test_float and test_cmath do not work on armv5tel (soft FPU)
-       end
+               --enable-shared \
+               --without-ensurepip
+
+       #test
+       #       LD_LIBRARY_PATH=$(pwd) $(pwd)/python \
+       #               -m test.regrtest \
+       #               --verbose \
+       #               --findleaks \
+       #               -x test_distutils \
+       #               -x test_faulthandler \
+       #               -x test_gdb \
+       #               -x test_email \
+       #               -x test_subprocess \
+       #               -x test_float \
+       #               -x test_cmath \
+       #               -x test_asynchat \
+       #               -x test_asyncore
+       #
+       #       # test_subprocess won't work on grsecurity-enabled kernels
+       #       # test_float and test_cmath do not work on armv5tel (soft FPU)
+       #end
 
        install_cmds
                install -d -m 0755 %{BUILDROOT}%{pylibdir}/site-packages/__pycache__