0001-disable-unneeded-build-dependencies.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From 7e7db7225e227905acabfa2149152ece21c93e70 Mon Sep 17 00:00:00 2001
  2. From: Steven Noonan <steven@uplinklabs.net>
  3. Date: Sun, 8 Nov 2015 09:03:00 -0800
  4. Subject: [PATCH] python-protobuf: don't require google-apputils
  5. This dependency is totally superfluous for successfully building/running
  6. python-protobuf. It's only "required" at build time and is not staged into the
  7. install directory, but it isn't even really required for a successful build.
  8. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  9. ---
  10. python/setup.py | 2 --
  11. 1 file changed, 2 deletions(-)
  12. diff --git a/python/setup.py b/python/setup.py
  13. index 2450a77..db6f497 100755
  14. --- a/python/setup.py
  15. +++ b/python/setup.py
  16. @@ -160,7 +160,6 @@ if __name__ == '__main__':
  17. packages = [ 'google' ],
  18. namespace_packages = [ 'google' ],
  19. test_suite = 'setup.MakeTestSuite',
  20. - google_test_dir = "google/protobuf/internal",
  21. # Must list modules explicitly so that we don't install tests.
  22. py_modules = [
  23. 'google.protobuf.internal.api_implementation',
  24. @@ -189,7 +188,6 @@ if __name__ == '__main__':
  25. 'google.protobuf.text_format'],
  26. cmdclass = { 'clean': clean, 'build_py': build_py },
  27. install_requires = ['setuptools'],
  28. - setup_requires = ['google-apputils'],
  29. ext_modules = ext_module_list,
  30. url = 'https://developers.google.com/protocol-buffers/',
  31. maintainer = maintainer_email,
  32. --
  33. 2.6.2