pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-foolscap Update to 0.6.1, triggered by pending ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77287ce491f8
branches:  trunk
changeset: 584761:77287ce491f8
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Jan 29 15:46:58 2011 +0000

description:
Update to 0.6.1, triggered by pending tahoe-lafs 1.8.2 which will
require this.

* Release 0.6.1 (16-Jan-2011)

** Minor Fixes

The old "sets" module is no longer imported without wrapping the import in a
DeprecationWarning suppressor. We still import it from slicers.set for
compatibility with older code, but that import will not produce a warning.
This should make Foolscap quieter when used with Python 2.6 or later.

A new RemoteReference method named getDataLastReceivedAt() was added, which
will tell you when data was most recently received on the connection
supporting that reference. This can be compared against time.time() to see
how "live" the connection is. For performance reasons, this is only enabled
when keepalives are turned on, otherwise it returns None. (#169)

Some unreachable code was removed. (#165)


* Release 0.6.0 (28-Dec-2010)

** API Changes

*** "foolscap.api" now mandatory

The old import names from foolscap/__init__.py have been removed, finishing
the transition begun with 0.5.0 . Applications must now import Tub,
Referenceable, and so on from "foolscap.api". (#122)

** Compatibility Fixes

Foolscap-0.6.0 is compatible with Twisted-10.2 (released 29-Nov-2010). The
0.5.1 release was not: pb.Listener was depending upon the behavior of an
internal Twisted function that changed, causing an AttributeError in
"StreamServerEndpointService". This is fixed, but the code is still using an
undocumented internal attribute to handle port=0 which will need to be
replaced eventually. (#167)

The first unit test ("test__versions") spuriously failed against Twisted-10.1
and 10.2, mistakenly believing that 10.1 was older than 8.1.0 due to a
lexicographic comparison that should have been numeric.

** Other Changes

Incident filenames are now like "2008-08-22--16:20:28Z.flog" which are in UTC
and mostly ISO-8601 format (the real ISO-8601 would use "_" instead of "--").
This is also used for log-gatherer filenames. (#111)

The logging code now honors FLOGLEVEL= when using FLOGTOTWISTED=1; previously
FLOGLEVEL= was ignored when deciding which log events should be bridged to
the twisted logger. (#154)

Some minor packaging bugs were fixed.

diffstat:

 net/py-foolscap/Makefile |  8 ++++----
 net/py-foolscap/PLIST    |  5 +----
 net/py-foolscap/distinfo |  8 ++++----
 3 files changed, 9 insertions(+), 12 deletions(-)

diffs (56 lines):

diff -r 32d619734b38 -r 77287ce491f8 net/py-foolscap/Makefile
--- a/net/py-foolscap/Makefile  Sat Jan 29 15:00:44 2011 +0000
+++ b/net/py-foolscap/Makefile  Sat Jan 29 15:46:58 2011 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/07/23 21:45:52 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2011/01/29 15:46:58 gdt Exp $
 #
 
-DISTNAME=      foolscap-0.5.1.tar
-EGG_NAME=      foolscap-0.5.1
+DISTNAME=      foolscap-0.6.1.tar
+EGG_NAME=      foolscap-0.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/.tar//}
 CATEGORIES=    net python
 MASTER_SITES=  http://pypi.python.org/packages/source/f/foolscap/
@@ -19,7 +19,7 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-WRKSRC=                ${WRKDIR}/foolscap-0.5.1
+WRKSRC=                ${WRKDIR}/foolscap-0.6.1
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_ACCEPTED= 26
diff -r 32d619734b38 -r 77287ce491f8 net/py-foolscap/PLIST
--- a/net/py-foolscap/PLIST     Sat Jan 29 15:00:44 2011 +0000
+++ b/net/py-foolscap/PLIST     Sat Jan 29 15:46:58 2011 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/23 21:45:52 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2011/01/29 15:46:58 gdt Exp $
 bin/flappclient
 bin/flappserver
 bin/flogtool
@@ -52,9 +52,6 @@
 ${PYSITELIB}/foolscap/crypto.py
 ${PYSITELIB}/foolscap/crypto.pyc
 ${PYSITELIB}/foolscap/crypto.pyo
-${PYSITELIB}/foolscap/deprecated.py
-${PYSITELIB}/foolscap/deprecated.pyc
-${PYSITELIB}/foolscap/deprecated.pyo
 ${PYSITELIB}/foolscap/eventual.py
 ${PYSITELIB}/foolscap/eventual.pyc
 ${PYSITELIB}/foolscap/eventual.pyo
diff -r 32d619734b38 -r 77287ce491f8 net/py-foolscap/distinfo
--- a/net/py-foolscap/distinfo  Sat Jan 29 15:00:44 2011 +0000
+++ b/net/py-foolscap/distinfo  Sat Jan 29 15:46:58 2011 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/07/23 21:45:52 gdt Exp $
+$NetBSD: distinfo,v 1.2 2011/01/29 15:46:58 gdt Exp $
 
-SHA1 (foolscap-0.5.1.tar.gz) = 8e715426e5b65952867d14aabf75ffb982cf71ce
-RMD160 (foolscap-0.5.1.tar.gz) = 917cb0579046213147d7ad524dcf0d1e1af10e10
-Size (foolscap-0.5.1.tar.gz) = 485067 bytes
+SHA1 (foolscap-0.6.1.tar.gz) = bb1a9de492a007abbf9c355e07b3b79c4fa0319e
+RMD160 (foolscap-0.6.1.tar.gz) = 5b296e6f0e5500e5121c4c468663127a4def1673
+Size (foolscap-0.6.1.tar.gz) = 486798 bytes



Home | Main Index | Thread Index | Old Index