From nobody Tue Aug 06 16:11:58 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 4Wddbz00RKz5SCyl; Tue, 06 Aug 2024 16:11: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wddby6cwMz414x; Tue, 6 Aug 2024 16:11:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722960718; 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=t5f8RLoso1QsXwoUcuH/GHQrPrtUgMIyd9T1GhK+6EA=; b=gAUDOuf/djpt66rD+oTYgiyNJHjXL+gLqnPB+oBoZSgFwnOR3IY7leL/TuTGTNzq8kto3t jj9QMIUDFqfM1agvUXJpmxmwkAbGxV6SN1hj0IFS9efecvLaRnSkK7m28o1XtOGOJyUWjb v4aYiXjk/iITcWIF99RCKdvZksY3sdrKevtNVwHDQZHCK4dPcFDOdbqbvgFPnddLYg2rHY US5H6byt75SepAjQxTfqBMn3DqmYOwZCWYtyd8vvr3Lj5b3/FBA1cA+pm/5YBfM98nrnJd iGXGZtr0rRaIvQ1+YMp//Ey6h+ab5mza0XA4SvKZbD0I0DWbhs3Tan/L6Cw4dg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722960718; a=rsa-sha256; cv=none; b=RxJZiFkSyC7ol3iErB1PnUbpKyrASCT55v2yH3TzxowzW2uJp/TQQ++HMiKbIR8DKVwz5+ P/QfknDrVJeoRE57d5QyU60HTkmn8y4ALxtH3gFsPsp+Tga/0E20cHZVlbGGhRVHywG/WW Hbn7cNKlP6bW9JuCRmoolnaEsUOMMS9mU4x8sUQFehd37CTuipCsVOSt8nk/fLhLornHby 4R0ybmVwd5bdcZl16oBvAIL7bQ0hassfAwI4pgld+Nxavg6izQ+K6+XfC7FljcNHsyewlq 4baQFnL+BzoCSf7hAlljd0hr/v06OeOaajCyhETEhpKt5YeriBWXU8bg6Ssl0g== 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=1722960718; 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=t5f8RLoso1QsXwoUcuH/GHQrPrtUgMIyd9T1GhK+6EA=; b=pByF9W3uOzB5KK8uZx6YdM9Pt/aEUuyjyxo0cn4k0RVm46wSfiZ8PMg1VF8HaH3YP0+GmI 8rt/OnRLPJthg3CrmLq8tHRvVE0geUFLu7FCRIl9x8wb8Ue4U2pK5/OkuOaP4MTxUQDCfJ YyFiBT/kMmh9yHV+wOL+wmuUDOgQRWU/ODkwv9MHNuG2DlkWwkuTQjglBOqigRWym1H0JL I0tPPN4WvHF+JRvQHf9efF3WNjW3aQS2RfdQEAo6TtrFMb3dpWdaGY3XuHvPJolHg7xYMV MnOBxaLtffZRdW2kSx6QKCdtCTHSOHYcWvNXFQW9eHZvV/0Ie8dKE6C0+eZi9A== 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 4Wddby6B0jz1Cm6; Tue, 6 Aug 2024 16:11:58 +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 476GBwKb038739; Tue, 6 Aug 2024 16:11:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 476GBwAi038736; Tue, 6 Aug 2024 16:11:58 GMT (envelope-from git) Date: Tue, 6 Aug 2024 16:11:58 GMT Message-Id: <202408061611.476GBwAi038736@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ruslan Makhmatkhanov Subject: git: 4b6e5d3a8035 - main - net/py-zope.proxy: fix build on i386 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: rm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b6e5d3a8035ff7b9ff326ca015c863bfef0ae8c Auto-Submitted: auto-generated The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b6e5d3a8035ff7b9ff326ca015c863bfef0ae8c commit 4b6e5d3a8035ff7b9ff326ca015c863bfef0ae8c Author: Ruslan Makhmatkhanov AuthorDate: 2024-08-06 16:10:46 +0000 Commit: Ruslan Makhmatkhanov CommitDate: 2024-08-06 16:10:46 +0000 net/py-zope.proxy: fix build on i386 - add upstream patch that's fixing i386 build - strip library and convert to pep517 while here --- net/py-zope.proxy/Makefile | 10 +++++++--- .../files/patch-src_zope_proxy___zope__proxy__proxy.c | 13 +++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/net/py-zope.proxy/Makefile b/net/py-zope.proxy/Makefile index 452019e436d2..f18aafb5b077 100644 --- a/net/py-zope.proxy/Makefile +++ b/net/py-zope.proxy/Makefile @@ -1,5 +1,6 @@ PORTNAME= zope.proxy DISTVERSION= 5.2 +PORTREVISION= 1 CATEGORIES= net python zope MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,11 +12,14 @@ WWW= https://pypi.org/project/zope.proxy/ LICENSE= ZPL21 -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.3.0:devel/py-zope.interface@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.3.0:devel/py-zope.interface@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist pep517 -CFLAGS+= -Wno-error=incompatible-function-pointer-types +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/zope/proxy/_zope_proxy_proxy${PYTHON_EXT_SUFFIX}.so .include diff --git a/net/py-zope.proxy/files/patch-src_zope_proxy___zope__proxy__proxy.c b/net/py-zope.proxy/files/patch-src_zope_proxy___zope__proxy__proxy.c new file mode 100644 index 000000000000..580cfdb00008 --- /dev/null +++ b/net/py-zope.proxy/files/patch-src_zope_proxy___zope__proxy__proxy.c @@ -0,0 +1,13 @@ +https://github.com/zopefoundation/zope.proxy/commit/f296acc8d1f2a37e0fc1ae76d1f06b730391fda7 + +--- src/zope/proxy/_zope_proxy_proxy.c.orig 2024-08-06 15:48:48 UTC ++++ src/zope/proxy/_zope_proxy_proxy.c +@@ -311,7 +311,7 @@ wrap_repr(PyObject *wrapper) + return PyObject_Repr(Proxy_GET_OBJECT(wrapper)); + } + +-static long ++static Py_hash_t + wrap_hash(PyObject *self) + { + return PyObject_Hash(Proxy_GET_OBJECT(self));