co-existing pythons?
Jack Howarth
howarth at bromo.med.uc.edu
Mon Sep 14 07:37:39 PDT 2009
Can someone explain the details of how the various
python packages in MacPorts co-exist? Most of the scientific
packages I maintained in fink (and will be porting to MacPorts)
use python/tcltk. I assume MacPorts doesn't really have the
same type of full python variants as fink where a package can
be built against any existing compatible python. While full
python variants are useful, there are limitations to the
concept. For example, variants really never helped get fink
transitioned to the tcl 8.5 release. Co-existing tcltk packages
would have introduced a bewildering number of package variations.
pymol-py25-tcltk84
pymol-py26-tcltk84
pymol-py25-tcltk85
pymol-py26-tcltk25
It even worst in the past before they pruned the pythons to
be supported in each -py variant.
Hopefully the pythons in MacPorts aren't exclusive and
one doesn't have to be deactived to install the other. In
fink, the approach is to have multiple python2x packages
but only one optional python package for python26 which
provides the %p/bin/python symlink to the python26 executable.
That actually is useful to have because I ran into at least
one package, pdb2pqr which simply can't be properly built
without it seeing a %p/bin/python. Not without heavily
reworking its configuration scripts.
Jack
ps In fink, we finally upgraded tcl to 8.5, but only for
the x86_64 architecture. That also raises the question,
does MacPort have any way to support package variants
that are architecture specific? For example having a
tcl 8.4 for powerpc and i386, but tcl 8.5 for x86_64?
Or would that have to be achieved through a single
Portfile?
More information about the macports-dev
mailing list