From nobody Sun Aug 04 17:24:30 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 4WcRJZ6hSjz5ShrW; Sun, 04 Aug 2024 17:24:30 +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 4WcRJZ37HQz44K2; Sun, 4 Aug 2024 17:24:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792270; 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=vS26gAg8xNVOImoaQBL6cWayK99a2SbiNSee+KpXMUY=; b=HePjemKe6hf1WzYaygfUV4s9V3vq6HkbnyhUI31TwC+3Pao0kfQJ7vZGnDpzzNhSgwVGQw hQONg6RwUWt6xUm47s4/bcv2XIgICMn9IYhflcGETbfTeTIRx5qnu76yXlia5Fb5DEUudR a2fava3pom2LVos0tTqfApMVDntOVq72Ih0Rbp0TE+Ej6ez4EBBUXnR8pZpbBfRT7PrYXN WnYMLY+5c4h9DOOH5oMaVr0wOZ0lxFv8L8es55fIfQrfQvKnTvr0+pKd7wuYUapalylkhU +/x16DaYHwA8N1JTD/+UeBsGb3dbwp1uVuW4ekiVVlRU7fROio6gQxyP/CnwtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722792270; a=rsa-sha256; cv=none; b=LKXTWa7tEvLM9qNLyow3/lca3qWeLYIjiLbnG4B0Y7lrdDUcJ1n+Zc7iJZqHJTp7KttLi9 rrrbt1CZ2aSNDi+y9ZLu0E6OlwsOmcn1PVBNUcSc37TaFw9Yw2yvfKnfweH9QOf1L0QqzC 6QktUXgaO+Jb485GEIU39w5HdpxXGsJ8PZmG/a3nzUPvqhWV5licJMC1XTfLW39kYymP6l NMxO2ClMmvgb7BU0JmOZ7KUboB1tnKy79vTvszle8hPJvHpfCai6MSzqAi3daiMxYden89 ylkMcTcjkhrksFCJqmPPswUf1oWjvXdP71H7KKAVhZ1EK/Xls6WYO/xCKej8ow== 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=1722792270; 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=vS26gAg8xNVOImoaQBL6cWayK99a2SbiNSee+KpXMUY=; b=hN645ZtsCnD0S+s7jFGRncoo8+JwdikXYJ6KK9O2eqirORv/pcB59HbqIz6WhuTTWo7Z3j l/2ofdz+FGY7ptmkOvuRoIkVbkXRweBkGrr8x4AU4U58YRdw3fJbCvZwcdE8YKpCRjt3qI lrnV8XTeln2SmEvzixlLV5HKRx2hf1y1hDsOLDhT57PSIfhvaHvBkVrQzycueM5QwoiSPw 4a5L1wNaec6FcKS4BGA9wtyepJz6AiE2gbYeQkjyxyy5Yw/W6QO2jk2Z1Gh4OrF3MfZf6J zmGiWU9qVh3cgJcj8Oun3Vi/kduKrYT+KCk6XmpfA36VSF6w3vtL9uAHdyf2BQ== 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 4WcRJZ2VFwz14Xn; Sun, 4 Aug 2024 17:24:30 +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 474HOUPC069640; Sun, 4 Aug 2024 17:24:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474HOU5B069637; Sun, 4 Aug 2024 17:24:30 GMT (envelope-from git) Date: Sun, 4 Aug 2024 17:24:30 GMT Message-Id: <202408041724.474HOU5B069637@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: 7e5fc001eec1 - main - devel/py-bitstring: Fix PEP 517 installation 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: 7e5fc001eec1420963996911a0296c25e84ac8d2 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e5fc001eec1420963996911a0296c25e84ac8d2 commit 7e5fc001eec1420963996911a0296c25e84ac8d2 Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 17:11:31 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 17:14:32 +0000 devel/py-bitstring: Fix PEP 517 installation - Bump PORTREVISION for package change When you build a port with USE_PYTHON=pep517, make sure to have CORRECT dependency. Otherwise the dependent port would fail to build. bitstring requires "bitarray == 2.8.0" while py-bitarray is 2.8.1 now. Relax the version to fix the build of dependent ports. from py311-angr-9.0.5405_2.log [1]: /usr/local/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. /usr/local/bin/python3.11: No module named pip Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/setuptools/installer.py", line 82, in fetch_build_egg subprocess.check_call(cmd) File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/local/bin/python3.11', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpcfx2plmc', '--quiet', 'bitarray==2.8.0']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "", line 1, in File "setup.py", line 135, in setup( File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 86, in setup _install_setup_requires(attrs) File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 875, in fetch_build_eggs resolved_dists = pkg_resources.working_set.resolve( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pkg_resources/__init__.py", line 789, in resolve dist = best[req.key] = env.best_match( ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1075, in best_match return self.obtain(req, installer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1087, in obtain return installer(requirement) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 945, in fetch_build_egg return fetch_build_egg(self, req) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/installer.py", line 84, in fetch_build_egg raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/local/bin/python3.11', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpcfx2plmc', '--quiet', 'bitarray==2.8.0']' returned non-zero exit status 1. *** Error code 1 Reference: https://pkg-status.freebsd.org/beefy22/data/140amd64-default/38b61988cd6e/logs/py311-angr-9.0.5405_2.log [1] Approved by: portmgr (blanket) With hat: python --- devel/py-bitstring/Makefile | 3 ++- devel/py-bitstring/files/patch-pyproject.toml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/devel/py-bitstring/Makefile b/devel/py-bitstring/Makefile index 7d540e84f69a..46ef2a022647 100644 --- a/devel/py-bitstring/Makefile +++ b/devel/py-bitstring/Makefile @@ -1,5 +1,6 @@ PORTNAME= bitstring PORTVERSION= 4.1.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,7 +20,7 @@ PORTDOCS= PKG-INFO README.md release_notes.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>=0:devel/py-bitarray@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>=2.8.0:devel/py-bitarray@${PY_FLAVOR} OPTIONS_DEFINE= DOCS NO_ARCH= yes diff --git a/devel/py-bitstring/files/patch-pyproject.toml b/devel/py-bitstring/files/patch-pyproject.toml new file mode 100644 index 000000000000..60439715b8c9 --- /dev/null +++ b/devel/py-bitstring/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-08-17 13:50:39 UTC ++++ pyproject.toml +@@ -26,7 +26,7 @@ dependencies = [ + ] + keywords = ["binary", "bitarray", "bitvector"] + dependencies = [ +- "bitarray == 2.8.0", ++ "bitarray >= 2.8.0", + ] + + [project.urls]