[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trivial file needed by two packages



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

with the new upload of python-qt4, it seems I have outsmarted myself. Here's an
outline of the problem:

python-qt4 contains the Python package PyQt4 (in
/usr/lib/python*/site-packages/PyQt4) with all kinds of extension modules and
some pure Python modules, along, of course, with an __init__.py. python-qt4 uses
py-central, and the pure Python modules are shared between Python versions.

In the new upload, I have moved the development configuration module
(PyQt4.pyqtconfig) into python-qt4-dev, which is only needed as a build
dependency (QScintilla2, which is currently ITP, will need this). This package
also uses pycentral, but the files are not shared because pyqtconfig.py differs
wrt the Python version used.

python-qt4-dev does not depend on python-qt4, and the point is of course to make
the build-dependencies a bit lighter. Now the problem is that __init__.py is in
python-qt4, but also needed if python-qt4-dev is installed with python-qt4
(otherwise PyQt4.pyqtconfig cannot be imported).

There are several solutions, among them:

1) roll the change back, move pyqtconfig.py back to python-qt4
or
2) make python-qt4-dev depend in python-qt4
or
3) create a new package python-qt4-common that only contains __init__.py, which
can be depended upon by python-qt4 and python-qt4-dev


1) and 2) are quite simple solutions, but fail to make the build-deps lighter
(python-qt4 is quite a large package, Installed-Size: 19380). Solution 3 reaches
this goal, but introduces a new package that has no added value.

Are there any other solutions? If not, which way should I go?

best regards & TIA

Torsten

- --
Torsten Marek <shlomme@gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGtYaKfMVFHqJEyFgRAp5aAJ9/ddYn8kGXOXBgE50UVjqAnty+lgCfavA1
FcKTr1fJ0qJe7oscDXT3VQw=
=19QO
-----END PGP SIGNATURE-----



Reply to: