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.
This commit is contained in:
Andrew J. Hesford 2022-01-15 09:23:50 -05:00
parent 84f7df2dbc
commit 95f3cf9410

View file

@ -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