From nobody Sat Nov 19 15:25:30 2022 X-Original-To: ports-bugs@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 4NDyCH41Kgz4j4KL for ; Sat, 19 Nov 2022 15:25:31 +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 4NDyCH2CKjz3phr for ; Sat, 19 Nov 2022 15:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668871531; 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=JiH43bODgOWhb/ELihIiR9GHzEm9ohYJah//ujDdV0I=; b=H7vy3qXsD+f1eAkXIYRfwEwBKcqKj9Ft4T/+r9hDPsnmIRmsdbZEl+buaZe4JYNajuiTB8 dLWKbC+roqr5q+7W7DBwd6Y/AwPjbs+GMIwOqtgKoq54AFdEh/pGcFREIQ8Wxs8v/de80g RocX+rMq92NVwgVub2tzBI968ptOPTQPN6edm9I9rKd0mXJrdvMaPYFSNsu/bM0dDK8y4z 0McaYs1L7fKXVVwyEhIeuvCtKQWN1KvZOPDvOWbdzvzVbha37afRTdUh635Hkaetzq8tRE Hhpl2FYiVHr21tONG3/5gi4u+USCyv9A3DKL+xXn2o7n258nPBiBi4a7x/b26w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668871531; a=rsa-sha256; cv=none; b=k0E12L0s3Imbwlj+tq8j0rgHoDJzWIoEsQ/cFa9J6y7WbvVvDI19xKHdwcDe1EjVBc7QyP sNPEz7yU9vjOje/Lu5kaAQaOs163UBKEAlIDCgRiEKt1qi+PrXcX+UJc5GLQSPfQzRiKmV Fq2O6dCmhvpez1bZ+2bqIwfC63Y/JGetbhs+Hbll/ku1qWVNdQHybcJw20KenQFV9NhiWj GmT1IMlZEJ7RbYSz6O10pn21kQ3cpaKpdODjj93XqWZNWA28o2D93zD5wKE3SqiGrJ+t2j i60ay/j7h60YGf4O2x6SuIViXGiI+U3DR+sL0bf+2N2UMZFb0iR5OPaysvdX5Q== 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 4NDyCH0prXzqqs for ; Sat, 19 Nov 2022 15:25:31 +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 2AJFPVp8009814 for ; Sat, 19 Nov 2022 15:25:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AJFPVW5009813 for ports-bugs@FreeBSD.org; Sat, 19 Nov 2022 15:25:31 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: ports-bugs@FreeBSD.org Subject: [Bug 267866] net-p2p/py-libtorrent-rasterbar: fix python bindings and update to 1.2.18 Date: Sat, 19 Nov 2022 15:25:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jocke@gipset.se X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267866 Bug ID: 267866 Summary: net-p2p/py-libtorrent-rasterbar: fix python bindings and update to 1.2.18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jocke@gipset.se Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Taken from my work on a deluge version bump, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264970. Some problems I could not solve in a nice way: 1. The python bindings were trying to find a file named `libtorrent-rasterbar.so.10.0.0` but in the default build it seems to be na= med `libtorrent-rasterbar.so.1.2.18` (with a symlink `libtorrent-rasterbar.so.1= 0` pointing to it) so I had to construct an additional symlink in the last sta= ges of the build. It would be nice if this could be configured to either create= the symlink through the Jamfile or to have the python binding look for one of t= he existing names. 2. The python binding seems to go in a subdirectory in site-packages which seems to not be supported out of the box with FreeBSD ports system python utils. I am not sure which way is more correct in python/general but in por= ts I had to disable the automatic file detection and explicitly add `${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}/__init__${PYTHON_EXT_SUFFIX}.s= o`. The old way of keeping the `.so` file right in the site-packages directory seemed to work automatically. Some more context available here: https://github.com/arvidn/libtorrent/issues/6890#issuecomment-1320873270 --=20 You are receiving this mail because: You are the assignee for the bug.=