Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2020 16:12:13 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528047 - head/net-p2p/py-libtorrent-rasterbar
Message-ID:  <202003081612.028GCDpT027149@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar  8 16:12:13 2020
New Revision: 528047
URL: https://svnweb.freebsd.org/changeset/ports/528047

Log:
  net-p2p/py-libtorrent-rasterbar: Update 1.2.2 -> 1.2.4; Unbreak.
  
  portscout failed to detect this version change, which caused a delay in the port update.
  
  PR:		244672
  Submitted by:	Felix Hanley (felix@userspace.com.au) (part of the change)

Modified:
  head/net-p2p/py-libtorrent-rasterbar/Makefile
  head/net-p2p/py-libtorrent-rasterbar/distinfo

Modified: head/net-p2p/py-libtorrent-rasterbar/Makefile
==============================================================================
--- head/net-p2p/py-libtorrent-rasterbar/Makefile	Sun Mar  8 16:04:06 2020	(r528046)
+++ head/net-p2p/py-libtorrent-rasterbar/Makefile	Sun Mar  8 16:12:13 2020	(r528047)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	libtorrent-rasterbar
-DISTVERSION=	1.2.2
+DISTVERSIONPREFIX=	libtorrent-
+DISTVERSION=	1_2_4
 CATEGORIES=	net-p2p python
-MASTER_SITES=	https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,14 +13,15 @@ COMMENT=	Python bindings for libtorrent-rasterbar
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/../../COPYING
 
-BROKEN=		Doesn't install anything since the last major release: https://github.com/arvidn/libtorrent/issues/4204
-
 LIB_DEPENDS=	libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
 		${PY_BOOST}
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}-libtorrent-rasterbar11
 
 USES=		compiler:c11 iconv localbase python
+USE_GITHUB=	yes
+GH_ACCOUNT=	arvidn
+GH_PROJECT=	libtorrent
 USE_PYTHON=	distutils autoplist
 
 CFLAGS+=	-DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331
@@ -31,5 +32,8 @@ WRKSRC_SUBDIR=	bindings/python
 # ensure python paths are correctly identified
 CONFIGURE_ENV=	PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
 		PYTHON_VERSION="${PYTHON_VERSION}"
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libtorrent.so
 
 .include <bsd.port.mk>

Modified: head/net-p2p/py-libtorrent-rasterbar/distinfo
==============================================================================
--- head/net-p2p/py-libtorrent-rasterbar/distinfo	Sun Mar  8 16:04:06 2020	(r528046)
+++ head/net-p2p/py-libtorrent-rasterbar/distinfo	Sun Mar  8 16:12:13 2020	(r528047)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1576811230
-SHA256 (libtorrent-rasterbar-1.2.2.tar.gz) = e579261d7f0acbe82e9b4ce703cb721627cb8075023f8a26405992f489bc6202
-SIZE (libtorrent-rasterbar-1.2.2.tar.gz) = 4088779
+TIMESTAMP = 1583683308
+SHA256 (arvidn-libtorrent-libtorrent-1_2_4_GH0.tar.gz) = f1ae9ccca0a9013b694d53c12cfd4f9cc21f9cf227789fd3d62a876c7f35720f
+SIZE (arvidn-libtorrent-libtorrent-1_2_4_GH0.tar.gz) = 3598403



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003081612.028GCDpT027149>