pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-argparse-manpage



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jun 20 08:20:53 UTC 2023

Modified Files:
        pkgsrc/devel/py-argparse-manpage: Makefile PLIST

Log Message:
py-argparse-manpage: fix post-install


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-argparse-manpage/Makefile \
    pkgsrc/devel/py-argparse-manpage/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-argparse-manpage/Makefile
diff -u pkgsrc/devel/py-argparse-manpage/Makefile:1.1 pkgsrc/devel/py-argparse-manpage/Makefile:1.2
--- pkgsrc/devel/py-argparse-manpage/Makefile:1.1       Thu Jun  1 04:30:44 2023
+++ pkgsrc/devel/py-argparse-manpage/Makefile   Tue Jun 20 08:20:53 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/06/01 04:30:44 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/06/20 08:20:53 adam Exp $
 
 DISTNAME=      argparse-manpage-4.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -17,11 +17,13 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-INSTALLATION_DIRS=     ${PKGMANDIR}
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} argparse-manpage argparse-manpage-${PYVERSSUFFIX}
-       cd ${DESTDIR}${PREFIX}/share/man && ${MV} * ${DESTDIR}${PREFIX}/${PKGMANDIR}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} argparse-manpage argparse-manpage-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX} && \
+       ${MV} share/man/man1/argparse-manpage.1 ${PKGMANDIR}/man1/argparse-manpage-${PYVERSSUFFIX}.1 || ${TRUE}
 
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Index: pkgsrc/devel/py-argparse-manpage/PLIST
diff -u pkgsrc/devel/py-argparse-manpage/PLIST:1.1 pkgsrc/devel/py-argparse-manpage/PLIST:1.2
--- pkgsrc/devel/py-argparse-manpage/PLIST:1.1  Thu Jun  1 04:30:44 2023
+++ pkgsrc/devel/py-argparse-manpage/PLIST      Tue Jun 20 08:20:53 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/06/01 04:30:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/06/20 08:20:53 adam Exp $
 bin/argparse-manpage-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
@@ -30,4 +30,4 @@ ${PYSITELIB}/build_manpages/compat.py
 ${PYSITELIB}/build_manpages/compat.pyc
 ${PYSITELIB}/build_manpages/manpage.py
 ${PYSITELIB}/build_manpages/manpage.pyc
-man/man1/argparse-manpage.1
+man/man1/argparse-manpage-${PYVERSSUFFIX}.1



Home | Main Index | Thread Index | Old Index