Mailinglist Archive: opensuse-factory (1134 mails)

< Previous Next >
Re: [opensuse-factory] Python for after 12.2
  • From: todd rme <toddrme2178@xxxxxxxxx>
  • Date: Tue, 26 Jun 2012 13:33:15 +0200
  • Message-id: <CADb7s=u7ObK7LLCxQDPpJqmBycQObENNEuHPxe_vNHugSbEkHA@mail.gmail.com>
On Tue, Jun 26, 2012 at 12:24 PM, Jan Engelhardt <jengelh@xxxxxxx> wrote:
On Tuesday 2012-06-26 12:18, todd rme wrote:
BuildRequires: python3
BuildRequires: python3-devel

You need only one, not both. Generally, we recommend using the latter
(as it should always work). For Python-only packages (i.e. no
arch-dependant code contained) the former should suffice but it's more
consistent to always use the -devel package.

This is not really the case.  python3-devel depends on python3-base,
not python3.  Many packages, however, require the full python3 to
build, because it contains additional functionality these packages
depend on (often md5 or sha hash creation).

In that case, should not it better depend on "python(md5) >= 3"
rather than python3-base?

Nothing seems to provide that. There are provides for the specific
libraries missing from python3-base, but their names vary depending on
the python3 version (like _hashlib.cpython-32mu.so).

-Todd
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >