···2121 setuptools2222 ];23232424- pythonImportsCheck = [ "png" ];2424+ patches = [2525+ # pngsuite is imported by code/test_png.py but is not defined in2626+ # setup.cfg, so it isn't built - this adds it to py_modules2727+ ./setup-cfg-pngsuite.patch2828+ ];2929+3030+ # allow tests to use the binaries produced by this package3131+ preCheck = ''3232+ export PATH="$out/bin:$PATH"3333+ '';3434+3535+ pythonImportsCheck = [ "png" "pngsuite" ];25362637 nativeCheckInputs = [ pytestCheckHook ];2738