python-lg-rs232-tv 1.3.2-3
Package Information
| Description | asynchronous library for controlling LG TVs over RS-232 The library can query power status, switch inputs, adjust picture and sound settings, and send remote control key codes. It connects through a local serial port or a TCP serial bridge and uses set IDs to address individual TVs on a shared serial connection. A command-line tool can display TV status, change settings, and scan for responding set IDs. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/deps/python-lg-rs232-tv.git (browse) |
| Tracker | https://tracker.debian.org/pkg/python-lg-rs232-tv |
| Uploaded | 3 days ago |
New Package Report
.changes
| Changed-By | Edward Betts <edward@4angle.com> |
|---|---|
| Architecture | all source |
| Distribution | unstable |
| Date | Wed, 02 Dec 2026 14:39:52 +0000 |
| Source | python-lg-rs232-tv |
| Version | 1.3.2-3 |
Changelog
python-lg-rs232-tv (1.3.2-3) unstable; urgency=medium . * Fix Upstream-Contact in debian/copyright.
.dsc
| Component | main |
|---|---|
| Package-List | python3-lg-rs232-tv deb python optional arch=all |
| Section | python |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lg-rs232-tv Upstream-Contact: Paulus Schoutsen <balloob@gmail.com> Source: https://github.com/home-assistant-libs/lg-rs232-tv Files: * Copyright: 2026 Paulus Schoutsen License: MIT Files: debian/* Copyright: 2026 Edward Betts <edward@4angle.com> License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 0 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 3 days ago.
Report
DFSG NEW review for python-lg-rs232-tv version 1.3.2-3
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
debian/copyright is DEP-5 (correct Format line), the upstream licence is MIT and the full MIT text is included, and both holders are named: Paulus Schoutsen for upstream files and Edward Betts for debian/*. The prescan's author check found no unlisted holder, and a manual read of all 19 upstream files found only the MIT LICENSE and pyproject's MIT declaration, with no non-free terms, no third-party/vendored code, and no built, minified or generated files.
Packaging
The packaging is mostly sound (compat 14 with dh-sequence-python3 and single-binary, pybuild with uv_build, correct Testsuite and metadata), but one important defect remains: python3-serialx is marked <!nocheck> although dh_python3 needs it installed to generate the binary's runtime dependency. In a build with the nocheck profile the package would be emitted without Depends: python3-serialx, which Policy 4.9.2 forbids.
Issues
important packaging 1. python3-serialx is marked <!nocheck> although dh_python3 needs it to generate Depends ◂
- Files:
debian/control:17 - Basis: checked, in the package or with a reference tool
- Evidence: debian/control:
python3-serialx <!nocheck>,; Policy 4.9.2: "enabling the profile or the tag must not functionally change the emitted binary packages". /usr/share/dh-python/dhpython/pydist.py: whenserialxis not in dh-python's pydist table (it is not in /usr/share/dh-python/dist/cpython3_fallback), guess_dependency falls back todpkg -Sand returns None if python3-serialx is not installed (lines 368-401). - Problem: The installed package imports serialx unconditionally (lg_rs232_tv.tv, re-exported by init), so python3-serialx is a real runtime dependency. debian/control has no explicit Depends and no debian/py3dist-overrides, so dh_python3 derives
Depends: python3-serialxfrom the built dist-info by finding the installed python3-serialx. In a build where thenocheckbuild profile is active, the annotated Build-Depends-Indep entry is not installed, dh_python3 cannot resolveserialx, and the emitted binary silently depends on python3:any but not python3-serialx. That changes the binary package depending on the build profile, contrary to Policy 4.9.2, and produces an unusable package in such builds. - Fix: Remove
<!nocheck>from python3-serialx (it can stay in Build-Depends-Indep, or move it to Build-Depends), or add an explicitDepends: python3-serialxto the python3-lg-rs232-tv stanza so the dependency does not depend on the build profile.
Verified ◂
- Read debian/copyright in full: DEP-5, exact Format URL, Files: * (2026 Paulus Schoutsen, MIT) and Files: debian/* (2026 Edward Betts, MIT), plus a stand-alone MIT License paragraph matching LICENSE and pyproject.toml's license = "MIT".
- Prescan author check: every copyright holder found is named in debian/copyright. Manually inspected all 19 upstream files; the only copyright/licence notices are LICENSE and the pyproject MIT fields.
- No built, compiled, minified, generated or binary files in the tree; AGENTS.md is empty; no fonts, images or sound data; README.md and the MD files are plain upstream documentation.
- No third-party or vendored code: runtime imports are the standard library plus serialx (and the optional aiowebostv in src/lg_rs232_tv/remote.py).
- Build-Depends names checked against the archive: dh-sequence-single-binary is provided by debhelper 14.5, pybuild-plugin-pyproject and python3-uv-build exist, python3-serialx is 1.15.1, python3-pytest 9.1.1, python3-pytest-asyncio 1.4.0, python3-pytest-timeout 2.4.0.
- Checked dh-python's dependency code: pydist has no serialx mapping, so python3-serialx is resolved via dpkg -S at binary time (pydist.py guess_dependency, depends.py dist-info handling); no debian/py3dist-overrides exists.
- Compat 14 is the recommended debhelper level; debian/rules uses the dh sequencer with pybuild, single-binary is explicitly activated, and the pyproject version replacement in override_dh_auto_build happens before the wheel is built and unpacked, with the file restored by the trap.
- Standards-Version 4.7.4 matches Policy 4.7.4.1 in its first two components; source format 3.0 (quilt) with no debian/patches; changelog 1.3.2-3 targets unstable and closes #1156092.
- Testsuite: autopkgtest-pkg-pybuild without debian/tests/control is the standard autodep8 pybuild setup; @builddeps@ covers python3-pytest, python3-pytest-asyncio, python3-pytest-timeout and python3-serialx, and the tests use only serialx and the standard library.
- uscan found the packaged version as the newest upstream release (upstream
1.3.2, packaged1.3.2).
Not confirmed ◂
- AI_POLICY.md carries no copyright or licence notice of its own; debian/copyright attributes the whole upstream tree to Paulus Schoutsen, and whether the Open Home Foundation holds copyright in that policy text could not be determined. It is covered by the repository's MIT LICENSE as it stands.
- src/lg_rs232_tv/remote.py imports aiowebostv, which Debian ships as python3-aiowebostv 0.4.2 while the pyproject 'remote' extra requires aiowebostv>=0.7.4; debian/control declares no relationship with it. Whether the hidden service-menu mode works with 0.4.2 was not checked.
- No build or test run was possible; the nocheck finding rests on reading dh-python's dependency-generation code and Policy 4.9.2, not on a build log.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 3 days ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.