pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-build



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 18 11:28:54 UTC 2022

Modified Files:
        pkgsrc/devel/py-build: Makefile PLIST
Added Files:
        pkgsrc/devel/py-build: ALTERNATIVES

Log Message:
py-build: add PYVERSSUFFIX to binary name to avoid conflicts between Python versions


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-build/ALTERNATIVES
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-build/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-build/Makefile
diff -u pkgsrc/devel/py-build/Makefile:1.4 pkgsrc/devel/py-build/Makefile:1.5
--- pkgsrc/devel/py-build/Makefile:1.4  Thu Jan 13 21:30:00 2022
+++ pkgsrc/devel/py-build/Makefile      Mon Apr 18 11:28:54 2022
@@ -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 @@ USE_PKG_RESOURCES=    yes
 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"

Index: pkgsrc/devel/py-build/PLIST
diff -u pkgsrc/devel/py-build/PLIST:1.1 pkgsrc/devel/py-build/PLIST:1.2
--- pkgsrc/devel/py-build/PLIST:1.1     Thu Nov 25 21:18:28 2021
+++ pkgsrc/devel/py-build/PLIST Mon Apr 18 11:28:54 2022
@@ -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

Added files:

Index: pkgsrc/devel/py-build/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-build/ALTERNATIVES:1.1
--- /dev/null   Mon Apr 18 11:28:54 2022
+++ pkgsrc/devel/py-build/ALTERNATIVES  Mon Apr 18 11:28:54 2022
@@ -0,0 +1 @@
+in/pyproject-build @PREFIX@/bin/pyproject-build-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index