Thanks for your help, I moved dh_python and python3-setuptools to Build-Depends to be available in the clean step. It seems to be working.
New package is already uploaded on mentors : https://mentors.debian.net/package/urlwatch Regards, Maxime Le ven. 8 mai 2020 à 04:53, Adam Borowski <kilob...@angband.pl> a écrit : > > On Thu, May 07, 2020 at 02:05:54PM +0200, Maxime Werlen wrote: > > * Package name : urlwatch > > Version : 2.18-1 > > > Changes since the last upload: > > > > * New upstream release > > * Updated Standards-Version to 4.5.0 > > * Update Python minimum version to 3.5 > > * Adjust patches to changed files > > * Removing Dockerfile from package > > * Add optional dependency on jsbeautifier > > I'm afraid that it fails to repack the source: > > fakeroot debian/rules clean > dh clean --with python3 --buildsystem=pybuild > dh: error: unable to load addon python3: Can't locate > Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the > Debian::Debhelper::Sequence::python3 module) (@INC contains: /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 > /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 > /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 > /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 12) > line 1. > BEGIN failed--compilation aborted at (eval 12) line 1. > > Looking at B-Deps, I see: > Build-Depends: debhelper (>= 12) > Build-Depends-Indep: dh-python, python3 (>= 3.5), python3-appdirs, > python3-minidb, python3-nose, python3-pycodestyle, python3-requests, > python3-setuptools, python3-yaml, python3-lxml, python3-cssselect > > so stuff required to pack the source would need to be moved into regular > B-Deps. > > > Meow! > -- > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good. > ⢿⡄⠘⠷⠚⠋⠀ -- <willmore> on #linux-sunxi > ⠈⠳⣄⠀⠀⠀⠀