pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-bumpver



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jun 11 09:01:50 UTC 2023

Modified Files:
        pkgsrc/devel/py-bumpver: Makefile PLIST

Log Message:
py-bumpver: add version number to binary

Ride import


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-bumpver/Makefile \
    pkgsrc/devel/py-bumpver/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-bumpver/Makefile
diff -u pkgsrc/devel/py-bumpver/Makefile:1.1 pkgsrc/devel/py-bumpver/Makefile:1.2
--- pkgsrc/devel/py-bumpver/Makefile:1.1        Sun Jun 11 08:59:07 2023
+++ pkgsrc/devel/py-bumpver/Makefile    Sun Jun 11 09:01:50 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/06/11 08:59:07 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/06/11 09:01:50 wiz Exp $
 
 DISTNAME=      bumpver-2023.1124
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -24,6 +24,9 @@ USE_LANGUAGES=        # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} bumpver bumpver-${PYVERSSUFFIX} || ${TRUE}
+
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
Index: pkgsrc/devel/py-bumpver/PLIST
diff -u pkgsrc/devel/py-bumpver/PLIST:1.1 pkgsrc/devel/py-bumpver/PLIST:1.2
--- pkgsrc/devel/py-bumpver/PLIST:1.1   Sun Jun 11 08:59:07 2023
+++ pkgsrc/devel/py-bumpver/PLIST       Sun Jun 11 09:01:50 2023
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2023/06/11 08:59:07 wiz Exp $
-bin/bumpver
+@comment $NetBSD: PLIST,v 1.2 2023/06/11 09:01:50 wiz Exp $
+bin/bumpver-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index