Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2007 19:51:54 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Alexander Botero-Lowry <alexbl@FreeBSD.org>
Cc:        gnome@FreeBSD.org, ports-developers@FreeBSD.org, python@FreeBSD.org, vd@FreeBSD.org
Subject:   Re: The way to fix ports/104560
Message-ID:  <1169578314.3659.6.camel@ikaros.oook.cz>
In-Reply-To: <20070123183158.CD86E39C4C@cherenkov.geekfire.com>
References:  <20070123104738.GA41157@qlovarnika.bg.datamax> <1169549704.6221.10.camel@pav.hide.vol.cz> <20070123112924.4023339F66@cherenkov.geekfire.com> <1169558939.6221.32.camel@pav.hide.vol.cz> <20070123183158.CD86E39C4C@cherenkov.geekfire.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-vgvvc5Z8ONZPXiGGtp/0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Alexander Botero-Lowry p=ED=B9e v =FAt 23. 01. 2007 v 10:34 -0800:
> >=20
> > --DSPAM_MULTIPART_EX-85454
> > Content-Type: multipart/signed; micalg=3Dpgp-sha1; protocol=3D"applicat=
ion/pgp-si
> > gnature"; boundary=3D"=3D-IDyhv9ael/t7m1qkoJDV"
> >=20
> > --=3D-IDyhv9ael/t7m1qkoJDV
> > Content-Type: text/plain; charset=3DISO8859-2
> > Content-Transfer-Encoding: quoted-printable
> >=20
> > Alexander Botero-Lowry p=3DED=3DB9e v =3DFAt 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 fi=
x th=3D
> > is
> > > > > issue.
> > > > >=3D3D20
> > > > > I am sure we can come to an agreement and shortly commit a fix.
> > > >=3D20
> > > > As I see it:
> > > >=3D20
> > > > - lang/python metaport must be removed
> > > > - all lang/python2? ports will install $PREFIX/bin/python binary
> > > >=3D20
> > > > How that sounds?
> > > >=3D20
> > > > Or if people absolutely need to have several different pythons on a
> > > > system, make the bin/python automatical symlink, like in perl ports=
.
> >=20
> > > This fails to deal with installing the site-packages in the appropria=
te
> > > site-package directories.
> >=20
> > 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 python=
2.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?

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

94 outdated ports on the box,
94 outdated ports.
Portupgrade one, an hour 'til done,
82 outdated ports on the box.

--=-vgvvc5Z8ONZPXiGGtp/0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: 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?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFtllKntdYP8FOsoIRAslYAJ9xPZZfPYUjwgyqCH5JUnvRIfwSmQCffpmB
Np66iMDVdRJYklQCzqTZ0PU=
=mc4q
-----END PGP SIGNATURE-----

--=-vgvvc5Z8ONZPXiGGtp/0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1169578314.3659.6.camel>