Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 18:26:13 +0100
From:      Marcus von Appen <mva@FreeBSD.org>
To:        freebsd-ports@freebsd.org, freebsd-pkg@freebsd.org, ports-announce@freebsd.org
Cc:        freebsd-python@freebsd.org
Subject:   [FreeBSD-Ports-Announce] [HEADS UP] lang/python removed as implicit port dependency
Message-ID:  <20131218172613.GA1419@medusa.sysfault.org>

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

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On behalf of the FreeBSD python team, I'd like to announce that the
lang/python port has been removed as an implicit port dependency for
ports using USE_PYTHON, USE_PYTHON_BUILD and USE_PYTHON_RUN in revision
336850.

Why?

  The removal is necessary to bring us a step closer to building and
  installing ports for multiple python versions at the same time.

What does that mean for port users?

  If you are using the ports tree to build your own ports from scratch,
  propably not much. Chances are high that lang/python was installed
  earlier, either as dependency or directly by you. In that case, it is
  very unlikely that you will run into any trouble with the change and
  hence you should not need to do anything in special.

What does that mean for pkg users?

  If you are using pkg or are running your own pkg build server
  (e.g. via poudriere), it might happen that the one or other port
  breaks, since it cannot find the 'python' command or something
  else, which is installed by lang/python.

  We tried our best to keep the breakage as low as possible, but with
  more than 24000 ports to test and endless OPTION combinations, this is
  an impossible task. Please accept our apologies for your inconvenience
  and let us know about that misbehaviour by submitting a PR.

If you are not a port maintainer, committer or developer, you can stop
reading now.

What about maintainers and port developers?

  Please read the CHANGES. Keep the direct usage of lang/python within
  BUILD_ and RUN_DEPENDS as low as possible. Using lang/python as
  dependency will complicate package building for different python
  versions (due to the PACKAGE_DEPENDS_ONLY knob). Ports should refer to
  a specific python version, version range or a version meta port
  (lang/python2 or lang/python3) instead.

  USE_PYTHON=yes and friends will only pull in the default python
  version now (e.g. lang/python27 or whatever is configured via
  DEFAULT_VERSIONS), so test your port thoroughly for (a possibly)
  incorrect usage of the 'python' command.

Cheers
Marcus

--BOKacYhQ+x31HxR3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iEYEARECAAYFAlKx2rUACgkQi68/ErJnpkdpKQCgnnNFl4VAJ6YqTTk2rnwAHj6K
RW8An1i3gMXAGbg2v1i+mXHjgqBv24K8
=V6Rq
-----END PGP SIGNATURE-----

--BOKacYhQ+x31HxR3--



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