[147778] trunk/dports/net/libtorrent-rasterbar

devans at macports.org devans at macports.org
Fri Apr 15 14:33:49 PDT 2016


Revision: 147778
          https://trac.macports.org/changeset/147778
Author:   devans at macports.org
Date:     2016-04-15 14:33:49 -0700 (Fri, 15 Apr 2016)
Log Message:
-----------
libtorrent-rasterbar: update to version 1.1.

Modified Paths:
--------------
    trunk/dports/net/libtorrent-rasterbar/Portfile
    trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff
    trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff

Modified: trunk/dports/net/libtorrent-rasterbar/Portfile
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/Portfile	2016-04-15 20:40:45 UTC (rev 147777)
+++ trunk/dports/net/libtorrent-rasterbar/Portfile	2016-04-15 21:33:49 UTC (rev 147778)
@@ -7,7 +7,7 @@
 PortGroup           conflicts_build 1.0
 PortGroup           github 1.0
 
-github.setup        arvidn libtorrent 1_0_9 libtorrent-
+github.setup        arvidn libtorrent 1_1 libtorrent-
 name                libtorrent-rasterbar
 version             [string map {_ .} ${version}]
 license             BSD
@@ -21,8 +21,8 @@
 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  0039596a4ed4ccdd804f279500da57ec5787f95a \
-                    sha256  b1ddab2f8c9a6beb20a99d74167b4795c3ed4953088c15ab24138eff808960aa
+checksums           rmd160  cb532bd0abdd5b031d77bb2603abf348910864f4 \
+                    sha256  3f808d5546a6d51851596e11ed1e33991dde06095bee224ec7380bd9237c83c9
 
 depends_build       port:pkgconfig \
                     port:autoconf \

Modified: trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff	2016-04-15 20:40:45 UTC (rev 147777)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.diff	2016-04-15 21:33:49 UTC (rev 147778)
@@ -1,6 +1,6 @@
---- bindings/python/setup.py.orig	2015-03-21 05:47:27.000000000 -0700
-+++ bindings/python/setup.py	2015-03-23 12:34:23.000000000 -0700
-@@ -21,8 +21,7 @@
+--- bindings/python/setup.py.orig	2016-04-10 17:46:51.000000000 -0700
++++ bindings/python/setup.py	2016-04-15 13:53:34.000000000 -0700
+@@ -32,8 +32,7 @@
  
  def arch():
  	if platform.system() != 'Darwin': return []
@@ -10,7 +10,7 @@
  	return ['-arch', a]
  
  def target_specific():
-@@ -32,7 +31,7 @@
+@@ -43,7 +42,7 @@
  	# on mavericks, clang will fail when unknown arguments are
  	# passed in. python distutils will pass in arguments it doesn't
  	# know about
@@ -19,14 +19,14 @@
  
  try:
  	with open('compile_flags') as _file:
-@@ -102,8 +101,8 @@
- 		language='c++',
- 		include_dirs = parse_cmd(extra_cmd, '-I'),
- 		library_dirs = parse_cmd(extra_cmd, '-L'),
--		extra_link_args = ldflags.split() + arch(),
--		extra_compile_args = parse_cmd(extra_cmd, '-D', True) + arch() \
-+		extra_link_args = ldflags.split(),
-+		extra_compile_args = parse_cmd(extra_cmd, '-D', True) \
- 			+ target_specific(),
- 		libraries = ['torrent-rasterbar'] + parse_cmd(extra_cmd, '-l'))]
+@@ -119,8 +118,8 @@
+ 			language='c++',
+ 			include_dirs = flags.include_dirs,
+ 			library_dirs = flags.library_dirs,
+-			extra_link_args = extra_link + arch(),
+-			extra_compile_args = extra_compile + arch() + target_specific(),
++			extra_link_args = extra_link,
++			extra_compile_args = extra_compile + target_specific(),
+ 			libraries = ['torrent-rasterbar'] + flags.libraries)]
  
+ setup(name = 'python-libtorrent',

Modified: trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff	2016-04-15 20:40:45 UTC (rev 147777)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff	2016-04-15 21:33:49 UTC (rev 147778)
@@ -1,6 +1,6 @@
---- configure.ac.orig	2015-08-05 07:23:15.000000000 -0700
-+++ configure.ac	2015-08-05 07:25:43.000000000 -0700
-@@ -558,6 +558,16 @@
+--- configure.ac.orig	2016-04-10 17:46:51.000000000 -0700
++++ configure.ac	2016-04-15 13:47:13.000000000 -0700
+@@ -477,6 +477,16 @@
        AC_MSG_RESULT([yes])
  
        AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.]))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160415/e9f34f37/attachment.html>


More information about the macports-changes mailing list