pkgsrc-WIP-changes archive

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

py-dask: Add ALTERNATIVES



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Sun Feb 5 13:15:45 2023 -0800
Changeset:	712ca1f4ac9dc28e3f738a2a13141c1945487f6a

Modified Files:
	py-dask/Makefile
	py-dask/PLIST
Added Files:
	py-distributed/ALTERNATIVES

Log Message:
py-dask: Add ALTERNATIVES

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

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

diffstat:
 py-dask/Makefile            | 3 +++
 py-dask/PLIST               | 2 +-
 py-distributed/ALTERNATIVES | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-dask/Makefile b/py-dask/Makefile
index 828feda1d2..794b1390a0 100644
--- a/py-dask/Makefile
+++ b/py-dask/Makefile
@@ -42,6 +42,9 @@ TEST_DEPENDS+=	${PYPKGPREFIX}-pre-commit-[0-9]*:../../wip/py-pre-commit
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m pytest -s
 
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && ${MV} dask dask-${PYVERSSUFFIX}
+
 USE_LANGUAGES=	# none
 
 .include "../../lang/python/wheel.mk"
diff --git a/py-dask/PLIST b/py-dask/PLIST
index d6a720a253..ba3a8e11cd 100644
--- a/py-dask/PLIST
+++ b/py-dask/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/dask
+bin/dask-3.10
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
diff --git a/py-distributed/ALTERNATIVES b/py-distributed/ALTERNATIVES
new file mode 100644
index 0000000000..206cf59eaf
--- /dev/null
+++ b/py-distributed/ALTERNATIVES
@@ -0,0 +1,3 @@
+bin/dask-scheduler @PREFIX@/bin/dask-scheduler-@PYVERSSUFFIX@
+bin/dask-ssh @PREFIX@/bin/dask-ssh-@PYVERSSUFFIX@
+bin/dask-worker @PREFIX@/bin/dask-worker-@PYVERSSUFFIX@


Home | Main Index | Thread Index | Old Index