pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-build py-build: add PYVERSSUFFIX to binary na...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8166447777b1
branches: trunk
changeset: 377255:8166447777b1
user: adam <adam%pkgsrc.org@localhost>
date: Mon Apr 18 11:28:54 2022 +0000
description:
py-build: add PYVERSSUFFIX to binary name to avoid conflicts between Python versions
diffstat:
devel/py-build/ALTERNATIVES | 1 +
devel/py-build/Makefile | 8 ++++++--
devel/py-build/PLIST | 4 ++--
3 files changed, 9 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r fd28413814fc -r 8166447777b1 devel/py-build/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-build/ALTERNATIVES Mon Apr 18 11:28:54 2022 +0000
@@ -0,0 +1,1 @@
+in/pyproject-build @PREFIX@/bin/pyproject-build-@PYVERSSUFFIX@
diff -r fd28413814fc -r 8166447777b1 devel/py-build/Makefile
--- a/devel/py-build/Makefile Mon Apr 18 11:20:27 2022 +0000
+++ b/devel/py-build/Makefile Mon Apr 18 11:28:54 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2022/01/13 21:30:00 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/04/18 11:28:54 adam Exp $
DISTNAME= build-0.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/build/}
@@ -26,5 +26,9 @@
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} pyproject-build pyproject-build-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r fd28413814fc -r 8166447777b1 devel/py-build/PLIST
--- a/devel/py-build/PLIST Mon Apr 18 11:20:27 2022 +0000
+++ b/devel/py-build/PLIST Mon Apr 18 11:28:54 2022 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2021/11/25 21:18:28 wiz Exp $
-bin/pyproject-build
+@comment $NetBSD: PLIST,v 1.2 2022/04/18 11:28:54 adam Exp $
+bin/pyproject-build-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index