pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-wrapt py-wrapt: updated to 1.12.1

branches:  trunk
changeset: 413270:ce07875cd9c7
user:      adam <>
date:      Tue Mar 17 20:05:53 2020 +0000

py-wrapt: updated to 1.12.1

Version 1.12.1

Bugs Fixed

Applying a function wrapper to a static method of a class using the wrap_function_wrapper() function, or wrapper for the same, wasn't being done correctly when the static method was the immediate 
child of the target object. It was working when the name path had multiple name components. A failure would subsequently occur when the static method was called via an instance of the class, rather 
than the class.

Version 1.12.0

Features Changed

Provided that you only want to support Python 3.7, when deriving from a base class which has a decorator applied to it, you no longer need to access the true type of the base class using __wrapped__ 
in the inherited class list of the derived class.
Bugs Fixed

When using the synchronized decorator on instance methods of a class, if the class declared special methods to override the result for when the class instance was tested as a boolean so that it 
returned False all the time, the synchronized method would fail when called.
When using an adapter function to change the signature of the decorated function, inspect.signature() was returning the wrong signature when an instance method was inspected by accessing the method 
via the class type.


 devel/py-wrapt/Makefile |   4 ++--
 devel/py-wrapt/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 9fbd4fb61a17 -r ce07875cd9c7 devel/py-wrapt/Makefile
--- a/devel/py-wrapt/Makefile   Tue Mar 17 20:02:47 2020 +0000
+++ b/devel/py-wrapt/Makefile   Tue Mar 17 20:05:53 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2019/06/18 08:00:34 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/03/17 20:05:53 adam Exp $
-DISTNAME=      wrapt-1.11.2
+DISTNAME=      wrapt-1.12.1
 CATEGORIES=    devel python
diff -r 9fbd4fb61a17 -r ce07875cd9c7 devel/py-wrapt/distinfo
--- a/devel/py-wrapt/distinfo   Tue Mar 17 20:02:47 2020 +0000
+++ b/devel/py-wrapt/distinfo   Tue Mar 17 20:05:53 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2019/06/18 08:00:34 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/03/17 20:05:53 adam Exp $
-SHA1 (wrapt-1.11.2.tar.gz) = 50e81f0e1053b40300addfa0382aa075efaab620
-RMD160 (wrapt-1.11.2.tar.gz) = 3842fa4627a5115db35261d613402c4667d4085e
-SHA512 (wrapt-1.11.2.tar.gz) = 4aed5beacf099cb50d1c562fe2193f79af7b7693e2d5d5aacea6594029e9987c9f0bb000dc404be810f1b16de6e8b641dcd631d46f8c9f9b3c94c67859fb5079
-Size (wrapt-1.11.2.tar.gz) = 27308 bytes
+SHA1 (wrapt-1.12.1.tar.gz) = 6c18d34144c6faba208509b8091d35acc9842081
+RMD160 (wrapt-1.12.1.tar.gz) = 3a7943cc5072f8e341badac12000e489b7a42fbb
+SHA512 (wrapt-1.12.1.tar.gz) = efc38c0adc4fcaa34499a996ea4a337a000a812254ec7ddaca38f0132020dd31afa9fe6bab3e6010df312282ab0ea7bd571b54215d8d27e0b97b270c08cf5a62
+Size (wrapt-1.12.1.tar.gz) = 27488 bytes

Home | Main Index | Thread Index | Old Index