pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-mdformat



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

Modified Files:
        pkgsrc/textproc/py-mdformat: Makefile

Log Message:
py-mdformat: forget Python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-mdformat/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-mdformat/Makefile
diff -u pkgsrc/textproc/py-mdformat/Makefile:1.1 pkgsrc/textproc/py-mdformat/Makefile:1.2
--- pkgsrc/textproc/py-mdformat/Makefile:1.1    Wed Oct 22 07:36:20 2025
+++ pkgsrc/textproc/py-mdformat/Makefile        Fri Oct 16 18:30:55 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2025/10/22 07:36:20 adam Exp $
+# $NetBSD: Makefile,v 1.2 2026/10/16 18:30:55 adam Exp $
 
 DISTNAME=      mdformat-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -15,14 +15,7 @@ DEPENDS+=    ${PYPKGPREFIX}-markdown-it-py>
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/pyversion.mk"
-.if ${PYTHON_VERSION} < 311
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
-.endif
-
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} mdformat mdformat-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    mdformat
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index