On 2026-10-16 00:35 +0300, Evgueni Antonov wrote:

   * Clean Lintian report with standards-compliant packaging.

If you try to build this package it says
make[1]: Entering directory 
'/home/wookey/packages/sponsoring/tuiweathergirl/tuiweathergirl-1.5.13'
INSTALLING TUIWEATHERGIRL
=========================
* Debian installation

and then pops up a sudo prompt.

That is not suitable debian packaging. The build and install must complete 
without running sudo.

This comes from the Makefile which includes:

install-deps:
        @echo "INSTALLING TUIWEATHERGIRL"
        @echo "========================="
        @if command -v apt-get &> /dev/null; then \
                echo "* Debian installation"; \
                echo ""; \
                sudo apt-get update && sudo apt-get install -y python3 
python3-babel python3-packaging python3-requests libncurses6 tzdata; \

Dependencies need to be declared in debian/control, not installed at build-time 
with sudo.

Now in fact they are declared in debian/control so you probably just need to stop the build trying to do this install-deps stage in the Makefile.
Wookey
--
Principal hats:  Wookware, Debian
http://wookware.org/
Matrix: @wookey:matrix.org

Attachment: signature.asc
Description: PGP signature

Reply via email to