python_single_version_externally_managed
authorKees Cook <kees@debian.org>
Thu, 20 Mar 2025 21:12:14 +0000 (22:12 +0100)
committerFelix Geyer <fgeyer@debian.org>
Thu, 20 Mar 2025 21:12:14 +0000 (22:12 +0100)
Fix building with setuptools instead of distutils.

Gbp-Pq: Name python_single_version_externally_managed.patch

src/python/Makefile.am

index c858832ea93a8c79b0985b6d0399b14d0ee14942..4613dc24bf7825676f0269c6ee437729e6b52824 100644 (file)
@@ -41,7 +41,8 @@ build: ../libseccomp.la libseccomp.pxd seccomp.pyx setup.py
 
 install-exec-local: build
        ${PY_INSTALL} --install-lib=${DESTDIR}/${pyexecdir} \
-               --record=${DESTDIR}/${pyexecdir}/install_files.txt
+               --record=${DESTDIR}/${pyexecdir}/install_files.txt \
+               --single-version-externally-managed
 
 uninstall-local:
        cat ${DESTDIR}/${pyexecdir}/install_files.txt | xargs ${RM} -f