pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pip



Module Name:    pkgsrc
Committed By:   thor
Date:           Mon Jun  2 08:36:21 UTC 2025

Modified Files:
        pkgsrc/devel/py-pip: ALTERNATIVES Makefile PLIST

Log Message:
pip: revert to traditional name with version suffix again

It is an established standard wherever I encounter python that
the main binaries have the versions suffix without hyphen (python3.12,
pip3.12). We should not change that and introduce a situation where
people suddenly encounter pip-3.12 only on pkgsrc builds, otherwise
pip3.12.

There are other Python commands that follow the foo-3.12 pattern,
but those do not include pip.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-pip/ALTERNATIVES
cvs rdiff -u -r1.84 -r1.85 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/py-pip/PLIST

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

Modified files:

Index: pkgsrc/devel/py-pip/ALTERNATIVES
diff -u pkgsrc/devel/py-pip/ALTERNATIVES:1.4 pkgsrc/devel/py-pip/ALTERNATIVES:1.5
--- pkgsrc/devel/py-pip/ALTERNATIVES:1.4        Mon Apr 28 10:46:04 2025
+++ pkgsrc/devel/py-pip/ALTERNATIVES    Mon Jun  2 08:36:21 2025
@@ -1,2 +1,2 @@
-bin/pip @PREFIX@/bin/pip-@PYVERSSUFFIX@
-bin/pip3 @PREFIX@/bin/pip-@PYVERSSUFFIX@
+bin/pip @PREFIX@/bin/pip@PYVERSSUFFIX@
+bin/pip3 @PREFIX@/bin/pip@PYVERSSUFFIX@

Index: pkgsrc/devel/py-pip/Makefile
diff -u pkgsrc/devel/py-pip/Makefile:1.84 pkgsrc/devel/py-pip/Makefile:1.85
--- pkgsrc/devel/py-pip/Makefile:1.84   Sun May  4 12:57:37 2025
+++ pkgsrc/devel/py-pip/Makefile        Mon Jun  2 08:36:21 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.84 2025/05/04 12:57:37 adam Exp $
+# $NetBSD: Makefile,v 1.85 2025/06/02 08:36:21 thor Exp $
 
 DISTNAME=      pip-25.1.1
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip/}
@@ -19,7 +20,7 @@ REPLACE_PYTHON+=      src/pip/_vendor/chardet
 REPLACE_PYTHON+=       src/pip/_vendor/requests/certs.py
 
 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"

Index: pkgsrc/devel/py-pip/PLIST
diff -u pkgsrc/devel/py-pip/PLIST:1.47 pkgsrc/devel/py-pip/PLIST:1.48
--- pkgsrc/devel/py-pip/PLIST:1.47      Mon Apr 28 10:46:04 2025
+++ pkgsrc/devel/py-pip/PLIST   Mon Jun  2 08:36:21 2025
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.47 2025/04/28 10:46:04 wiz Exp $
-bin/pip-${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.48 2025/06/02 08:36:21 thor Exp $
+bin/pip${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL



Home | Main Index | Thread Index | Old Index