[123937] trunk/dports/net/libtorrent-rasterbar
devans at macports.org
devans at macports.org
Fri Aug 15 22:29:50 PDT 2014
Revision: 123937
https://trac.macports.org/changeset/123937
Author: devans at macports.org
Date: 2014-08-15 22:29:50 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
libtorrent-rasterbar: update to version 1.0.1, master_sites, livecheck (#44664).
Modified Paths:
--------------
trunk/dports/net/libtorrent-rasterbar/Portfile
trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff
Added Paths:
-----------
trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff
Removed Paths:
-------------
trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff
Modified: trunk/dports/net/libtorrent-rasterbar/Portfile
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/Portfile 2014-08-16 05:15:22 UTC (rev 123936)
+++ trunk/dports/net/libtorrent-rasterbar/Portfile 2014-08-16 05:29:50 UTC (rev 123937)
@@ -7,13 +7,13 @@
name libtorrent-rasterbar
conflicts libtorrent-rasterbar-devel
-version 0.16.13
+version 1.0.1
license BSD
categories net
maintainers devans openmaintainer
platforms darwin
homepage http://www.rasterbar.com/products/libtorrent/
-master_sites googlecode:libtorrent
+master_sites sourceforge:libtorrent
description \
A C++ bittorrent library (not the same as port libtorrent)
@@ -22,8 +22,8 @@
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 0752596c6e352e4927052ae4f33d29797aa84ae1 \
- sha256 75573af1f112d4ebff2e3669f177600d4333a805210882967bd7dc08214227eb
+checksums rmd160 c1139ea484e54027fe8653e5920fe4193a26192b \
+ sha256 8f8f0b233370478d70cf069f6355e3067c2ab09ed4b8816de2a21e440b97f4f9
depends_build port:pkgconfig
@@ -32,10 +32,10 @@
port:openssl
patchfiles patch-configure.diff \
- patch-bindings-python-setup.py.in.diff
+ patch-bindings-python-setup.py.diff
post-patch {
- reinplace "s|__MP_BUILD_ARCH__|${build_arch}|" ${worksrcpath}/bindings/python/setup.py.in
+ reinplace "s|__MP_BUILD_ARCH__|${build_arch}|" ${worksrcpath}/bindings/python/setup.py
}
compiler.blacklist *gcc* {clang < 300}
@@ -74,3 +74,5 @@
if {![variant_isset python26]} {
default_variants +python27
}
+
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Added: trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff (rev 0)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff 2014-08-16 05:29:50 UTC (rev 123937)
@@ -0,0 +1,21 @@
+--- bindings/python/setup.py.orig 2014-08-02 12:20:08.000000000 -0700
++++ bindings/python/setup.py 2014-08-15 21:48:03.000000000 -0700
+@@ -21,8 +21,7 @@
+
+ def arch():
+ if platform.system() != 'Darwin': return []
+- a = os.uname()[4]
+- if a == 'Power Macintosh': a = 'ppc'
++ a = '__MP_BUILD_ARCH__'
+ return ['-arch', a]
+
+ def target_specific():
+@@ -94,7 +93,7 @@
+ language='c++',
+ include_dirs = ['../../include'] + parse_cmd(extra_cmd, '-I'),
+ library_dirs = ['../../src/.libs'] + parse_cmd(extra_cmd, '-L'),
+- extra_link_args = ldflags.split() + arch(),
++ extra_link_args = ldflags.split(),
+ extra_compile_args = parse_cmd(extra_cmd, '-D', True) + arch() \
+ + target_specific(),
+ libraries = ['torrent-rasterbar'] + parse_cmd(extra_cmd, '-l'))]
Deleted: trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff 2014-08-16 05:15:22 UTC (rev 123936)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff 2014-08-16 05:29:50 UTC (rev 123937)
@@ -1,21 +0,0 @@
---- bindings/python/setup.py.in.orig 2010-08-08 01:41:52.000000000 -0700
-+++ bindings/python/setup.py.in 2010-08-25 08:51:55.000000000 -0700
-@@ -23,8 +23,7 @@
-
- def arch():
- if platform.system() != 'Darwin': return []
-- a = os.uname()[4]
-- if a == 'Power Macintosh': a = 'ppc'
-+ a = '__MP_BUILD_ARCH__'
- return ['-arch', a]
-
- if platform.system() == 'Windows':
-@@ -80,7 +79,7 @@
- language='c++',
- include_dirs = ['@top_srcdir@/include'] + parse_cmd(extra_cmd, '-I'),
- library_dirs = ['@top_builddir@/src/.libs'] + parse_cmd(extra_cmd, '-L'),
-- extra_link_args = '@LDFLAGS@'.split() + arch(),
-+ extra_link_args = '@LDFLAGS@'.split(),
- extra_compile_args = parse_cmd(extra_cmd, '-D', True) + arch(),
- libraries = ['torrent-rasterbar'] + parse_cmd(extra_cmd, '-l'))],
- )
Modified: trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff 2014-08-16 05:15:22 UTC (rev 123936)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff 2014-08-16 05:29:50 UTC (rev 123937)
@@ -1,6 +1,6 @@
---- configure.orig 2013-12-15 16:42:37.000000000 -0800
-+++ configure 2013-12-18 15:20:33.000000000 -0800
-@@ -18261,9 +18261,9 @@
+--- configure.orig 2014-08-03 20:05:13.000000000 -0700
++++ configure 2014-08-15 21:38:09.000000000 -0700
+@@ -18290,9 +18290,9 @@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/be825fa4/attachment.html>
More information about the macports-changes
mailing list