###############################################################################
name = python3
-major_ver = 3.4
-version = %{major_ver}.3
+major_ver = 3.6
+version = %{major_ver}.4
release = 1
thisapp = Python-%{version}
gmp-devel
libdb-devel
libffi-devel
- libGL-devel
- libX11-devel
ncurses-devel
openssl-devel
pkg-config
prepare_cmds
if [ "%{lib}" = "lib64" ]; then
- patch -Np1 -i %{DIR_SOURCE}/python-3.4.3-lib64.patch
+ patch -Np1 -i %{DIR_SOURCE}/python-3.6.0-lib64.patch
fi
# Remove embedded copies of expat and libffi
--with-system-expat \
--with-system-ffi \
--enable-loadable-sqlite-extensions \
- --enable-shared
+ --enable-shared \
+ --without-ensurepip
test
LD_LIBRARY_PATH=$(pwd) $(pwd)/python \
-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)
+
+ # # test_subprocess won't work on grsecurity-enabled kernels
+ # # test_float and test_cmath do not work on armv5tel (soft FPU)
end
install_cmds