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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user