pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-flufl.lock



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu May 11 20:43:23 UTC 2023

Modified Files:
        pkgsrc/devel/py-flufl.lock: Makefile PLIST

Log Message:
py-flufl.lock: fixup wrong WHEEL_INFODIR


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-flufl.lock/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-flufl.lock/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-flufl.lock/Makefile
diff -u pkgsrc/devel/py-flufl.lock/Makefile:1.7 pkgsrc/devel/py-flufl.lock/Makefile:1.8
--- pkgsrc/devel/py-flufl.lock/Makefile:1.7     Mon May  8 20:53:30 2023
+++ pkgsrc/devel/py-flufl.lock/Makefile Thu May 11 20:43:23 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2023/05/08 20:53:30 markd Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/11 20:43:23 markd Exp $
 
 DISTNAME=      flufl.lock-7.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flufl.lock/}
 
@@ -14,5 +15,10 @@ TOOL_DEPENDS+=       ${PYPKGPREFIX}-pdm_backen
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+# fixup wrong WHEEL_INFODIR
+post-install:
+       mv ${DESTDIR}${PREFIX}/${PYSITELIB}/${WHEEL_NAME:S/./_/}.dist-info \
+               ${DESTDIR}${PREFIX}/${PYSITELIB}/${WHEEL_NAME}.dist-info
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-flufl.lock/PLIST
diff -u pkgsrc/devel/py-flufl.lock/PLIST:1.3 pkgsrc/devel/py-flufl.lock/PLIST:1.4
--- pkgsrc/devel/py-flufl.lock/PLIST:1.3        Mon May  8 20:53:30 2023
+++ pkgsrc/devel/py-flufl.lock/PLIST    Thu May 11 20:43:23 2023
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.3 2023/05/08 20:53:30 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/05/11 20:43:23 markd Exp $
 ${PYSITELIB}/flufl/lock/__init__.py
 ${PYSITELIB}/flufl/lock/__init__.pyc
 ${PYSITELIB}/flufl/lock/_lockfile.py
 ${PYSITELIB}/flufl/lock/_lockfile.pyc
 ${PYSITELIB}/flufl/lock/py.typed
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/INSTALLER
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/METADATA
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/RECORD
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/REQUESTED
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/WHEEL
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/direct_url.json
-${PYSITELIB}/flufl_lock-${PKGVERSION}.dist-info/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE



Home | Main Index | Thread Index | Old Index