Package: python-selectolax / 0.4.6-1
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-selectolax | 0.4.6-1 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| setup_find_packages.patch | (download) |
pyproject.toml |
4 4 + 0 - 0 ! |
pyproject.toml: use and define [tools.setuptools.packages.find] Setuptools found a subdirectory or module named selectolax.lexbor in the source code, but it wasn't explicitly included in the list of packages to be installed. Therefore, it was added to pyproject.toml. |
| setup_enable_debug_symbols.patch | (download) |
setup.py |
2 1 + 1 - 0 ! |
setup.py: enable debug symbol's generation |
| setup_fix_source_path.patch | (download) |
setup.py |
6 4 + 2 - 0 ! |
setup.py: adjust the library folders to use The lexbor and modest lib directories are located elsewhere in Debian and must be activated separately. |
| doc_insert_lib_path.patch | (download) |
docs/conf.py |
23 19 + 4 - 0 ! |
mock selectolax modules in docs This patch updates the Sphinx documentation configuration to prevent the import of selectolax during the documentation build. Since selectolax depends on compiled C extensions, the import would fail. This change simulates the selectolax modules using `autodoc_mock_imports` and suppresses any warnings. Instead of importing the package to obtain the version, it now extracts it directly from `selectolax/__init__.py` using a regular expression. This ensures that the documentation can be reliably built without requiring the compiled extensions. |
| doc_fix_code_block.patch | (download) |
docs/examples.rst |
1 1 + 0 - 0 ! |
docs/examples.rst: fix code block issue Docutils/Sphinx expects a blank line after an indented block ( code, quote, list) before the block ends or a new block begins. |
1
