From nobody Sun Aug 04 17:23:10 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcRH307k9z5ShHD; Sun, 04 Aug 2024 17:23:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcRH237wmz41QG; Sun, 4 Aug 2024 17:23:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SeQVLwPwsgDUk6r9wrlsJdxJzJVBvCDOHuOfWUv2YbI=; b=X8l5zy/o2siPqUGAScxWrVFHliOPuuk+h6538plV+5HI9uTPQKKJipcJwg1t8LRcPDpgqt TD/JoE5POtEzuvGYYDYeZ0/k/DuufRRwL553sAGr9Lz38WJk8nG+wPG9B/nbe1S9MuVx4v cd5dJutbd8p77M6c1UWphJYb1omk9fTC99/oB11+6OmnDaybodDUjg8yJrFLFefYVdWywy 3SMxD2E0nukof+V7hrGJ+fMQlcJF1LhZ+LT4ZBVy5t8lgyqfybVdbr3maYBIxOa6nzxPzL rmvhPcTEV0MQ3eWgQVkKfHm+YvIdNU2Q6ZtnTbRc2nOVBBpxeovaaKyVa8I4Ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722792190; a=rsa-sha256; cv=none; b=BRIzPTpsb/uyoHnamXSxARpEgqKsdjqZ/M1OSuGKNuhN63o5iA36EzX//Cj15cQKp8mhWQ x7Wd8aqyK9i+QZL8xSL1TBenu37SobPXoUukWSAmbHn3o/P6vM+HTkNcHwjn99DECeT5o3 VTqRWUkjMdicIfIrpunnrHO5uJqTyjhp8idEeweat6JAkILKg3M4nKHWMYgOrsOFRv2WMK UjmqLFlqmQrLRlk4zU10IWys4xVN+Wbnw4XorjwpoV5bGPCb6P9U6gIDpJXaaYhzCo4VO8 sKOEh8exXl2nCzcLkLcoT0VIunNZ9q9hzLu+d1PSLTF6iVqOF/u6Mq2XIXPEFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SeQVLwPwsgDUk6r9wrlsJdxJzJVBvCDOHuOfWUv2YbI=; b=CjmuihUbFyKEIQbsIF4hsVrASaHU695Z/X4piOpYnds/Qhdt/vGpf/TTyBnLKEHWA96vLy lx1SjOUwTdqr0x8g0jTB1QBphaKqwT24l7X12yZrSsbDOjxTLttgiUjbmNuxetFr4QNl1Z uKPSWOitaYrn0O5jQ+9TKrfWLchKgqz8jKpwkUaAXj8/qwL6has91zf7rcZ0o0suA2wgLZ rSLdrTRamNHfCGQr7YimcIJBHNih9gGuid+K5Ki6taQ2W2/doz6fPJNpxEghqvxmYf40fD bKMMzEzvGKtAn8hrnwfLlTzgT9B2Z2tU75yddZ7TxlCYL0Bgo0xIccpK2W3tWg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcRH22j9Nz14Gd; Sun, 4 Aug 2024 17:23:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474HNA2C066676; Sun, 4 Aug 2024 17:23:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474HNAxZ066673; Sun, 4 Aug 2024 17:23:10 GMT (envelope-from git) Date: Sun, 4 Aug 2024 17:23:10 GMT Message-Id: <202408041723.474HNAxZ066673@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 9860d004d974 - main - textproc/py-spacy: Allow build with py-thinc8 8.3.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9860d004d974cc61da5edb31a7bf02bdae59bde1 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9860d004d974cc61da5edb31a7bf02bdae59bde1 commit 9860d004d974cc61da5edb31a7bf02bdae59bde1 Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 17:09:13 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 17:14:12 +0000 textproc/py-spacy: Allow build with py-thinc8 8.3.0 - Bump PORTREVISION for package change --- textproc/py-spacy/Makefile | 5 +++-- textproc/py-spacy/files/patch-pyproject.toml | 11 +++++++++++ textproc/py-spacy/files/patch-setup.cfg | 19 +++++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile index 4b871e6692be..902ee8b2e8f9 100644 --- a/textproc/py-spacy/Makefile +++ b/textproc/py-spacy/Makefile @@ -1,5 +1,6 @@ PORTNAME= spacy PORTVERSION= 3.7.5 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLA ${PYTHON_PKGNAMEPREFIX}numpy>=1.25.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}preshed3>=3.0.2<3.1.0:devel/py-preshed3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}thinc8>=8.2.2<8.3.0:devel/py-thinc8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}thinc8>=8.2.2<8.3.0_99:devel/py-thinc8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cymem>=2.0.2<2.1.0:devel/py-cymem@${PY_FLAVOR} \ @@ -33,7 +34,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}catalogue>=2.0.6<2.1.0:devel/py-catalogue@${ ${PYTHON_PKGNAMEPREFIX}spacy-legacy>=3.0.11<3.1.0:textproc/py-spacy-legacy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spacy-loggers>=1.0.0<2.0.0:textproc/py-spacy-loggers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}srsly>=2.4.3<3.0.0:devel/py-srsly@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}thinc8>=8.2.2<8.3.0:devel/py-thinc8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}thinc8>=8.2.2<8.3.0_99:devel/py-thinc8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.38.0<5.0.0:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0.3.0<1.0.0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wasabi>=0.9.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR} \ diff --git a/textproc/py-spacy/files/patch-pyproject.toml b/textproc/py-spacy/files/patch-pyproject.toml new file mode 100644 index 000000000000..21e39f677180 --- /dev/null +++ b/textproc/py-spacy/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-06-04 21:26:36 UTC ++++ pyproject.toml +@@ -5,7 +5,7 @@ requires = [ + "cymem>=2.0.2,<2.1.0", + "preshed>=3.0.2,<3.1.0", + "murmurhash>=0.28.0,<1.1.0", +- "thinc>=8.2.2,<8.3.0", ++ "thinc>=8.2.2,<=8.3.0", + "numpy>=1.15.0; python_version < '3.9'", + "numpy>=1.25.0; python_version >= '3.9'", + ] diff --git a/textproc/py-spacy/files/patch-setup.cfg b/textproc/py-spacy/files/patch-setup.cfg new file mode 100644 index 000000000000..4ee91a8c5b0c --- /dev/null +++ b/textproc/py-spacy/files/patch-setup.cfg @@ -0,0 +1,19 @@ +--- setup.cfg.orig 2024-06-04 21:27:44 UTC ++++ setup.cfg +@@ -39,14 +39,14 @@ setup_requires = + cymem>=2.0.2,<2.1.0 + preshed>=3.0.2,<3.1.0 + murmurhash>=0.28.0,<1.1.0 +- thinc>=8.2.2,<8.3.0 ++ thinc>=8.2.2,<=8.3.0 + install_requires = + spacy-legacy>=3.0.11,<3.1.0 + spacy-loggers>=1.0.0,<2.0.0 + murmurhash>=0.28.0,<1.1.0 + cymem>=2.0.2,<2.1.0 + preshed>=3.0.2,<3.1.0 +- thinc>=8.2.2,<8.3.0 ++ thinc>=8.2.2,<=8.3.0 + wasabi>=0.9.1,<1.2.0 + srsly>=2.4.3,<3.0.0 + catalogue>=2.0.6,<2.1.0