pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-decorator



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 29 07:29:24 UTC 2023

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

Log Message:
py-decorator: updated to 5.1.1

5.1.1 (2022-01-07)

Sangwoo Shim contributed a fix so that cythonized functions can be decorated.
Brian McFee pointed out an issue in the `decorator_apply` example and
Wim Glenn pointed out that the "fix" in version 5.1 broke
`decorator.contextmanager` even more. Both issues are now solved.

5.1.0 (2021-09-11)

Added a function `decoratorx` using the `FunctionMaker` and thus
preserving the signature of `__code__` objects. Then fixed three small bugs:
- Sphinx was printing a few warnings when building the documentation, as
 signaled by Tomasz Kłoczko
- functions decorated with `decorator.contextmanager` were one-shot,
 as discovered by Alex Pizarro.
- `decorator.decorator` was not passing the kwsyntax argument.

5.0.9 (2021-05-16)

Fixed a test breaking PyPy. Restored support for Sphinx.

5.0.8 (2021-05-15)

Made the decorator module more robust when decorating builtin functions
lacking dunder attributes, like `dict.__setitem__`.

5.0.7 (2021-04-14)

The decorator module was not passing correctly the defaults inside the
`*args` tuple, thanks to Dan Shult for the fix. Also fixed some mispellings
in the documentation and integrated codespell in the CI, thanks to
Christian Clauss.

5.0.6 (2021-04-08)

The decorator module was not copying the __module__ attribute anymore.
Thanks to Nikolay Markov for the notice.

5.0.5 (2021-04-04)

Dropped support for Python < 3.5 with a substantial simplification of
the code base (now building a decorator does not require calling "exec").
Added a way to mimic functools.wraps-generated decorators.
Ported the Continuous Integration from Travis to GitHub.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-decorator/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-decorator/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-decorator/Makefile
diff -u pkgsrc/devel/py-decorator/Makefile:1.20 pkgsrc/devel/py-decorator/Makefile:1.21
--- pkgsrc/devel/py-decorator/Makefile:1.20     Tue Jan  4 20:53:00 2022
+++ pkgsrc/devel/py-decorator/Makefile  Tue Aug 29 07:29:24 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2022/01/04 20:53:00 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2023/08/29 07:29:24 adam Exp $
 
-DISTNAME=      decorator-4.4.2
+DISTNAME=      decorator-5.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/decorator/}
 
@@ -13,5 +12,7 @@ LICENSE=      2-clause-bsd
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-decorator/distinfo
diff -u pkgsrc/devel/py-decorator/distinfo:1.18 pkgsrc/devel/py-decorator/distinfo:1.19
--- pkgsrc/devel/py-decorator/distinfo:1.18     Tue Oct 26 10:18:22 2021
+++ pkgsrc/devel/py-decorator/distinfo  Tue Aug 29 07:29:24 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:18:22 nia Exp $
+$NetBSD: distinfo,v 1.19 2023/08/29 07:29:24 adam Exp $
 
-BLAKE2s (decorator-4.4.2.tar.gz) = 657e07bf4dd5decc51101b0eac77a76c7d278f85254f89311e28585fab8c62df
-SHA512 (decorator-4.4.2.tar.gz) = c068efd4e70764ac447b772c9c29625c2180dad256b2b4e46a50a8479fc1d7de09b114c2ba11bb37dd58774ed9460d2e0ea9fa76061833a2d3c2676ac91a0db1
-Size (decorator-4.4.2.tar.gz) = 33629 bytes
+BLAKE2s (decorator-5.1.1.tar.gz) = 74062f095310a8eb327d030cc63194407c048b9177de2e531469e2b1441960f2
+SHA512 (decorator-5.1.1.tar.gz) = 584857ffb0c3e52344b473ceb9e28adfd7d789d480a528471f8ab37be055ebe5feb170f41077010e25350e1c311189d45b90773cf12f0043de98ea8ebcde20ab
+Size (decorator-5.1.1.tar.gz) = 35016 bytes



Home | Main Index | Thread Index | Old Index