[Piglit] [PATCH] cmake: Require Python six >= 1.4.0.

Jose Fonseca jfonseca at vmware.com
Thu Feb 26 01:45:20 PST 2015


On 26/02/15 02:43, Vinson Lee wrote:
> six.PY2 was added in 1.4.0.
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>   CMakeLists.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 1a81eed..b1d4e5b 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -192,7 +192,7 @@ ENDIF()
>   find_package(PythonInterp 2.7 REQUIRED)
>   find_package(PythonNumpy 1.6.2 REQUIRED)
>   find_package(PythonMako 0.7.3 REQUIRED)
> -find_package(PythonSix REQUIRED)
> +find_package(PythonSix 1.4.0 REQUIRED)
>
>   # Default to compiling with debug information (`gcc -g`):
>   if(NOT CMAKE_BUILD_TYPE)
>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the Piglit mailing list