From nobody Fri Mar 13 13:02:59 2026 X-Original-To: dev-commits-ports-all@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 4fXPmM5G7kz6V5Bl for ; Fri, 13 Mar 2026 13:02:59 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fXPmM4bvSz3Wxq for ; Fri, 13 Mar 2026 13:02:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773406979; 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=85Oi3Bg+5ynGHF4suIYxrDkTF9WolqIJF0HqXiOW8SA=; b=UBG8ZOLdcoKLJKG8Sb20Efv4RGYwY3c4bfzHRVqDw3zg1U6AmI7pkN+dU5bqeRj6XQYIWC nCy/ypJuF3bz+Cw60V86yOHYB9b0eLB1I3X7rBcE8ZG5sG/VSzUV9DNdARO24Oiw5QdDCd wH5x2BrbvwXsHTGq4CHx6CtjXzrKvnfxwpL1diUGmTCSDv03+PtRG7AgkApZ3t0bPbi5qf 5chnQSIgNj1zDPPn16sSN+8eEj3UWUA0apcuZXacZKLbt7G6KYhu8TzKqr4KW6gGnxLUlY WJZRygeWhklkchOGs/YZui1X20xVgWAz3upv8JTIaW77nVX2OaUvPOJ5hmIs3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773406979; a=rsa-sha256; cv=none; b=biB/GyiODiKbyxJKPhHgZdx4lbb+yJK7GzW4yK5XHooGC/3R7p+SDzEhnCB1lF8zg7QqfP Dd+DdZoG2af9UbHcmM3t2EMHIp7l7azBY5CTxpj1vKthkeh2zIb4MDVjKTc5FPF6EmJgdh iQSCvIv4Z0xEnlTLdJ+0NozmnO5GDWGnuXyFFw/uKiZK/+45k98d1kFH9GLc+Aa+FfMKtG eyUjBujyp+ZNr+MC+I+fJJAMR+xGrWUWVmCektgQiyoKC5vLwGCRzLy3TpTp98jhlKNqKZ F4iXQ3lgXMAbqXiSpvpHPH8a4zrSTRSTyA64+ylaQdjskIv0XqFRFvUjSaaw3g== 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=1773406979; 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=85Oi3Bg+5ynGHF4suIYxrDkTF9WolqIJF0HqXiOW8SA=; b=Jz3BytvCJfQU2FF0ewNu++8WPIDhli3PA1ZdS0+CunvWLACvOMvddYl8BSJwEmGUglydnE D7G6TskkcotXLam5+uIJqW5CUCoaH/mzC3VAW0WRLD/kBD/6hBLxt4LoLQ337zZ5BmZL1Q TmrORXmUqAB6eQE4rdRB70x8ONiCNi2mHb8Y7NYOtXbiyu//4U79Klpijuw/g41UYdIbCV NgmSUIDHjUuI1Hj/y9SEj3Q2ow9ddq4Z4ZpfY+uU+1CXd1+WbKzUMyq/fVazT3VJJAsjMH zDJFavyPq+p0kHnPbz36UFMdLmAgoaE7xrwiYEGJ3ZRZk54HYjb/2W8Mi9neHw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fXPmM44z4zZ8P for ; Fri, 13 Mar 2026 13:02:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 24dac by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 13 Mar 2026 13:02:59 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Max Brazhnikov Subject: git: 74a30c4d5357 - main - devel/py-llvmlite: Improve port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: makc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 74a30c4d5357d931d0af9e7dfd2316e4771d3fd2 Auto-Submitted: auto-generated Date: Fri, 13 Mar 2026 13:02:59 +0000 Message-Id: <69b40b03.24dac.670ad195@gitrepo.freebsd.org> The branch main has been updated by makc: URL: https://cgit.FreeBSD.org/ports/commit/?id=74a30c4d5357d931d0af9e7dfd2316e4771d3fd2 commit 74a30c4d5357d931d0af9e7dfd2316e4771d3fd2 Author: Max Brazhnikov AuthorDate: 2026-03-13 13:02:32 +0000 Commit: Max Brazhnikov CommitDate: 2026-03-13 13:02:32 +0000 devel/py-llvmlite: Improve port - Switch to pep517 - Add patch to fix build with setuptools>=81 PR: 270358 --- devel/py-llvmlite/Makefile | 6 ++++-- devel/py-llvmlite/files/patch-ffi_CMakeLists.txt | 2 +- devel/py-llvmlite/files/patch-setup.py | 11 +++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/devel/py-llvmlite/Makefile b/devel/py-llvmlite/Makefile index 14bc4cf3525a..db49c24c611b 100644 --- a/devel/py-llvmlite/Makefile +++ b/devel/py-llvmlite/Makefile @@ -11,11 +11,13 @@ WWW= https://github.com/numba/llvmlite LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= gmake:devel/gmake +BUILD_DEPENDS= gmake:devel/gmake \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} # llvm compatibility table https://github.com/numba/llvmlite#compatibility USES= cmake:indirect fortran llvm:20,lib python -USE_PYTHON= distutils autoplist pytest # many tests fail, see https://github.com/numba/llvmlite/issues/1015 +USE_PYTHON= autoplist pep517 pytest # many tests fail, see https://github.com/numba/llvmlite/issues/1015 MAKE_ENV= LLVM_CONFIG=${LLVM_CONFIG} \ LLVMLITE_SHARED=ON \ diff --git a/devel/py-llvmlite/files/patch-ffi_CMakeLists.txt b/devel/py-llvmlite/files/patch-ffi_CMakeLists.txt index c3d7c41dc685..f3f27629d8bb 100644 --- a/devel/py-llvmlite/files/patch-ffi_CMakeLists.txt +++ b/devel/py-llvmlite/files/patch-ffi_CMakeLists.txt @@ -5,7 +5,7 @@ set(CMAKE_C_VISIBILITY_PRESET "hidden") -find_package(LLVM REQUIRED CONFIG) -+find_package(LLVM REQUIRED CONFIG HINTS %%LLVM_PREFIX%%) ++find_package(LLVM REQUIRED CONFIG HINTS /usr/local/llvm20) message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}") message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}") diff --git a/devel/py-llvmlite/files/patch-setup.py b/devel/py-llvmlite/files/patch-setup.py new file mode 100644 index 000000000000..bccf6e0a5989 --- /dev/null +++ b/devel/py-llvmlite/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2026-03-13 12:44:44 UTC ++++ setup.py +@@ -64,7 +64,7 @@ def build_library_files(dry_run): + plt = sys.platform + if 'linux' in plt or 'bsd' in plt or 'darwin' in plt or 'gnu' in plt: + os.environ['CXXFLAGS'] = os.environ.get('CXXFLAGS', '') + ' -fPIC' +- spawn(cmd, dry_run=dry_run) ++ spawn(cmd) + + + class LlvmliteBuild(build):