DFSG NEW Queue

DFSG, Licensing & New Packages Team

python-lg-rs232-tv 1.3.2-1

Package Information

Descriptionasynchronous 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.

MaintainerHome Assistant Team <team+homeassistant@tracker.debian.org>
Changed ByEdward Betts <edward@4angle.com>
Sponsoredward@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/homeassistant-team/deps/python-lg-rs232-tv.git (browse)
Closes#1156092
Trackerhttps://tracker.debian.org/pkg/python-lg-rs232-tv
Uploaded1 hour ago

New Package Report

.changes◂
Version1.3.2-1
Changed-ByEdward Betts <edward@4angle.com>
Architectureall source
Distributionunstable
DateTue, 01 Dec 2026 21:16:00 +0000
Sourcepython-lg-rs232-tv
Changelog◂
python-lg-rs232-tv (1.3.2-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1156092)
.dsc◂
Package-Listpython3-lg-rs232-tv deb python optional arch=all
Sectionpython
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lg-rs232-tv
Upstream-Contact: Paulus Schoutsen <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, 2 important, 1 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 0 hours ago.

Report◂

DFSG NEW review for python-lg-rs232-tv version 1.3.2-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: No
  • Issues: 0 blocker, 2 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

MIT throughout: upstream LICENSE is the MIT licence (Copyright (c) 2026 Paulus Schoutsen) and the Files: * stanza reproduces it; the later Files: debian/* stanza correctly attributes the packaging to Edward Betts. Every file in the tree is matched by one of the two stanzas, the full MIT text is present as a stand-alone License paragraph, and there are no other copyright notices, no SPDX headers, no vendored third-party code, no built or generated files, and no non-free wording. The prescan's author check found every holder named.

Packaging

The packaging is mostly tidy (compat 14 with the dh sequences it needs, pybuild, no patches, no maintainer scripts, hermetic tests, current Standards-Version), but there are two important defects: the built Python metadata advertises version 0.0.0 instead of 1.3.2, and the runtime dependency on python3-serialx is only obtained from a test-only <!nocheck> build dependency, so any build without python3-serialx installed silently drops it. The console script also has no manual page. A sponsor would require these fixed.

Issues

important packaging 1. Installed Python metadata records version 0.0.0 instead of 1.3.2 ◂
  • Files: pyproject.toml:3, debian/rules:3
  • Basis: inferred from what was read, not seen directly
  • Evidence: pyproject.toml: version = "0.0.0"; debian/rules: dh $@ --buildsystem=pybuild; the tree has no debian/patches.
  • Problem: pybuild's generic PEP 517 plugin builds the wheel with python3 -m build --no-isolation --skip-dependency-check --wheel (/usr/share/dh-python/dhpython/build/plugin_pyproject.py, build_wheel) and installs it unmodified, so the uv_build backend uses the static PEP 621 [project] version from the unpatched tree. The resulting lg_rs232_tv-0.0.0.dist-info therefore advertises Version 0.0.0 while the Debian package is 1.3.2, so importlib.metadata.version("lg-rs232-tv") and dependent version checks see a version lower than any real release. Python packages are expected to ship metadata matching their Debian version.
  • Fix: Patch pyproject.toml to version = "1.3.2" with a quilt patch (there is no debian/patches yet), or substitute the version before pybuild builds, and check the installed METADATA.
important packaging 2. Runtime dependency python3-serialx is only a <!nocheck> build dependency ◂
  • Files: debian/control:17, debian/control:24
  • Basis: checked, in the package or with a reference tool
  • Evidence: Build-Depends-Indep: ... python3-serialx <!nocheck>, while the Package: python3-lg-rs232-tv stanza declares no Depends field.
  • Problem: ${python3:Depends} is filled automatically at compat 14, but dh_python3 derives it from the wheel's Requires-Dist: serialx>=1.9.0 by translating the name with installed *-info metadata through dpkg -S (/usr/share/dh-python/dhpython/pydist.py, guess_dependency; serialx has no entry in dh-python 7.20261030's static pydist table). The dependency is therefore generated only when python3-serialx happens to be installed in the build environment. Because the only declaration of python3-serialx is a <!nocheck> build dependency, a build with the nocheck profile (which omits it, and in which dh's test target is skipped) produces a package with no Depends: python3-serialx, although src/lg_rs232_tv/tv.py imports serialx at import time. Policy 7.2 requires Depends for a package needed to provide significant functionality.
  • Fix: Declare Depends: python3-serialx explicitly on python3-lg-rs232-tv (keeping the <!nocheck> build dependency for the tests), or take <!nocheck> off the Build-Depends-Indep entry so dh_python3 can always map it.
minor packaging 3. /usr/bin/lg-rs232-tv is shipped without a manual page ◂
  • Files: pyproject.toml:32
  • Basis: checked, in the package or with a reference tool
  • Evidence: [project.scripts] → lg-rs232-tv = "lg_rs232_tv.__main__:main"; the tree contains no *.1 file and no debian/manpages.
  • Problem: pybuild's PEP 517 plugin copies the wheel's scripts/ directory to the interpreter's scripts path (/usr/bin, plugin_pyproject.py, install), so the package installs /usr/bin/lg-rs232-tv with no manual page. Policy 12.1 says each program should have an associated manual page and that a missing one is considered a bug.
  • Fix: Ship lg-rs232-tv.1 and a debian/manpages (or debian/python3-lg-rs232-tv.manpages) file.
Verified ◂
  • Read debian/copyright in full: it is DEP-5 with the canonical Format URL; Files: * (2026 Paulus Schoutsen, MIT) and the later Files: debian/* (2026 Edward Betts, MIT) cover every file, and the stand-alone MIT text matches LICENSE exactly.
  • Inventoried the tree (21 upstream files, 8 debian/ files, .pc/ excluded) and grepped it for Copyright, (C), ©, SPDX-License-Identifier, Licen[cs]e, public domain, All rights reserved, Permission is hereby: the only notice is LICENSE; no other holders and no non-free wording.
  • The prescan (dfsg-author-check) scanned 19 files and reported every holder named; it listed no built, minified or PDF files, so there was nothing to explain file by file.
  • AI_POLICY.md, AGENTS.md and CLAUDE.md are project contribution-policy text with no copyright or licence terms of their own; they are non-installed source files covered by Files: *.
  • No debian/patches exists, so no patch-created files are present; Source: lg-rs232-tv and Homepage/Vcs-* fields agree with the upstream repository.
  • Standards-Version 4.7.4 against the reviewing system's Policy 4.7.4.1: current enough (first two components match).
  • Build relationships resolve in the archive: python3-uv-build 0.9.17+ds1, pybuild-plugin-pyproject 7.20261030, python3-serialx 1.15.1, python3-pytest-timeout 2.4.0, python3-pytest-asyncio 1.4.0, python3-all 3.14.8; dh-sequence-python3 is provided by dh-python and dh-sequence-single-binary by debhelper 14.5.
  • The dh-sequence-single-binary add-on (read in /usr/share/perl5/Debian/Debhelper/Sequence/single_binary.pm) refuses sources with more than one binary package; this source builds exactly one, so it applies.
  • Read dh_python3's dependency generation and pybuild's PEP 517 plugin under /usr/share/dh-python; ${python3:Depends} needs no explicit field at compat 14, and the test step is pybuild --test, not a wheel build.
  • No maintainer scripts, no debian/tests/ (the declared Testsuite: autopkgtest-pkg-pybuild uses the autogenerated pybuild test), no nostrip/dwz or test overrides in debian/rules.
  • The test suite uses a mocked serial connection (tests/conftest.py) and needs neither hardware nor network.
  • The optional remote extra needs aiowebostv>=0.7.4 while the archive's python3-aiowebostv is 0.4.2; the package declares no relation on it and the service-menu subcommand degrades with an ImportError message, so no declared dependency is wrong.
  • uscan found the packaged version as the newest upstream release (upstream 1.3.2, packaged 1.3.2).
Not confirmed ◂
  • No build was run, so the generated .dist-info was not inspected; the 0.0.0 version follows from the static [project] version, pybuild's python3 -m build invocation and the PEP 621 backend contract.
  • The exact dependencies of autopkgtest's generated pkg-pybuild test stanza could not be read because the autopkgtest package is not installed on the reviewing system; the tests need pytest, pytest-asyncio and pytest-timeout.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package