pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-link-grammar



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Sep 30 13:33:29 UTC 2025

Modified Files:
        pkgsrc/textproc/py-link-grammar: Makefile

Log Message:
textproc/py-link-grammar: Fix packaging with Python 3.13

* Remove opt-2 files.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-link-grammar/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-link-grammar/Makefile
diff -u pkgsrc/textproc/py-link-grammar/Makefile:1.8 pkgsrc/textproc/py-link-grammar/Makefile:1.9
--- pkgsrc/textproc/py-link-grammar/Makefile:1.8        Mon Apr 29 00:12:29 2024
+++ pkgsrc/textproc/py-link-grammar/Makefile    Tue Sep 30 13:33:29 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2024/04/29 00:12:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.9 2025/09/30 13:33:29 ryoon Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc
@@ -26,5 +26,9 @@ CONFIGURE_ARGS+=      PYTHON_VERSION=${PYVERS
 PY_PATCHPLIST= yes
 INSTALL_DIRS+= bindings/python
 
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/linkgrammar/*.opt-2.pyc
+       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/linkgrammar/__pycache__/*.opt-2.pyc
+
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index