Mailinglist Archive: opensuse-packaging (267 mails)

< Previous Next >
Re: [opensuse-packaging] Python 2 and Python 3 compatibility packaging
On Mon, Dec 5, 2011 at 8:30 PM, todd rme <toddrme2178@xxxxxxxxx> wrote:

I haven't done a detailed check of how many packages have this issue,
but amongst the admittedly small number of packages I have looked at
all of them have it.

Let me save you some trouble: libs don't have the issue.

As per package naming convention, that means most (if not all) of the
packages beginning with "python-".

Of those that aren't libs, many don't need support for both python
versions. mercurial for example. Any version you pick is OK, since
it's just a standalone app. You'd only need both versions if they
expose a programmatic API other packages depend on (like with sip and
cxfreeze).

I believe the number of packages won't be that huge.

Notice that you could easily build a macro for that rename, since it
means renaming all the binaries installed in %{_bindir}. So the change
isn't that "personalized" for each package. And if you decide to use a
subdirectory within bindir that's even easier, since a macro can
create the symlinks with one bash command.

So it *can* be made to scale. It only requires a bit of thought and prevision.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups