Opened 10 years ago

Last modified 6 years ago

#42066 new enhancement

libplist @1.10: add python34 variants

Reported by: zpeeters@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: petrrr, kurthindenburg (Kurt Hindenburg), JacksonIsaac (Jackson Isaac)
Port: libplist

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Added python32 and python33 variants. Other python versions could easily be added as well, but have not tested.

Other changes:

  • A default python variant is set, but python is not necessary for building libplist. Instead, when setting a python variant, python bindings for libplist are compiled and installed. Removed the default variant, since the python bindings are an optional extra.
  • Also changed the way depends and configure.args are set, more straightforward.
  • Changed variant descriptions to reflect that it's python bindings.
  • python32 and python33 variants use ${frameworks_dir}/Python.framework/Versions/3.3/Headers as include dir, because the actual dir might include the python abi in the name and depends on the installation. Changed the include dirs in python26 and python27 variants to be consistent.

These changes do not address ticket #41948

Attachments (1)

Portfile.diff (3.9 KB) - added by zpeeters@… 10 years ago.

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by zpeeters@…

Attachment: Portfile.diff added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rmstonecipher@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to rmstonecipher@…

comment:2 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:3 Changed 10 years ago by petrrr

Summary: libplist @1.10: add python32 and python33 variantslibplist @1.10: add python34 variants

Python 3.4 should be added instead of Python 3.2 and 3.3. These are deprecated!

comment:4 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from rmstonecipher@… to macports-tickets@…
Version: 2.2.1

comment:5 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:6 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

I've updated this to 1.12 - I'll look at adding python34

comment:7 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

The configuration script doesn't seem to handle python3+ correctly

DEBUG: PYTHON='/opt/local/bin/python'
DEBUG: PYTHON_VERSION='3.5'
checking whether /opt/local/bin/python version is >= 2.3... no
configure: error: Python interpreter is too old

comment:8 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:9 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

It appears https://github.com/libimobiledevice/libimobiledevice has some support for python3, although it would be better if they released a new version.

comment:10 Changed 6 years ago by JacksonIsaac (Jackson Isaac)

Cc: JacksonIsaac added
Note: See TracTickets for help on using tickets.