From nobody Mon Jul 15 16:33:33 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 4WN77122Ykz5RFjT; Mon, 15 Jul 2024 16:33:33 +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 4WN7711SS5z4Bs7; Mon, 15 Jul 2024 16:33:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721061213; 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=pn365hYmwaitd+4DnjzQLpzAWfr8+XGZVczux4hqmzU=; b=d6sLWjByEFJxnkGS5ZDdIDHNWlIRafti0EjBR5I+PlTAE5r6EukCzpQxYSM5HBJQL01SJI Dfi4n1k7uY+DsOaWCPhNNWp54Ohm99MRdhJuMv0eUfmiBf4vJG2r7WWdmvqZoxKLAzey6M l1qJvC50LWmXNiI/jrtrV0QNelUs6yUQhR5S46bpQnq8P6iOEVty2kiRcwSWmKmXaE2QXz rJLSy4nLNqvExijtGldKZV/5EpqJsq0ffpxIA1iT37UP9wdKGfmIxyJqQFx0OCEAGwScnz N8q+qXwLoEiEQ2K+LQV1F51/jMoKUbLdGD0O9+OhaBfKcmsEQf1u5ENqHt8uyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721061213; a=rsa-sha256; cv=none; b=E9rrPynB55amD6FrHf9bkRGDNEEH4tEZrGgil9N5Fr5M33VxdxAtuZnfSuhMsXhHbJDgDr islRbZe/pJSR4he/uQKjeMtGPT99P99kJjPs9JjayeW6jzO8/8Q22YUDJtZ7RYNNUJdaTY YcjGwUr7cV/Si+qS+dUqKhTXqhU6KxAmwja7H/V1K5Vx5n8+zB0SVIwyKEEUa/c1gVjOEE 0JWH9ksDvNsBRnTOyIJk7Es8O46Fpbg1OjghBB36zg9WSSuk4jiTEJFdSNJkO2z1JWmttH mTu9pF2HsGOOSjuS7e0T1LefKOpu1LcQop5jKZ1WcVo1w7Htepdvoup7IJopjg== 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=1721061213; 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=pn365hYmwaitd+4DnjzQLpzAWfr8+XGZVczux4hqmzU=; b=TnIURi+CYttX3oYA8bL0Ka8whai9SOahTYJrUDmgZ/tXOBTQ+Y+xCOzKdTbTRER5ts6TFk fpmq6jMBz8+Sod9qpMZgaWpLd24ey5wzI/iOHtop3TEjpk2us7J3aQsly0E1zpWtwlRYM/ KdUVNKCBDBuMIZPJF0T1GsIX2v81tAi2NBANZw3JoRrVGz/6YF0Vu/WC/G6AdOyrBc3lVa G+EAFQtht0kp2B+NhswNtgPtC/vMMIprPpSL45atJBzjAD/UUQZp3KVW02b1uWVC1/yXPG 5xW7dCFlu/p0pJWiwLtlFe1DEHK+Z09P1B89gtjvh0g72wfVYfMFlO+xWGp23w== 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 4WN77113rxz10S7; Mon, 15 Jul 2024 16:33:33 +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 46FGXXcQ067374; Mon, 15 Jul 2024 16:33:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FGXXaZ067371; Mon, 15 Jul 2024 16:33:33 GMT (envelope-from git) Date: Mon, 15 Jul 2024 16:33:33 GMT Message-Id: <202407151633.46FGXXaZ067371@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fcda9d40c1f3 - main - science/py-dwave-optimization: Add USE_PYTHON=pep517 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fcda9d40c1f387af1b4a5bbc37c5eccf1c02f6aa Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fcda9d40c1f387af1b4a5bbc37c5eccf1c02f6aa commit fcda9d40c1f387af1b4a5bbc37c5eccf1c02f6aa Author: Yuri Victorovich AuthorDate: 2024-07-15 16:22:23 +0000 Commit: Yuri Victorovich CommitDate: 2024-07-15 16:33:30 +0000 science/py-dwave-optimization: Add USE_PYTHON=pep517 This fixes the problem with the missing plist file. --- science/py-dwave-optimization/Makefile | 5 +++-- science/py-dwave-optimization/files/patch-pyproject.toml | 13 +++++++++++++ science/py-dwave-optimization/pkg-plist | 1 - 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/science/py-dwave-optimization/Makefile b/science/py-dwave-optimization/Makefile index e083627cbd61..67ae159ccff6 100644 --- a/science/py-dwave-optimization/Makefile +++ b/science/py-dwave-optimization/Makefile @@ -13,12 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-dso>=2.10:devel/py-setuptools-dso@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}setuptools-dso>=2.10:devel/py-setuptools-dso@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}reno>=4.1.0:textproc/py-reno@${PY_FLAVOR} USES= python -USE_PYTHON= distutils cython autoplist +USE_PYTHON= pep517 cython autoplist POST_PLIST= fix-plist diff --git a/science/py-dwave-optimization/files/patch-pyproject.toml b/science/py-dwave-optimization/files/patch-pyproject.toml new file mode 100644 index 000000000000..266f645a6998 --- /dev/null +++ b/science/py-dwave-optimization/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 2024-07-15 16:16:29 UTC ++++ pyproject.toml +@@ -1,8 +1,8 @@ requires = [ + [build-system] + requires = [ +- "cython==3.0.8", ++ "cython>=3.0.8", + 'numpy==1.19.0;python_version<"3.9"', # C API for numpy.random +- 'oldest-supported-numpy;python_version>="3.9"', ++ 'numpy;python_version>="3.9"', + "setuptools>=46.4.0", + "setuptools_dso>=2.10,<3.0;platform_system != 'Windows'", # On Windows we don't distribute a dynamic library + "wheel>=0.30.0", diff --git a/science/py-dwave-optimization/pkg-plist b/science/py-dwave-optimization/pkg-plist deleted file mode 100644 index c9c2eb9a150b..000000000000 --- a/science/py-dwave-optimization/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%PYTHON_SITELIBDIR%%/dwave/optimization/libdwave-optimization.so