From nobody Wed Jun 21 14:34:59 2023 X-Original-To: dev-commits-ports-all@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 4QmQyD01xbz4gCtF; Wed, 21 Jun 2023 14:35:00 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmQyC6dhvz3G6L; Wed, 21 Jun 2023 14:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687358099; 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=oxTvKxux7RtSFk7NV0emKELrCSD6V2TjHjABPiDUHU4=; b=Cuj/BtHheMtqBp+YSBBCwmst2ym19vVw0QcakY0l95v5Ck7P1G9vjkDnGPtw5K0nvRWNVl kZhNIJpfUL2XglTjsqq9X2+4Zkiv8QZ5QimhNfAXmx9tbxMj1s7jf3vqHAYI8jA9YaOPu8 V98oECk7QJTd4iKqmrE/Yc2A6H/o699KwRlUiuua/Z5b6sIuIGEDrmrDz4OpZWysa631GQ H2oNRKSsRqwKV04enz6pQxGBcTMgT4doaE5a1oJSb+MUXc/tFr1mTKfBklx/f9jUE2Fkj6 4MZvTXB55lLdFfK/ptD+qOoDmkTqx7i4OOoPLG2y+Q5f1gVNcr4idtmXfA0ozw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687358099; 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=oxTvKxux7RtSFk7NV0emKELrCSD6V2TjHjABPiDUHU4=; b=BIHlm7Zn3ydoGNQtzbdVlAhRgRxSZ4gTKUI6N1rCeZefW4HDJDFG2cssvDKLAvRi+Z2ph8 rGWnbjIcx01Sf/BArPknfoKfXghD6XxcvsaG5JKYo+m2MI0/SmadOewQoqhXOhQhs10Hyy 8REJJFBUZkhZAPUb31bOD6OjRZgFY8+ySvD/PiKCpUQf3xEyCCOBIoadrphhFtXxgddPJN HGHhcW9rkqNhY0NKIWw9aHwpMbhUQvhMw2UbmG8XfbHuWaA5j6h6IL8XN085KRabBMu5hc MqWyUd4HrnF7hnUQQ22wlJRvfgIwj1pogqWXuosMOhBNFUYVonSYuLvbQlZ3+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687358099; a=rsa-sha256; cv=none; b=Psp6TSuNTnzc7RC0DwxKhs9h3Vk7uCujSbfmIwMGb9Rt1dzPkn6p6g2j+AQu8UpKhH1Dib ZTVb6BzqgvGeEtj2KK9YIEQcEkjuh8n3PpPm9nmBeslZpxIW74R5/4bCqX9y/HlAeE0xNe HDkkjjSZsvQFlrX+pwz/Cpj2/c6BKj4q7mW1O7qqza2m+acYi4gPaSQeFxGV2hH1U+w9tM GQI8x681J5ZbxfgehAwTsCU55Yf3MKYUhlpbYoT9aUccOAVrz2/5fJG3Ev6jdWQ8xR4ZWL b26yW9asWcvjLEEHk3ZS37h0mGygwtsNzAWLH5/Rf2UXta3Bdltq0Y4w+PynNw== 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 4QmQyC5jMfzlKX; Wed, 21 Jun 2023 14:34:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35LEYxE5040800; Wed, 21 Jun 2023 14:34:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35LEYxtE040799; Wed, 21 Jun 2023 14:34:59 GMT (envelope-from git) Date: Wed, 21 Jun 2023 14:34:59 GMT Message-Id: <202306211434.35LEYxtE040799@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 3773dbe7e189 - main - net-p2p/{,py-}libtorrent-rasterbar: update to 1.2.18 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3773dbe7e18982a764e45c8bb0d8a4551be2febc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=3773dbe7e18982a764e45c8bb0d8a4551be2febc commit 3773dbe7e18982a764e45c8bb0d8a4551be2febc Author: Joakim Bergman AuthorDate: 2023-06-18 17:11:30 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-06-21 14:29:47 +0000 net-p2p/{,py-}libtorrent-rasterbar: update to 1.2.18 And fix python bindings in preparation for update of net-p2p/deluge-cli. PR: 264970 Reported by: jocke@gipset.se Approved by: yuri@ (maintainer) --- net-p2p/libtorrent-rasterbar/Makefile | 3 +++ net-p2p/libtorrent-rasterbar/pkg-plist | 1 + net-p2p/py-libtorrent-rasterbar/Makefile | 14 ++++++++------ net-p2p/py-libtorrent-rasterbar/distinfo | 6 +++--- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index bd415e47300d..1692742f4ad2 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -47,6 +47,9 @@ post-patch: ${WRKSRC}/test/setup_transfer.cpp post-install: + # py-bindings seems to link this exact name after v1.2.14 + # TODO: figure out how to make symlinks in Jamfile + /bin/ln -s libtorrent-rasterbar.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.10.0.0 @${RM} ${STAGEDIR}${PREFIX}/include/libtorrent/Makefile* post-install-DOCS-on: diff --git a/net-p2p/libtorrent-rasterbar/pkg-plist b/net-p2p/libtorrent-rasterbar/pkg-plist index 4f8d8ff4b883..84471c859fe8 100644 --- a/net-p2p/libtorrent-rasterbar/pkg-plist +++ b/net-p2p/libtorrent-rasterbar/pkg-plist @@ -252,5 +252,6 @@ lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets.cmake lib/libtorrent-rasterbar.so lib/libtorrent-rasterbar.so.%%SO_VER%% lib/libtorrent-rasterbar.so.%%SHLIB_VER%% +lib/libtorrent-rasterbar.so.10.0.0 libdata/pkgconfig/libtorrent-rasterbar.pc share/cmake/Modules/FindLibtorrentRasterbar.cmake diff --git a/net-p2p/py-libtorrent-rasterbar/Makefile b/net-p2p/py-libtorrent-rasterbar/Makefile index 548a83e953d7..9ac5f8a6d6a2 100644 --- a/net-p2p/py-libtorrent-rasterbar/Makefile +++ b/net-p2p/py-libtorrent-rasterbar/Makefile @@ -1,7 +1,7 @@ PORTNAME= libtorrent-rasterbar DISTVERSIONPREFIX= v -DISTVERSION= 1.2.16 -PORTREVISION= 1 +DISTVERSION= 1.2.18 +PORTREVISION= 0 PORTEPOCH= 2 CATEGORIES= net-p2p python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +13,6 @@ WWW= https://libtorrent.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../../COPYING -BROKEN= can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment, see https://github.com/arvidn/libtorrent/issues/6890 - BUILD_DEPENDS= b2:devel/boost_build LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ ${PY_BOOST} @@ -23,7 +21,10 @@ USES= compiler:c11 iconv localbase:ldflags python:3.6+ USE_GITHUB= yes GH_ACCOUNT= arvidn GH_PROJECT= libtorrent -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils +PYDISTUTILS_PKGNAME= libtorrent +PYDISTUTILS_BUILD_TARGET= build_ext --b2-args="fpic=on libtorrent-link=shared boost-link=shared" +PYDISTUTILS_INSTALL_TARGET= build_ext --b2-args="fpic=on libtorrent-link=shared boost-link=shared" install BINARY_ALIAS= b2=${FILESDIR}/b2 @@ -38,7 +39,8 @@ CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does +PLIST_FILES+= ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}/__init__${PYTHON_EXT_SUFFIX}.so post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libtorrent*.so + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PYDISTUTILS_PKGNAME}/__init__${PYTHON_EXT_SUFFIX}.so .include diff --git a/net-p2p/py-libtorrent-rasterbar/distinfo b/net-p2p/py-libtorrent-rasterbar/distinfo index 8f090fecfde8..3ff41462afa4 100644 --- a/net-p2p/py-libtorrent-rasterbar/distinfo +++ b/net-p2p/py-libtorrent-rasterbar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654714860 -SHA256 (arvidn-libtorrent-v1.2.16_GH0.tar.gz) = 2ee435c3e2e6dd8825903230b41fbaf0741b7aed57094f2ca0e6214d89fef9d4 -SIZE (arvidn-libtorrent-v1.2.16_GH0.tar.gz) = 3624920 +TIMESTAMP = 1667577329 +SHA256 (arvidn-libtorrent-v1.2.18_GH0.tar.gz) = c4213bfb695db3e3b266be71865a7942f9007200aa4021946818fdc5e5e4a3d3 +SIZE (arvidn-libtorrent-v1.2.18_GH0.tar.gz) = 3633926