[MacPorts] #69728: py-pyobjc6: some changes to Python build system led to py*-pyobjc6 only installing docs

MacPorts noreply at macports.org
Sat Apr 13 23:50:26 UTC 2024


#69728: py-pyobjc6: some changes to Python build system led to py*-pyobjc6 only
installing docs
---------------------------+-----------------------------------------
  Reporter:  barracuda156  |      Owner:  barracuda156
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:  snowleopard, leopard, tiger
      Port:  py-pyobjc6    |
---------------------------+-----------------------------------------

Comment (by barracuda156):

 Looks like there are at least three issues:

 1. A move to `pep517` has broken the build, so that only docs are
 installed (fixed now locally).
 2. This does not work at all: `plistlib.readPlist`:

 {{{
   File "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
 pyobjc6/py310-pyobjc6/work/pyobjc-core-5.3/setup.py", line 49, in
 get_os_level
     pl =
 plistlib.readPlist('/System/Library/CoreServices/SystemVersion.plist')
 AttributeError: module 'plistlib' has no attribute 'readPlist'
 }}}

 There are multiple reports of this issue:
 https://bugzilla.redhat.com/show_bug.cgi?id=1793034
 https://github.com/kim-do-hyeon/iphone-forensics/issues/3

 3. There are minor `ppc`-specific errors (trivial, just fix macros).

-- 
Ticket URL: <https://trac.macports.org/ticket/69728#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list