Skip to content

Commit

Permalink
libtorrent-rasterbar: update to version 1.2.1, livecheck
Browse files Browse the repository at this point in the history
This version is incompatible with the previous 1.1 release series.
  • Loading branch information
dbevans committed Aug 13, 2019
1 parent 11cdec0 commit c65695e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 49 deletions.
19 changes: 5 additions & 14 deletions net/libtorrent-rasterbar/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PortGroup conflicts_build 1.0
PortGroup cxx11 1.1
PortGroup github 1.0

github.setup arvidn libtorrent 1_1_12 libtorrent_
github.setup arvidn libtorrent 1_2_1 libtorrent-
name libtorrent-rasterbar
version [string map {_ .} ${version}]
license BSD
Expand All @@ -21,9 +21,9 @@ description A C++ bittorrent library (not the same as port libtorrent)
long_description A C++ bittorrent library designed to run on anything from embedded systems to large scale \
seed servers. It comes with python bindings and detailed documentation.

checksums rmd160 0d72014dbb640887e99aaa338ff812678e3dfb8b \
sha256 231ff7562e32a760103edb6794501899177905288f6729d0d2cdb4f7be37199a \
size 2920219
checksums rmd160 58e33c788d50c7188f7e32af2246a58fd6e10869 \
sha256 aaa23969813ada46c70e45eb2c485934d7e16fcbad57ab749280b40d2fef99a4 \
size 3564372

depends_build port:pkgconfig \
port:autoconf \
Expand All @@ -33,12 +33,7 @@ depends_build port:pkgconfig \
depends_lib port:boost \
path:lib/libssl.dylib:openssl

patchfiles patch-configure.ac.diff \
patch-bindings-python-setup.py.diff

post-patch {
reinplace "s|__MP_BUILD_ARCH__|${build_arch}|" ${worksrcpath}/bindings/python/setup.py
}
patchfiles patch-configure.ac.diff

compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}

Expand Down Expand Up @@ -67,7 +62,3 @@ variant error_logging description {Enable logging of errors to disk} {
}

default_variants +python27

# restrict livecheck to 1.1 branch for now
# version 1.2 has incompatible API/ABI changes
github.livecheck.regex {(1_1_[^"]+)}
32 changes: 0 additions & 32 deletions net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff

This file was deleted.

6 changes: 3 additions & 3 deletions net/libtorrent-rasterbar/files/patch-configure.ac.diff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- configure.ac.orig 2016-04-10 17:46:51.000000000 -0700
+++ configure.ac 2016-04-15 13:47:13.000000000 -0700
@@ -472,6 +472,16 @@
--- configure.ac.orig 2019-04-30 12:55:17.000000000 -0700
+++ configure.ac 2019-08-12 18:34:59.000000000 -0700
@@ -445,6 +445,16 @@
AC_MSG_RESULT([yes])

AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.]))
Expand Down

0 comments on commit c65695e

Please sign in to comment.