Source: python-unasync Maintainer: Home Assistant Team Uploaders: Edward Betts , Section: python Build-Depends: debhelper-compat (= 14), dh-sequence-python3, dh-sequence-single-binary, dh-sequence-sphinxdoc , pybuild-plugin-pyproject, python3-all, python3-setuptools, Build-Depends-Indep: python3-pytest , python3-sphinx , python3-sphinx-rtd-theme , python3-sphinxcontrib.trio , python3-tokenize-rt , Standards-Version: 4.7.4 Homepage: https://github.com/python-trio/unasync Vcs-Browser: https://salsa.debian.org/homeassistant-team/deps/python-unasync Vcs-Git: https://salsa.debian.org/homeassistant-team/deps/python-unasync.git Testsuite: autopkgtest-pkg-pybuild Package: python3-unasync Architecture: all Description: async-to-sync source transformer This library rewrites source files during package builds, producing a synchronous tree from an asynchronous source tree. It is normally invoked through a build command, where it reads files from configured directories such as _async and writes corresponding files to destinations such as _sync. . The transformation is rule based. Rules map source paths to target paths and apply token replacements for common async constructs and project-specific names. More specific rules can override broader ones, allowing different parts of a source tree to be converted with different path mappings and replacement sets. . It works on the project source tree and the package build machinery, mainly by extending the build step that copies package files. The generated files are ordinary source files that can be included in the built package.