Date: Thu, 19 Sep 2024 03:11:49 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 96886ab6fd08 - main - textproc/py-gensim: update 4.3.2 =?utf-8?Q?=E2=86=92?= 4.3.3 Message-ID: <202409190311.48J3Bn7C093476@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=96886ab6fd08e6abd0d51b13c3cb905b8667258d commit 96886ab6fd08e6abd0d51b13c3cb905b8667258d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-09-19 02:34:39 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-09-19 03:11:42 +0000 textproc/py-gensim: update 4.3.2 → 4.3.3 Reported by: portscout --- textproc/py-gensim/Makefile | 22 +++++++++++++--------- textproc/py-gensim/distinfo | 6 +++--- textproc/py-gensim/files/patch-pyproject.toml | 9 ++++----- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/textproc/py-gensim/Makefile b/textproc/py-gensim/Makefile index 32095b5c0ae4..47099cd35e8a 100644 --- a/textproc/py-gensim/Makefile +++ b/textproc/py-gensim/Makefile @@ -1,6 +1,5 @@ PORTNAME= gensim -DISTVERSION= 4.3.2 -PORTREVISION= 1 +DISTVERSION= 4.3.3 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,18 +11,23 @@ WWW= https://radimrehurek.com/gensim/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -PY_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}smart-open>=1.8.1:net/py-smart-open@${PY_FLAVOR} BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ - ${PY_DEPENDS} -RUN_DEPENDS= ${PY_DEPENDS} + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.7.0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}smart-open>=1.8.1:net/py-smart-open@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}testfixtures>0:devel/py-testfixtures@${PY_FLAVOR} USES= compiler:c++11-lang python -USE_PYTHON= pep517 cython autoplist pytest # tests fail, see https://github.com/RaRe-Technologies/gensim/issues/3491 +USE_PYTHON= pep517 cython autoplist pytest # tests fail unde PyTest, see https://github.com/RaRe-Technologies/gensim/issues/3561 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/gensim/test + +# python setup.py build_ext --inplace +xPYDISTUTILS_BUILD_TARGET= build_ext post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD} diff --git a/textproc/py-gensim/distinfo b/textproc/py-gensim/distinfo index 914a44f5e25d..4bcf9d5c8645 100644 --- a/textproc/py-gensim/distinfo +++ b/textproc/py-gensim/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1693202511 -SHA256 (gensim-4.3.2.tar.gz) = 99ac6af6ffd40682e70155ed9f92ecbf4384d59fb50af120d343ea5ee1b308ab -SIZE (gensim-4.3.2.tar.gz) = 23263982 +TIMESTAMP = 1726687146 +SHA256 (gensim-4.3.3.tar.gz) = 84852076a6a3d88d7dac5be245e24c21c3b819b565e14c1b61fa3e5ee76dcf57 +SIZE (gensim-4.3.3.tar.gz) = 23258708 diff --git a/textproc/py-gensim/files/patch-pyproject.toml b/textproc/py-gensim/files/patch-pyproject.toml index 0333a7904e16..3e51c0907ad0 100644 --- a/textproc/py-gensim/files/patch-pyproject.toml +++ b/textproc/py-gensim/files/patch-pyproject.toml @@ -1,13 +1,12 @@ ---- pyproject.toml.orig 2023-08-28 06:12:49 UTC +--- pyproject.toml.orig 2024-07-19 13:32:36 UTC +++ pyproject.toml -@@ -7,8 +7,8 @@ requires = [ +@@ -7,8 +7,7 @@ requires = [ "Cython>=0.29.32,<3.0.0", # oldest supported Numpy for this platform is 1.17 but the oldest supported by Gensim # is 1.18.5, remove the line when they increase oldest supported Numpy for this platform - "numpy==1.18.5; python_version=='3.8' and platform_machine not in 'arm64|aarch64'", - "oldest-supported-numpy; python_version>'3.8' or platform_machine in 'arm64|aarch64'", -+ #"numpy==1.18.5; python_version=='3.8' and platform_machine not in 'arm64|aarch64'", -+ "numpy>0; python_version>'3.8' or platform_machine in 'arm64|aarch64'", - "scipy", ++ "numpy; python_version>'3.8' or platform_machine in 'arm64|aarch64'", "setuptools", "wheel", + ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409190311.48J3Bn7C093476>