Summary: | dev-libs/libxml2-2.9.10 stable request (was: dev-libs/libxml2 - add python3_9 support) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | charles17 |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | mattst88 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 725490 |
Description
charles17
2020-06-24 13:45:26 UTC
One has to add the following lines to src_prepare in the ebuild file sed -i -e's/PyLong_Check(obj)/(PyLong_Check(obj))/g' \ -e's/PyBool_Check (obj)/(PyBool_Check (obj))/g' \ -e's/PyBytes_Check (obj)/(PyBytes_Check (obj))/g' \ -e's/PyUnicode_Check (obj)/(PyUnicode_Check (obj))/g' \ -e's/PyList_Check (obj)/(PyList_Check (obj))/g' \ -e's/PyFloat_Check (obj)/(PyFloat_Check (obj))/g' python/types.c sed -i -e's/PyUnicode_Check (ret)/(PyUnicode_Check (ret))/g' python/libxml.c I added (untested by me) python3_9 support in 53ccf8fa1b30f2a7baebd9617de599e3109963b4. Could you test and confirm that it's working as expected? (In reply to Matt Turner from comment #2) [...] > it's working as expected? Just compiled on one computer without any trouble */* PYTHON_TARGETS: python3_8 python3_9 */* PYTHON_SINGLE_TARGET: -* python3_8 Use this bug for stabilization *** This bug has been marked as a duplicate of bug 710748 *** |