pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-wrapt



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Mar 17 20:05:53 UTC 2020

Modified Files:
        pkgsrc/devel/py-wrapt: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-wrapt/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-wrapt/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-wrapt/Makefile
diff -u pkgsrc/devel/py-wrapt/Makefile:1.7 pkgsrc/devel/py-wrapt/Makefile:1.8
--- pkgsrc/devel/py-wrapt/Makefile:1.7  Tue Jun 18 08:00:34 2019
+++ pkgsrc/devel/py-wrapt/Makefile      Tue Mar 17 20:05:53 2020
@@ -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
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/wrapt/}

Index: pkgsrc/devel/py-wrapt/distinfo
diff -u pkgsrc/devel/py-wrapt/distinfo:1.5 pkgsrc/devel/py-wrapt/distinfo:1.6
--- pkgsrc/devel/py-wrapt/distinfo:1.5  Tue Jun 18 08:00:34 2019
+++ pkgsrc/devel/py-wrapt/distinfo      Tue Mar 17 20:05:53 2020
@@ -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