The way to fix ports/104560

Pav Lucistnik pav at FreeBSD.org
Tue Jan 23 19:22:53 UTC 2007


Alexander Botero-Lowry píše v út 23. 01. 2007 v 10:34 -0800:
> > 
> > --DSPAM_MULTIPART_EX-85454
> > Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-si
> > gnature"; boundary="=-IDyhv9ael/t7m1qkoJDV"
> > 
> > --=-IDyhv9ael/t7m1qkoJDV
> > Content-Type: text/plain; charset=ISO8859-2
> > Content-Transfer-Encoding: quoted-printable
> > 
> > Alexander Botero-Lowry p=ED=B9e v =FAt 23. 01. 2007 v 03:31 -0800:
> > > > > Please take a look at ports/104560 (and also ports/105853 and
> > > > > ports/106120) and come to a consensus what is the right way to fix th=
> > is
> > > > > issue.
> > > > >=3D20
> > > > > I am sure we can come to an agreement and shortly commit a fix.
> > > >=20
> > > > As I see it:
> > > >=20
> > > > - lang/python metaport must be removed
> > > > - all lang/python2? ports will install $PREFIX/bin/python binary
> > > >=20
> > > > How that sounds?
> > > >=20
> > > > Or if people absolutely need to have several different pythons on a
> > > > system, make the bin/python automatical symlink, like in perl ports.
> > 
> > > This fails to deal with installing the site-packages in the appropriate
> > > site-package directories.
> > 
> > How so? You don't need to have interpreter called python2.5 to install
> > into 2.5's sitelibdir.

> You absolutely do. THe pyc and pyo files are part of the package list and
> have to be generated by the installation process. So you must have python2.5
> to install to the python 2.5 site-packages.

Unless your bin/python is actually 2.5 python.

I see two possible ways out:

1) patch a lot of python using ports to call ${PYTHON} instead of python

2) create a tool, that will set up PREFIX/bin/python to be a symlink or
   a copy of a python2X binary the user desires to use at a moment,
   prior the start of compilation. `use.perl port' equivalent, really.

Approach number one takes a lot of patching. Approach number two imposes
an administrative burden on end users.

We should pick on of these approaches, and commit to it.

Debate?

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

94 outdated ports on the box,
94 outdated ports.
Portupgrade one, an hour 'til done,
82 outdated ports on the box.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070123/09873a48/attachment.pgp


More information about the freebsd-gnome mailing list