Bug#989346: python3-setuptools: .exe files in .deb file
Hello, Please consider apply this patch that remove .exe files from .deb package. I cc doko that is the maintaner. Cheers, eamanu diff --git a/debian/changelog b/debian/changelog index c44c6a0..efb34a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +setuptools (52.0.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * d/rule: Remove .exe files from the package builded (Closes: #989346). + * d/watch: Use https instead of http in the uri. + + -- Emmanuel Arias Sat, 26 Jun 2021 22:10:04 -0300 + setuptools (52.0.0-3) unstable; urgency=medium * Use sysconfig.get_platform instead of distutils.util.get_platform. diff --git a/debian/rules b/debian/rules index d030e03..42aebf2 100755 --- a/debian/rules +++ b/debian/rules @@ -17,6 +17,7 @@ override_dh_auto_install: # dh_pypy from dh-python < 1.20150705-1 falls over requires.txt # and our requires.txt aren't useful find debian/tmp -name requires.txt -delete + find debian/tmp -name "*.exe" -type f -delete override_dh_installchangelogs: dh_installchangelogs CHANGES.rst diff --git a/debian/watch b/debian/watch index 44ad864..74484f6 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,2 @@ version=3 -http://pypi.debian.net/setuptools/setuptools-(.*)\.(?:tar\.gz|zip) +https://pypi.debian.net/setuptools/setuptools-(.*)\.(?:tar\.gz|zip)
Bug#989346: python3-setuptools: .exe files in .deb file
Package: python3-setuptools Version: 52.0.0-3 Severity: serious Justification: Policy 4.16 Tags: upstream Dear Maintainer, python3-setuptools is installing some weird .exe files. find /usr/ -name '*exe' /usr/lib/python3/dist-packages/setuptools/gui-64.exe /usr/lib/python3/dist-packages/setuptools/gui.exe /usr/lib/python3/dist-packages/setuptools/gui-32.exe /usr/lib/python3/dist-packages/setuptools/cli-64.exe /usr/lib/python3/dist-packages/setuptools/cli.exe /usr/lib/python3/dist-packages/setuptools/cli-32.exe You have a lintian override to silence the warning: # Source is included for these files, they can be built in Debian with the # mingw toolchain, and the are not shipped in the binary, so this is OK for # Debian. It is not worth repacking the tarball just for this. The lintian override suggests that the files are not included in the binary, which is false, so I guess you are not aware of their presence. I think easy fix to remove them from the binary. Best -- System Information: Debian Release: 11.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-setuptools depends on: ii python33.9.2-3 ii python3-distutils 3.9.2-1 ii python3-pkg-resources 52.0.0-3 python3-setuptools recommends no packages. Versions of packages python3-setuptools suggests: pn python-setuptools-doc -- no debconf information