head 1.11; access; symbols pkgsrc-2026Q2:1.10.0.6 pkgsrc-2026Q2-base:1.10 pkgsrc-2026Q1:1.10.0.4 pkgsrc-2026Q1-base:1.10 pkgsrc-2025Q4:1.10.0.2 pkgsrc-2025Q4-base:1.10 pkgsrc-2025Q3:1.8.0.12 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.10 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.8 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.6 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.4 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.2 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.7.0.2 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.5.0.2 pkgsrc-2023Q4-base:1.5; locks; strict; comment @# @; 1.11 date 2026.09.02.19.04.45; author wiz; state Exp; branches; next 1.10; commitid vXszxoxOqka005UG; 1.10 date 2025.10.23.20.39.35; author wiz; state Exp; branches; next 1.9; commitid 1V2hBZn9ypXaCJfG; 1.9 date 2025.09.30.13.33.29; author ryoon; state Exp; branches; next 1.8; commitid 7SSqbdLmM23B1KcG; 1.8 date 2024.04.29.00.12.29; author ryoon; state Exp; branches; next 1.7; commitid 1B9iQh6UW4W7hY7F; 1.7 date 2024.02.10.10.13.42; author wiz; state Exp; branches; next 1.6; commitid U9nmBeup9O8I8SXE; 1.6 date 2024.01.31.16.26.16; author ryoon; state Exp; branches; next 1.5; commitid nZ8Vh55t8U3nwCWE; 1.5 date 2023.12.26.09.11.58; author wiz; state Exp; branches; next 1.4; commitid jATG4GuGecHkhXRE; 1.4 date 2023.11.24.13.39.55; author ryoon; state Exp; branches; next 1.3; commitid GMXK6Cqqmzz1NRNE; 1.3 date 2023.11.05.20.40.29; author wiz; state Exp; branches; next 1.2; commitid rkSQbMedrp38JsLE; 1.2 date 2023.10.23.00.33.30; author gutteridge; state Exp; branches; next 1.1; commitid ozTnK4PyPQTOsGJE; 1.1 date 2023.10.15.06.40.28; author ryoon; state Exp; branches; next ; commitid Sb8pStHlmYLRKGIE; desc @@ 1.11 log @*: recursive bump for pcre2 10.48 @ text @# $NetBSD: Makefile,v 1.10 2025/10/23 20:39:35 wiz Exp $ PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 2 CATEGORIES= textproc MAINTAINER= pkgsrc-users@@NetBSD.org COMMENT= Python binding of syntactic parsing library .include "../../textproc/link-grammar/Makefile.common" DEPENDS+= link-grammar-[0-9]*:../../textproc/link-grammar PYTHON_VERSIONS_INCOMPATIBLE= 27 BUILDLINK_DEPMETHOD.python= full .include "../../lang/python/pyversion.mk" .if ${PYTHON_VERSION} > 311 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools .endif CONFIGURE_ARGS+= --enable-python-bindings CONFIGURE_ARGS+= PYTHON_VERSION=${PYVERSSUFFIX} 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" @ 1.10 log @*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2025/09/30 13:33:29 ryoon Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.9 log @textproc/py-link-grammar: Fix packaging with Python 3.13 * Remove opt-2 files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2024/04/29 00:12:29 ryoon Exp $ d4 1 @ 1.8 log @textproc/py-link-grammar: Enable for Python 3.12 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/02/10 10:13:42 wiz Exp $ d29 4 @ 1.7 log @py-link-grammar: disable for Python 3.12 again Tries to use distutils, which is not available for Python 3.12. See e.g. http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20240204.1238/py312-link-grammar-5.12.3/configure.log @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/01/31 16:26:16 ryoon Exp $ d13 1 a13 2 # not for 3.12: tries to use distutils PYTHON_VERSIONS_INCOMPATIBLE= 27 312 d17 6 @ 1.6 log @py-link-grammar: Enable for Python 3.12 too @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/12/26 09:11:58 wiz Exp $ d13 2 a14 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.5 log @py-link-grammar: does not support Python 3.12 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/11/24 13:39:55 ryoon Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 312 @ 1.4 log @py-link-grammar: Python 3.12 is supported @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/11/05 20:40:29 wiz Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.3 log @py-link-grammar: does not build with Python 3.12 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/10/23 00:33:30 gutteridge Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 312 @ 1.2 log @py-link-grammar: mark not for Python 2.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/10/15 06:40:28 ryoon Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 d18 1 @ 1.1 log @textproc/py-link-grammar: import py311-link-grammar-5.12.3 The Link Grammar Parser is a syntactic parser of English, Russian, Arabic and Persian (and other languages as well), based on Link Grammar, an original theory of syntax and morphology. Given a sentence, the system assigns to it a syntactic structure, which consists of a set of labelled links connecting pairs of words. The parser also produces a "constituent" (HPSG style phrase tree) representation of a sentence (showing noun phrases, verb phrases, etc.). The RelEx extension provides Stanford-style Dependency Grammar output. This package contains Python binding. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2023/08/14 05:25:24 wiz Exp $ d13 2 @