tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/pip3.12 or bin/pip-3.12
Dear all,
part of my infrastructure stumbled over 2025Q1 now providing
bin/pip-X.Y
instead of
bin/pipX.Y
Why that change (at least since 2023Q4)? Lots of scripts expect
pythonX.Y, pythonX.Y-config, pipX.Y … but wheel-X.Y, virtualenv-X.Y.
It's what it is, what is usual on distros I work with. Changing the
naming causes unnecessary hurt.
I humbly suggest a diff like the below to revert this change. Is
anything inside pkgsrc depending on the naming of pip?
Alrighty then,
Thomas
diff -ruN pkgsrc-2025Q1/devel/py-pip/Makefile pkgsrc/devel/py-pip/Makefile
--- pkgsrc-2025Q1/devel/py-pip/Makefile 2025-04-02 05:01:42.000000000 +0200
+++ pkgsrc/devel/py-pip/Makefile 2025-05-06 16:17:03.296408982 +0200
@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.81 2025/02/10 10:50:58 adam Exp $
DISTNAME= pip-25.0.1
+PKGREVISION= 1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/}
@@ -22,7 +23,7 @@
FILES_SUBST+= PYMAJORVERSION=${PYTHON_VERSION:C/^([0-9]).*/\1/}
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip3 && ${MV} pip pip-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip3 && ${MV} pip pip${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
diff -ruN pkgsrc-2025Q1/devel/py-pip/PLIST pkgsrc/devel/py-pip/PLIST
--- pkgsrc-2025Q1/devel/py-pip/PLIST 2025-04-02 05:01:42.000000000 +0200
+++ pkgsrc/devel/py-pip/PLIST 2025-05-06 16:17:12.704298131 +0200
@@ -1,5 +1,5 @@
@comment $NetBSD: PLIST,v 1.45 2025/02/02 16:10:42 wiz Exp $
-bin/pip-${PYVERSSUFFIX}
+bin/pip${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.txt
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
--
Dr. Thomas Orgis
HPC @ Universität Hamburg
Home |
Main Index |
Thread Index |
Old Index