pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-uv-build



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Dec  8 19:43:55 UTC 2025

Modified Files:
        pkgsrc/devel/py-uv-build: Makefile

Log Message:
py-uv-build: use rm -f

Fixes a build error if the file does not exist for whatever reason.

Reported by Stepan Ipatov on pkgsrc-users.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-uv-build/Makefile

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-uv-build/Makefile
diff -u pkgsrc/devel/py-uv-build/Makefile:1.5 pkgsrc/devel/py-uv-build/Makefile:1.6
--- pkgsrc/devel/py-uv-build/Makefile:1.5       Mon Nov 17 08:11:23 2025
+++ pkgsrc/devel/py-uv-build/Makefile   Mon Dec  8 19:43:55 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2025/11/17 08:11:23 adam Exp $
+# $NetBSD: Makefile,v 1.6 2025/12/08 19:43:55 bsiegert Exp $
 
 DISTNAME=      uv_build-${UV_VERSION}
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
@@ -13,7 +13,7 @@ LICENSE=      mit OR apache-2.0
 .include "../../devel/py-uv/Makefile.common"
 
 post-install:
-       ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/uv_build/__init__.py.orig
+       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/uv_build/__init__.py.orig
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} uv-build uv-build-${PYVERSSUFFIX} || ${TRUE}
 



Home | Main Index | Thread Index | Old Index