You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
The current version of py-pyobjc is unsupported on old systems. Provide an alternative. Version has been advised by upstream: https://github.com/ronaldoussoren/pyobjc/issues/587
21 lines
891 B
Diff
21 lines
891 B
Diff
--- install.py.orig 2020-03-25 12:26:08.000000000 -0400
|
|
+++ install.py 2020-04-01 07:49:00.000000000 -0400
|
|
@@ -187,17 +187,6 @@
|
|
def build_project(project, extra_args):
|
|
proj_dir = os.path.join(TOPDIR, project)
|
|
|
|
- # First ask distutils to clean up
|
|
- print("Cleaning {!r} using {!r}".format(project, sys.executable))
|
|
- status = subprocess.call([sys.executable, "setup.py", "clean"], cwd=proj_dir)
|
|
- if status != 0:
|
|
- print("Cleaning of {!r} failed, status {}".format(project, status))
|
|
- return False
|
|
-
|
|
- # Explicitly remove the 'build' directory, just in case...
|
|
- if os.path.exists(os.path.join(proj_dir, "build")):
|
|
- shutil.rmtree(os.path.join(proj_dir, "build"))
|
|
-
|
|
print("Installing {!r} using {!r}".format(project, sys.executable))
|
|
status = subprocess.call(
|
|
[sys.executable, "setup.py", "install"] + extra_args, cwd=proj_dir
|