Date: Fri, 05 Jun 2026 17:17:46 +0000 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: 4b38587e3bd4 - main - misc/py-xformers: update 0.0.2=?utf-8?Q?5 =E2=86=92 0.?=0.35 Message-ID: <6a2304ba.1cf20.45d7a42c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b38587e3bd4bc1deb29c1a1483988c5a3a72f75 commit 4b38587e3bd4bc1deb29c1a1483988c5a3a72f75 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-06-05 17:04:50 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-06-05 17:17:39 +0000 misc/py-xformers: update 0.0.25 → 0.0.35 --- misc/py-xformers/Makefile | 16 +++++++++------- misc/py-xformers/distinfo | 6 +++--- misc/py-xformers/files/patch-pyproject.toml | 10 ++++++++++ misc/py-xformers/pkg-plist | 4 ---- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/misc/py-xformers/Makefile b/misc/py-xformers/Makefile index b6bff1a159b4..8a55fc8dc5d8 100644 --- a/misc/py-xformers/Makefile +++ b/misc/py-xformers/Makefile @@ -1,24 +1,26 @@ PORTNAME= xformers -DISTVERSION= 0.0.25 -PORTREVISION= 4 +DISTVERSION= 0.0.35 CATEGORIES= misc python # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Transformers building blocks, supporting a composable construction -WWW= https://facebookresearch.github.io/xformers/ +WWW= https://facebookresearch.github.io/xformers/ \ + https://github.com/facebookresearch/xformers LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= pybind11>0:devel/pybind11 \ - ${PYTHON_PKGNAMEPREFIX}pytorch>=2.1:misc/py-pytorch@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>=2.1:misc/py-pytorch@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytorch>=2.10:misc/py-pytorch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>=2.10:misc/py-pytorch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} USES= compiler:c++17-lang localbase python -USE_PYTHON= distutils autoplist pytest # tests fail, see https://github.com/facebookresearch/xformers/issues/1003 +USE_PYTHON= pep517 autoplist pytest # tests fail, see https://github.com/facebookresearch/xformers/issues/1003 post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xformers/_C.so diff --git a/misc/py-xformers/distinfo b/misc/py-xformers/distinfo index ee97f18b6b6a..5f5614c28cb6 100644 --- a/misc/py-xformers/distinfo +++ b/misc/py-xformers/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711070989 -SHA256 (xformers-0.0.25.tar.gz) = 63f74d96c82d6b9bf3daf38f53cf173a29370ee6bd1dfde15836d0d598b6f82f -SIZE (xformers-0.0.25.tar.gz) = 4080980 +TIMESTAMP = 1780673526 +SHA256 (xformers-0.0.35.tar.gz) = f7fc183a58e4bf0e2ae339a18fb1b1d4a37854c0f2545b4f360fef001646ab76 +SIZE (xformers-0.0.35.tar.gz) = 4258182 diff --git a/misc/py-xformers/files/patch-pyproject.toml b/misc/py-xformers/files/patch-pyproject.toml new file mode 100644 index 000000000000..49deb67156d8 --- /dev/null +++ b/misc/py-xformers/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2026-06-05 17:00:34 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + # XXX: If your project needs other packages to build properly, add them to this list. +-requires = ["setuptools >= 64", "torch >= 2.10"] ++requires = ["setuptools", "torch >= 2.10"] + build-backend = "setuptools.build_meta" + + [tool.black] diff --git a/misc/py-xformers/pkg-plist b/misc/py-xformers/pkg-plist deleted file mode 100644 index 2ecb199f7402..000000000000 --- a/misc/py-xformers/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -%%PYTHON_SITELIBDIR%%/xformers/__pycache__/version%%PYTHON_TAG%%.opt-1.pyc -%%PYTHON_SITELIBDIR%%/xformers/__pycache__/version%%PYTHON_TAG%%.pyc -%%PYTHON_SITELIBDIR%%/xformers/cpp_lib.json -%%PYTHON_SITELIBDIR%%/xformers/version.pyhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a2304ba.1cf20.45d7a42c>
