pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-xdg My last build gave "ModuleNotFoundError: ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8dd7b388635
branches:  trunk
changeset: 445436:e8dd7b388635
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Jan 23 19:30:59 2021 +0000

description:
My last build gave "ModuleNotFoundError: No module named 'setuptools'".
joerg@ advises that when we see an EGG_FILE, we should be using
setuptools, which in pkgsrc terms means egg.mk. Do that here in hopes of
fixing bulk builds.

diffstat:

 devel/py-xdg/Makefile |   4 ++--
 devel/py-xdg/PLIST    |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r 2ee9e5925152 -r e8dd7b388635 devel/py-xdg/Makefile
--- a/devel/py-xdg/Makefile     Sat Jan 23 15:36:02 2021 +0000
+++ b/devel/py-xdg/Makefile     Sat Jan 23 19:30:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2021/01/22 17:27:46 triaxx Exp $
+# $NetBSD: Makefile,v 1.9 2021/01/23 19:30:59 schmonz Exp $
 
 DISTNAME=      pyxdg-0.27
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -10,5 +10,5 @@
 COMMENT=       Python library for XDG
 LICENSE=       gnu-lgpl-v2
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2ee9e5925152 -r e8dd7b388635 devel/py-xdg/PLIST
--- a/devel/py-xdg/PLIST        Sat Jan 23 15:36:02 2021 +0000
+++ b/devel/py-xdg/PLIST        Sat Jan 23 19:30:59 2021 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.6 2021/01/22 17:27:46 triaxx Exp $
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2021/01/23 19:30:59 schmonz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/xdg/BaseDirectory.py
 ${PYSITELIB}/xdg/BaseDirectory.pyc
 ${PYSITELIB}/xdg/BaseDirectory.pyo



Home | Main Index | Thread Index | Old Index