pkgsrc-WIP-changes archive

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

py-numpy: add tool dependency



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Nov 17 10:20:32 2023 +0100
Changeset:	bdd1f713e4d27edaaf346b6612511a2dcdda07f6

Modified Files:
	py-numpy/Makefile

Log Message:
py-numpy: add tool dependency

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bdd1f713e4d27edaaf346b6612511a2dcdda07f6

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

diffstat:
 py-numpy/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/py-numpy/Makefile b/py-numpy/Makefile
index 66847bc197..a3c6fcc88c 100644
--- a/py-numpy/Makefile
+++ b/py-numpy/Makefile
@@ -61,6 +61,8 @@ pre-configure:
 post-install:
 	cd ${DESTDIR}${PREFIX}/bin && ${MV} f2py f2py-${PYVERSSUFFIX} || ${TRUE}
 
+# since this overrides the build target, it needs to request the necessary dependencies
+TOOL_DEPENDS+=	${PYPKGPREFIX}-build-[0-9]*:../../devel/py-build
 do-build:
 	${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TOOL_PYTHONBIN} \
 		-m build --wheel --skip-dependency-check --no-isolation \


Home | Main Index | Thread Index | Old Index