From nobody Tue Aug 31 01:35:50 2021 X-Original-To: python@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 32BE5178CA45 for ; Tue, 31 Aug 2021 01:35:51 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gz8sL65r5z4fKx for ; Tue, 31 Aug 2021 01:35:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 94376792 for ; Tue, 31 Aug 2021 01:35:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17V1Zo7u028594 for ; Tue, 31 Aug 2021 01:35:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17V1Zokl028593 for python@FreeBSD.org; Tue, 31 Aug 2021 01:35:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 257920] [NEW PORT] devel/py-pycapnp: Cython wrapping of the C++ Cap'n Proto library Date: Tue, 31 Aug 2021 01:35:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fernape@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc flagtypes.name bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257920 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[NEW PORT] |[NEW PORT] |devel/py-pycapnp: Python |devel/py-pycapnp: Cython |bindings of the Cap'n Proto |wrapping of the C++ Cap'n |library |Proto library Flags|maintainer-feedback+ |maintainer-feedback?(soboma | |x@FreeBSD.org) Severity|Affects Some People |Affects Only Me --- Comment #5 from Kubilay Kocak --- Review items: - Match COMMENT to upstream titl,e modulo portlint needs. In this case: "Cy= thon wrapping of the C++ Cap'n Proto library" - Package installs files into non Python version specific (shared) location= s, port needs to be made concurrent (installation) safe using USE_PYTHON=3Dconcurrent [1] - Upstream says it wants a C++14 compiler, probably worth using USES=3Dcompiler: here. [2] - Upstream mentions needing special compiler args for 32-bit, does this also apply to us? [3] - Using system (ports) LIB_DEPENDS is preferable, by default this uses the bundled libpcap code. Use --force-system-libcapnp" added to PYDISTUTILS_BUILDARGS [4] - Add TEST_DEPENDS and (do-)test target when a package ships a test suite. = In this case TEST_DEPENDS=3Dpytest and do-test: cd ${WRKSRC} && ${PYTHON_CMD} = -m pytest -v -rs -o addopts=3D should get it to run (please confirm QA) [1] "console_scripts": ["capnpc-cython =3D capnp._gen:main"] [2] C++14 supported compiler=20 [3] 32-bit Linux requires that capnproto be compiled with -fPIC. This is usually set correctly unless you are compiling canproto yourself. This is a= lso called -DCMAKE_POSITION_INDEPENDENT_CODE=3D1 for cmake. [4] setup.py: force_system_libcapnp =3D "--force-system-libcapnp" in sys.ar= gv --=20 You are receiving this mail because: You are on the CC list for the bug.=