pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-yapf



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 16 18:16:49 UTC 2026

Modified Files:
        pkgsrc/devel/py-yapf: Makefile

Log Message:
py-yapf: forget Python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-yapf/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-yapf/Makefile
diff -u pkgsrc/devel/py-yapf/Makefile:1.14 pkgsrc/devel/py-yapf/Makefile:1.15
--- pkgsrc/devel/py-yapf/Makefile:1.14  Sun Apr 13 06:51:59 2025
+++ pkgsrc/devel/py-yapf/Makefile       Fri Oct 16 18:16:49 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2025/04/13 06:51:59 adam Exp $
+# $NetBSD: Makefile,v 1.15 2026/10/16 18:16:49 adam Exp $
 
 DISTNAME=      yapf-0.43.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,16 +16,7 @@ DEPENDS+=    ${PYPKGPREFIX}-platformdirs>=3
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/pyversion.mk"
-.if ${PYTHON_VERSION} < 311
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=2.0.1:../../textproc/py-tomli
-.endif
-
-post-install:
-.for bin in yapf yapf-diff
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
-.endfor
+PY_RENAME_BINARIES=    yapf yapf-diff
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index