summaryrefslogtreecommitdiff
path: root/net/py-msrplib
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-msrplib')
-rw-r--r--net/py-msrplib/Makefile18
-rw-r--r--net/py-msrplib/distinfo5
-rw-r--r--net/py-msrplib/files/patch-connect.py50
-rw-r--r--net/py-msrplib/files/patch-session.py11
4 files changed, 11 insertions, 73 deletions
diff --git a/net/py-msrplib/Makefile b/net/py-msrplib/Makefile
index 059caa70bc6b..dee2f10004db 100644
--- a/net/py-msrplib/Makefile
+++ b/net/py-msrplib/Makefile
@@ -2,24 +2,22 @@
# $FreeBSD$
PORTNAME= msrplib
-PORTVERSION= 0.14.4
-PORTREVISION= 2
+PORTVERSION= 0.19.0
CATEGORIES= net python
-MASTER_SITES= http://download.ag-projects.com/SipClient/ \
- http://www.grosbein.net/python/
+MASTER_SITES= http://download.ag-projects.com/MSRP/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= python@FreeBSD.org
COMMENT= Python MSRP client library
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE= LGPL20+
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}application>=1.1.0:devel/py-application@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}eventlet>=0.9.15:net/py-eventlet@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}gnutls>=1.1.6:security/py-gnutls@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}application>=1.2.8:devel/py-application@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}eventlib>=0:devel/py-eventlib@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}gnutls>=3.0.0:security/py-gnutls@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${FLAVOR}
NO_ARCH= yes
USES= python
diff --git a/net/py-msrplib/distinfo b/net/py-msrplib/distinfo
index f41f2fa75e7b..0f39ee972bdb 100644
--- a/net/py-msrplib/distinfo
+++ b/net/py-msrplib/distinfo
@@ -1,2 +1,3 @@
-SHA256 (python-msrplib-0.14.4.tar.gz) = daac7f4ac1cc87ce2a66b74cdb498110dc10aa1d28e258c0035dd65f53be2fdc
-SIZE (python-msrplib-0.14.4.tar.gz) = 32974
+TIMESTAMP = 1503494170
+SHA256 (python-msrplib-0.19.0.tar.gz) = 2488c87469758f773d40acee905d50f6bf71c05702bc74a1ea87483b5a0fade4
+SIZE (python-msrplib-0.19.0.tar.gz) = 30377
diff --git a/net/py-msrplib/files/patch-connect.py b/net/py-msrplib/files/patch-connect.py
deleted file mode 100644
index 3eeebd33aa0a..000000000000
--- a/net/py-msrplib/files/patch-connect.py
+++ /dev/null
@@ -1,50 +0,0 @@
---- msrplib/connect.py.orig 2011-06-03 22:32:33.000000000 +0700
-+++ msrplib/connect.py 2011-07-16 22:36:33.000000000 +0700
-@@ -48,7 +48,7 @@
- from application.python import Null
- from application.system import host
- from eventlet.twistedutil.protocol import GreenClientCreator, SpawnFactory
--from eventlet import coros
-+from eventlet import coros, event
- from eventlet.api import timeout, sleep
- from eventlet.green.socket import gethostbyname
-
-@@ -238,7 +238,7 @@
- """
- if local_uri is None:
- local_uri = self.generate_local_uri()
-- self.transport_event = coros.event()
-+ self.transport_event = event.Event()
- local_uri.host = gethostbyname(local_uri.host)
- factory = SpawnFactory(self.transport_event, MSRPTransport, local_uri, logger=self.logger, use_sessmatch=self.use_sessmatch)
- self.listening_port = self._listen(local_uri, factory)
-@@ -357,17 +357,17 @@
- self.msrp = None
-
-
--class Notifier(coros.event):
-+class Notifier(event.Event):
-
- def wait(self):
- if self.ready():
- self.reset()
-- return coros.event.wait(self)
-+ return event.Event.wait(self)
-
- def send(self, value=None, exc=None):
- if self.ready():
- self.reset()
-- return coros.event.send(self, value, exc=exc)
-+ return event.Event.send(self, value, exc=exc)
-
-
- class MSRPServer(ConnectBase):
-@@ -473,7 +473,7 @@
- If no such binding was made within MSRPBindSessionTimeout.seconds, raise MSRPBindSessionTimeout.
- """
- full_remote_path = tuple(full_remote_path)
-- event = coros.event()
-+ event = event.Event()
- self.expected_remote_paths[full_remote_path] = event
- try:
- self.new_full_remote_path_notifier.send()
diff --git a/net/py-msrplib/files/patch-session.py b/net/py-msrplib/files/patch-session.py
deleted file mode 100644
index dcb9551c5297..000000000000
--- a/net/py-msrplib/files/patch-session.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- msrplib/session.py.orig 2011-07-16 22:38:18.000000000 +0700
-+++ msrplib/session.py 2011-07-16 22:38:31.000000000 +0700
-@@ -391,7 +391,7 @@
- If chunk's Failure-Report is 'no', return None immediately.
- """
- if chunk.failure_report!='no' and event is None:
-- event = coros.event()
-+ event = event.Event()
- self.send_chunk(chunk, event.send)
- if event is not None:
- response = event.wait()