You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
ef740e4f7a
Resolves checksum mismatch of previous version due to stealth update. Closes: https://trac.macports.org/ticket/55770 Update homepage. Honor MacPorts -arch flags; fixes universal variant. Closes: https://trac.macports.org/ticket/37503
25 lines
903 B
Diff
25 lines
903 B
Diff
Do not ignore the -arch flags MacPorts tells it to build with.
|
|
--- setup.py.orig 2017-11-11 09:35:31.000000000 -0600
|
|
+++ setup.py 2018-02-02 15:27:00.000000000 -0600
|
|
@@ -36,20 +36,6 @@
|
|
pure = False
|
|
|
|
|
|
-if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'):
|
|
- # XCode 4.0 dropped support for ppc architecture, which is hardcoded in
|
|
- # distutils.sysconfig
|
|
- import subprocess
|
|
- p = subprocess.Popen(
|
|
- ['/usr/bin/xcodebuild', '-version'], stdout=subprocess.PIPE,
|
|
- stderr=subprocess.PIPE, env={})
|
|
- out, err = p.communicate()
|
|
- for line in out.splitlines():
|
|
- line = line.decode("utf8")
|
|
- # Also parse only first digit, because 3.2.1 can't be parsed nicely
|
|
- if (line.startswith('Xcode') and
|
|
- int(line.split()[1].split('.')[0]) >= 4):
|
|
- os.environ['ARCHFLAGS'] = ''
|
|
|
|
tests_require = ['fastimport']
|
|
|