diff options
author | adam <adam@pkgsrc.org> | 2021-11-02 06:17:16 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-11-02 06:17:16 +0000 |
commit | 66d5ac751be1cd634148cf1cb02c231c38e6ce88 (patch) | |
tree | 0f18c8aa1d326466458d7cce86897611b754d770 /devel | |
parent | ed83a0bc83e4503cac9e5df083c6c652d0db8301 (diff) | |
download | pkgsrc-66d5ac751be1cd634148cf1cb02c231c38e6ce88.tar.gz |
py-rope: updated to 0.21.0
Release 0.21.0
Syntax support
- Handle `global` keyword when extracting method
- context manager:
- Implement extract refactoring for code containing `async with`
- Fix parsing of nested `with` statement/context manager
- list/set/dict/generator comprehension scope issues:
- Added scopes for comprehension expressions
- Added support for checking scopes by offset
- Fix renaming global var affects list comprehension
- Reuse of variable in comprehensions confuses method extraction
- Fix error `TypeError: 'PyDefinedObject' object is not subscriptable`
- f-string:
- Fix inlining into f-string containing quote characters
- inline assignment/walrus operator:
- Fix `AttributeError: '_ExpressionVisitor' object has no attribute 'defineds'`
Bug fixes
- Fix improper replacement when extracting attribute access expression with `similar=True`
- Fix improper replacement when extracting index access expression with `similar=True`
New feature
- Move read() to FileSystemCommands
Misc
- Setup all-contributors bot
- Blacken source code, rope now follows black code style
- Add Github Actions to enforce black code style
- Remove plain 'unittest' only runner
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-rope/Makefile | 4 | ||||
-rw-r--r-- | devel/py-rope/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/py-rope/Makefile b/devel/py-rope/Makefile index cec5c6e9899..6d33e3e4215 100644 --- a/devel/py-rope/Makefile +++ b/devel/py-rope/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.23 2021/09/19 10:50:42 adam Exp $ +# $NetBSD: Makefile,v 1.24 2021/11/02 06:17:16 adam Exp $ -DISTNAME= rope-0.20.1 +DISTNAME= rope-0.21.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=r/rope/} diff --git a/devel/py-rope/distinfo b/devel/py-rope/distinfo index 25f4c9a6f7d..4ec02fe16ab 100644 --- a/devel/py-rope/distinfo +++ b/devel/py-rope/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.15 2021/10/26 10:19:02 nia Exp $ +$NetBSD: distinfo,v 1.16 2021/11/02 06:17:16 adam Exp $ -BLAKE2s (rope-0.20.1.tar.gz) = 53b3308bcde5354648f8dba4f102cfae5df8125c078b050e469173ba5787a651 -SHA512 (rope-0.20.1.tar.gz) = 328016e711a7d684fa316b3eb8ebc233bcdf579d2545d038dedc703be82e6d5b4a8af8a9fba96569c84b9cab4450a139013ec25ae16a082c699920ea9096ce7f -Size (rope-0.20.1.tar.gz) = 257811 bytes +BLAKE2s (rope-0.21.0.tar.gz) = f6a07992e0cb7ea29e6202a0d9b41e980455fc4c4e81646f757c527750737462 +SHA512 (rope-0.21.0.tar.gz) = b1b882087b235849b04beeb85c253eecdcc06e0d75ba54975db9c4e60e68178f7acb87a58a9a24dc942994cfbfc3662e05000d00965278697b0db412411b4c44 +Size (rope-0.21.0.tar.gz) = 256456 bytes |