I've rewritten above exlibs, to use the new mtime preservation and to be easier
on your sanity. Update paludis to keep things working, before reinstalling
anything python.
A possibly not conclusive list of changes:
- Python byte-compiling now happens in src_install() by calling
python_bytecompile(). This is done automagically if the package uses
distutils.exlib.
Since we generate them in src_install, .py[co] files are now part of contents.
Since mtimes are preserved, they aren't invalidated when merging, and are
properly unmerged like any other file.
.py files should be installed into /usr/lib*/python*/ (basically what
python_get_libdir returns) to be byte-compiled.
- A lot of functions and variables were removed from python.exlib &
distutils.exlib:
The pkg_* phases
python_version
distutils_python_version
PYVER
python_mod_exists
python_mod_cleanup
Replacements are the following, usage should be fairly obvious from the bits
of documentation & the code, so I won't go into detail here.
python_get_abi
python_get_libdir
python_get_sitedir
python_bytecompile
- distutils_src_(compile|install) no longer take arguments, but use
DISTUTILS_SRC_*_PARAMS arrays, for consistency with default phases.
- I tried to keep most of what's hosted on Exherbo infra working. Apologies for
any breakages that may crop up.
- I've not done patches for thirdparty repositories yet. Have at it.
Regards,
Ingmar
_______________________________________________
Exherbo-dev mailing list
[email protected]
http://lists.exherbo.org/mailman/listinfo/exherbo-dev