pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Dec 30 21:33:09 UTC 2021

Modified Files:
        pkgsrc/lang/python: srcdist.mk

Log Message:
python/srcdist.mk: clean up droppings that may be left in ${PYLIB}

Fixes some fallout from recent setuptools update, see thread:
https://mail-index.netbsd.org/pkgsrc-users/2021/12/30/msg034938.html


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/python/srcdist.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python/srcdist.mk
diff -u pkgsrc/lang/python/srcdist.mk:1.40 pkgsrc/lang/python/srcdist.mk:1.41
--- pkgsrc/lang/python/srcdist.mk:1.40  Wed Jan  8 13:44:41 2020
+++ pkgsrc/lang/python/srcdist.mk       Thu Dec 30 21:33:09 2021
@@ -1,4 +1,4 @@
-# $NetBSD: srcdist.mk,v 1.40 2020/01/08 13:44:41 joerg Exp $
+# $NetBSD: srcdist.mk,v 1.41 2021/12/30 21:33:09 tnn Exp $
 
 .include "../../lang/python/pyversion.mk"
 
@@ -20,4 +20,10 @@ python-std-patchsetup:
                <${FILESDIR}/setup.py >${WRKSRC}/setup.py
 
 post-patch: python-std-patchsetup
+
+python-std-setuptools-cleanup:
+       ${RM} -rf ${DESTDIR}/${PREFIX}/${PYLIB}/lib-dynload/UNKNOWN*
+
+post-install: python-std-setuptools-cleanup
+
 .endif



Home | Main Index | Thread Index | Old Index