[Sugar-devel] Multiversion Packages of toolkit.
quozl at laptop.org
Tue Jul 9 02:33:19 EDT 2019
James Cameron <quozl at laptop.org> wrote:
> 1. write a throw-away script to download all Debian packages
> that depend on Python 2 or Python 3, intersect a union of source
> packages that support both versions, and then list those
> packages that contain configure.ac in the source package,
> 2. review those Debian and Ubuntu source packages that are used
> to generate binary packages for both Python 2 and Python 3, and
> list the package design patterns that you observe,
When I did this today, I looked through 695 packages.
Those that looked interesting were dbus-python and gyoto. Both
generate Python 2 and Python 3 binary packages from a single source,
and use configure.ac method of source configuration.
Less interesting but worthy of learning from were libbytesize, mock,
openvswitch, and protobuf.
Another option we have is to change something in the toolkit
configure.ac for the next release, but I don't know what would be
best. What we have now in 0.114 works for both ambient Python
A foreseeable failure is for the toolkit to be configured and
installed for only one Python version. Result will be that a subset
of activity packages either can't be built, or won't run.
More information about the Sugar-devel