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:
parent
84f7df2dbc
commit
95f3cf9410
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue