Skip to content

Commit

Permalink
net-p2p/py-libtorrent-rasterbar: Update 1.2.10 -> 1.2.13
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Apr 14, 2021
1 parent 34c1fa2 commit 11e1e6b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 56 deletions.
9 changes: 6 additions & 3 deletions net-p2p/py-libtorrent-rasterbar/Makefile
@@ -1,8 +1,8 @@
# Created by: Doug Barton <dougb@FreeBSD.org>

PORTNAME= libtorrent-rasterbar
DISTVERSIONPREFIX= libtorrent-
DISTVERSION= 1.2.10
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.13
PORTEPOCH= 1
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -13,15 +13,18 @@ COMMENT= Python bindings for libtorrent-rasterbar
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/../../COPYING

BUILD_DEPENDS= b2:devel/boost_build
LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
${PY_BOOST}

USES= compiler:c11 iconv localbase python:3.6+
USES= compiler:c11 iconv localbase:ldflags python:3.6+
USE_GITHUB= yes
GH_ACCOUNT= arvidn
GH_PROJECT= libtorrent
USE_PYTHON= distutils autoplist

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

Expand Down
6 changes: 3 additions & 3 deletions net-p2p/py-libtorrent-rasterbar/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1599281590
SHA256 (arvidn-libtorrent-libtorrent-1.2.10_GH0.tar.gz) = e0fedb583f1e7bdcc0eb80a9df064a1e6fb0b825d8423e64bdb0f7a35879a09e
SIZE (arvidn-libtorrent-libtorrent-1.2.10_GH0.tar.gz) = 3586008
TIMESTAMP = 1618420303
SHA256 (arvidn-libtorrent-v1.2.13_GH0.tar.gz) = c34be78042920459bbbb2bcb20f993896b958f7c524fe4b8bff34f4179637558
SIZE (arvidn-libtorrent-v1.2.13_GH0.tar.gz) = 3608107
3 changes: 3 additions & 0 deletions net-p2p/py-libtorrent-rasterbar/files/b2
@@ -0,0 +1,3 @@
#!/bin/sh

$PREFIX/bin/b2 toolset=clang "$@"

This file was deleted.

0 comments on commit 11e1e6b

Please sign in to comment.