python.pkgs.pygame_sdl2: python3 tests are non-functional
This commit is contained in:
parent
3eae39b38a
commit
b0e90b99db
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, pkgs, buildPythonPackage, fetchFromGitHub
|
{ stdenv, pkgs, buildPythonPackage, fetchFromGitHub, isPy27
|
||||||
, cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
|
, cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -18,6 +18,9 @@ buildPythonPackage rec {
|
|||||||
cython libjpeg libpng
|
cython libjpeg libpng
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
doCheck = isPy27; # python3 tests are non-functional
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
( cd "$out"/include/python*/ ;
|
( cd "$out"/include/python*/ ;
|
||||||
ln -s pygame-sdl2 pygame_sdl2 || true ; )
|
ln -s pygame-sdl2 pygame_sdl2 || true ; )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user