pygame-1.9.1-no-test-install.patch 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. diff --git a/setup.py b/setup.py
  2. index 45af61f..8ea5de5 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -183,11 +183,11 @@ for f in glob.glob(os.path.join('lib', '*')):
  6. pygame_data_files.append(f)
  7. #tests/fixtures
  8. -add_datafiles(data_files, 'pygame/tests',
  9. - ['test',
  10. - [['fixtures',
  11. - [['xbm_cursors',
  12. - ['*.xbm']]]]]])
  13. +#add_datafiles(data_files, 'pygame/tests',
  14. +# ['test',
  15. +# [['fixtures',
  16. +# [['xbm_cursors',
  17. +# ['*.xbm']]]]]])
  18. #examples
  19. add_datafiles(data_files, 'pygame/examples',
  20. @@ -461,25 +461,25 @@ date_files = [(path, files) for path, files in data_files if files]
  21. PACKAGEDATA = {
  22. "cmdclass": cmdclass,
  23. "packages": ['pygame', 'pygame.gp2x', 'pygame.threads',
  24. - 'pygame.tests',
  25. - 'pygame.tests.test_utils',
  26. - 'pygame.tests.run_tests__tests',
  27. - 'pygame.tests.run_tests__tests.all_ok',
  28. - 'pygame.tests.run_tests__tests.failures1',
  29. - 'pygame.tests.run_tests__tests.incomplete',
  30. - 'pygame.tests.run_tests__tests.infinite_loop',
  31. - 'pygame.tests.run_tests__tests.print_stderr',
  32. - 'pygame.tests.run_tests__tests.print_stdout',
  33. - 'pygame.tests.run_tests__tests.incomplete_todo',
  34. - 'pygame.tests.run_tests__tests.exclude',
  35. - 'pygame.tests.run_tests__tests.timeout',
  36. - 'pygame.tests.run_tests__tests.everything',
  37. +# 'pygame.tests',
  38. +# 'pygame.tests.test_utils',
  39. +# 'pygame.tests.run_tests__tests',
  40. +# 'pygame.tests.run_tests__tests.all_ok',
  41. +# 'pygame.tests.run_tests__tests.failures1',
  42. +# 'pygame.tests.run_tests__tests.incomplete',
  43. +# 'pygame.tests.run_tests__tests.infinite_loop',
  44. +# 'pygame.tests.run_tests__tests.print_stderr',
  45. +# 'pygame.tests.run_tests__tests.print_stdout',
  46. +# 'pygame.tests.run_tests__tests.incomplete_todo',
  47. +# 'pygame.tests.run_tests__tests.exclude',
  48. +# 'pygame.tests.run_tests__tests.timeout',
  49. +# 'pygame.tests.run_tests__tests.everything',
  50. 'pygame.docs',
  51. 'pygame.examples'],
  52. "package_dir": {'pygame': 'lib',
  53. 'pygame.threads': 'lib/threads',
  54. 'pygame.gp2x': 'lib/gp2x',
  55. - 'pygame.tests': 'test',
  56. +# 'pygame.tests': 'test',
  57. 'pygame.docs': 'docs',
  58. 'pygame.examples': 'examples'},
  59. "headers": headers,