I must confess, i am a little bit confused.Am 09.01.2022 um 02:09 schrieb Greg Troxel <gdt%lexort.com@localhost>: That works just fine, but this is not a viable solution, especially in buld builds where somewhere along the path setuptools do get installed into the build environment. 2. or convert the package to require py-setuptools and fix the PLIST This way i did try - does that mean the warnings about redefinitions should be ignored? make[1]: "/usr/pkgsrc/lang/python/extension.mk" line 35: warning: duplicate script for target "do-build" ignored make[1]: "/usr/pkgsrc/lang/python/extension.mk" line 181: warning: using previous script for "do-build" defined here make[1]: "/usr/pkgsrc/lang/python/extension.mk" line 39: warning: duplicate script for target "do-install" ignored make[1]: "/usr/pkgsrc/lang/python/extension.mk" line 185: warning: using previous script for "do-install" defined here Nevertheless, at least with or without installed setuptools the package builds (and runs) just fine after applying the following patchset: netbsd-hell-2# cvs diff ? work cvs diff: Diffing . Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/sysutils/xentools415/Makefile,v retrieving revision 1.8 diff -r1.8 Makefile 239c239 < .include "../../lang/python/extension.mk" --- .include "../../lang/python/egg.mk"Index: PLIST =================================================================== RCS file: /cvsroot/pkgsrc/sysutils/xentools415/PLIST,v retrieving revision 1.2 diff -r1.2 PLIST 10,11c10,17 < ${PYSITELIB}/pygrub-0.6-py${PYVERSSUFFIX}.egg-info < ${PYSITELIB}/xen-3.0-py${PYVERSSUFFIX}.egg-info --- ${PYSITELIB}/pygrub-0.6-py${PYVERSSUFFIX}.egg-info/PKG-INFOcvs diff: Diffing files cvs diff: Diffing patches Cheers Oskar |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature