From a03c50d80803c72f85bdbc48b2efb297814dfa8e Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 19 Dec 2017 19:49:17 +0000 Subject: Re-added port: science/py-pymol: OpenGL based molecular visualization system (existed 2002/08/13-2014/09/01, deleted in r366862) Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D12902 --- science/py-pymol/files/patch-setup.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 science/py-pymol/files/patch-setup.py (limited to 'science/py-pymol/files/patch-setup.py') diff --git a/science/py-pymol/files/patch-setup.py b/science/py-pymol/files/patch-setup.py new file mode 100644 index 000000000000..9c43d171c4cb --- /dev/null +++ b/science/py-pymol/files/patch-setup.py @@ -0,0 +1,22 @@ +--- setup.py.orig 2017-03-09 18:16:07 UTC ++++ setup.py +@@ -52,6 +52,8 @@ try: + "keyword support.") + parser.add_argument('--help-distutils', action="store_true", + help="show help for distutils options and exit") ++ parser.add_argument('--single-version-externally-managed', action="store_true", ++ help="single-version-externally-managed") + options, sys.argv[1:] = parser.parse_known_args(namespace=options) + except ImportError: + print("argparse not available") +@@ -318,8 +320,8 @@ else: # unix style (linux, mac, ...) + + # optimization currently causes a clang segfault on OS X 10.9 when + # compiling layer2/RepCylBond.cpp +- if sys.platform != 'darwin': +- ext_comp_args += ["-O3"] ++ #if sys.platform != 'darwin': ++ # ext_comp_args += ["-O3"] + + def get_pymol_version(): + return re.findall(r'_PyMOL_VERSION "(.*)"', open('layer0/Version.h').read())[0] -- cgit v1.2.3