pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python python/srcdist.mk: clean up droppings that...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a5549bc64f38
branches: trunk
changeset: 771983:a5549bc64f38
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Dec 30 21:33:09 2021 +0000
description:
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
diffstat:
lang/python/srcdist.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r de2d3674ffcf -r a5549bc64f38 lang/python/srcdist.mk
--- a/lang/python/srcdist.mk Thu Dec 30 21:32:48 2021 +0000
+++ b/lang/python/srcdist.mk Thu Dec 30 21:33:09 2021 +0000
@@ -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 @@
<${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