From 95f3cf94102fa383ec9ee870ce4d183a4c1226d9 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 15 Jan 2022 09:23:50 -0500 Subject: [PATCH] python3: remove license file from libdir We already install the license in the usual location; leaving it out of the libdir prevents the XBPS trigger from attempting to byte-compile it. --- srcpkgs/python3/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 30055a201a..85cd88971a 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -75,7 +75,11 @@ do_check() { do_install() { make DESTDIR=${DESTDIR} install maninstall + + # Put the license in the usual location and remove from the libdir + # to prevent the XBPS trigger from attempting to byte-compile it vlicense LICENSE + rm ${DESTDIR}/${py3_lib}/LICENSE.txt rm -f ${DESTDIR}/usr/bin/2to3 # Remove files that belong to python3-tkinter and idle-python3