Date: Tue, 21 Apr 2026 18:43:01 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9530fc6ffcd3 - main - net-p2p/py-libtorrent-rasterbar: update 1.2.2=?utf-8?Q?0 =E2=86=92 2.?=0.12 Message-ID: <69e7c535.47149.2d0f4d6e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9530fc6ffcd3235ab6549fa66f9d3b63f1b3a45e commit 9530fc6ffcd3235ab6549fa66f9d3b63f1b3a45e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-21 18:28:00 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-21 18:42:57 +0000 net-p2p/py-libtorrent-rasterbar: update 1.2.20 → 2.0.12 --- net-p2p/py-libtorrent-rasterbar/Makefile | 39 ++++++++++++++++++-------------- net-p2p/py-libtorrent-rasterbar/distinfo | 12 +++++++--- 2 files changed, 31 insertions(+), 20 deletions(-) diff --git a/net-p2p/py-libtorrent-rasterbar/Makefile b/net-p2p/py-libtorrent-rasterbar/Makefile index 7fcee369af36..015562bc5a08 100644 --- a/net-p2p/py-libtorrent-rasterbar/Makefile +++ b/net-p2p/py-libtorrent-rasterbar/Makefile @@ -1,7 +1,6 @@ PORTNAME= libtorrent-rasterbar DISTVERSIONPREFIX= v -DISTVERSION= 1.2.20 -PORTREVISION= 4 +DISTVERSION= 2.0.12 PORTEPOCH= 2 CATEGORIES= net-p2p python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,42 +10,48 @@ COMMENT= Python bindings for libtorrent-rasterbar WWW= https://libtorrent.org/ LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/../../COPYING +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= b2:devel/boost_build LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ - libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ + libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar2 \ ${PY_BOOST} -USES= compiler:c11 iconv localbase:ldflags python +USES= compiler:c11 iconv:wchar_t localbase:ldflags python ssl +USE_PYTHON= distutils autoplist pytest + USE_GITHUB= yes GH_ACCOUNT= arvidn GH_PROJECT= libtorrent -USE_PYTHON= distutils +GH_TUPLE= arvidn:try_signal:105cce5:try_signal/deps/try_signal \ + arvidn:libsimulator:66ac6cc:libsimulator/simulation/libsimulator \ + paullouisageneau:boost-asio-gnutls:a57d4d3:asio/deps/asio-gnutls + 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 +PYDISTUTILS_BUILD_TARGET= build_ext --b2-args="fpic=on libtorrent-python-pic=on libtorrent-link=shared boost-link=shared" +PYDISTUTILS_INSTALL_TARGET= build_ext --b2-args="fpic=on libtorrent-python-pic=on libtorrent-link=shared boost-link=shared" install BINARY_ALIAS= b2=${FILESDIR}/b2 -CFLAGS+= -DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331 -LDFLAGS+= ${LOCALBASE}/lib/libboost_python${PYTHON_SUFFIX}.so ${LOCALBASE}/lib/libiconv.so # fails to link libs: https://github.com/arvidn/libtorrent/issues/3330 +CFLAGS+= -fPIC -DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331 +CXXFLAGS+= -fPIC -DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331 +LDFLAGS+= ${LOCALBASE}/lib/libboost_python${PYTHON_SUFFIX}.so ${ICONV_LIB} # fails to link libs: https://github.com/arvidn/libtorrent/issues/3330 -WRKSRC_SUBDIR= bindings/python +BUILD_WRKSRC= ${WRKSRC}/bindings/python +INSTALL_WRKSRC= ${WRKSRC}/bindings/python # ensure python paths are correctly identified CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \ PYTHON_VERSION="${PYTHON_VERSION}" -PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/bindings/python -PLIST_FILES+= ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}/__init__${PYTHON_TAG}.so \ - ${PYTHON_SITELIBDIR}/libtorrent-_${DISTVERSION}_-py${PYTHON_VER}.egg-info/PKG-INFO \ - ${PYTHON_SITELIBDIR}/libtorrent-_${DISTVERSION}_-py${PYTHON_VER}.egg-info/SOURCES.txt \ - ${PYTHON_SITELIBDIR}/libtorrent-_${DISTVERSION}_-py${PYTHON_VER}.egg-info/dependency_links.txt \ - ${PYTHON_SITELIBDIR}/libtorrent-_${DISTVERSION}_-py${PYTHON_VER}.egg-info/top_level.txt +PORTSCOUT= limit:^1.* # 2.x is WIP and we don't accept it before qBittorrent does post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PYDISTUTILS_PKGNAME}/__init__${PYTHON_TAG}.so +# tests as of 2.0.12: 2 passed in 3.28s + .include <bsd.port.mk> diff --git a/net-p2p/py-libtorrent-rasterbar/distinfo b/net-p2p/py-libtorrent-rasterbar/distinfo index 4ef31351b25b..de7396aa1366 100644 --- a/net-p2p/py-libtorrent-rasterbar/distinfo +++ b/net-p2p/py-libtorrent-rasterbar/distinfo @@ -1,3 +1,9 @@ -TIMESTAMP = 1738128465 -SHA256 (arvidn-libtorrent-v1.2.20_GH0.tar.gz) = 6243d87e54c8d3c9336af1f8ef3fedf7b54e03c2be105a9914f07ec5059e4743 -SIZE (arvidn-libtorrent-v1.2.20_GH0.tar.gz) = 3639643 +TIMESTAMP = 1776793869 +SHA256 (arvidn-libtorrent-v2.0.12_GH0.tar.gz) = 475b5a9f1c9f62b0b9af2e53b1d77a8b7f002aec9d6db5de681bcd951bc30401 +SIZE (arvidn-libtorrent-v2.0.12_GH0.tar.gz) = 4326223 +SHA256 (arvidn-try_signal-105cce5_GH0.tar.gz) = a33b30e5066f8d8f53ec4be8b639569cd685fc2c7e90c16736907fa1a21939e5 +SIZE (arvidn-try_signal-105cce5_GH0.tar.gz) = 8020 +SHA256 (arvidn-libsimulator-66ac6cc_GH0.tar.gz) = f4847c878f6f48926021169f612d68e8503f3f3de14e76c81ce95580fa3671d0 +SIZE (arvidn-libsimulator-66ac6cc_GH0.tar.gz) = 146484 +SHA256 (paullouisageneau-boost-asio-gnutls-a57d4d3_GH0.tar.gz) = f6ceb4638cad0a5dd474ceef62e4bb07aab460af609cc87242292331c6c2616d +SIZE (paullouisageneau-boost-asio-gnutls-a57d4d3_GH0.tar.gz) = 14644home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e7c535.47149.2d0f4d6e>
