pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-rope



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov  2 06:17:16 UTC 2021

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-rope/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-rope/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-rope/Makefile
diff -u pkgsrc/devel/py-rope/Makefile:1.23 pkgsrc/devel/py-rope/Makefile:1.24
--- pkgsrc/devel/py-rope/Makefile:1.23  Sun Sep 19 10:50:42 2021
+++ pkgsrc/devel/py-rope/Makefile       Tue Nov  2 06:17:16 2021
@@ -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/}

Index: pkgsrc/devel/py-rope/distinfo
diff -u pkgsrc/devel/py-rope/distinfo:1.15 pkgsrc/devel/py-rope/distinfo:1.16
--- pkgsrc/devel/py-rope/distinfo:1.15  Tue Oct 26 10:19:02 2021
+++ pkgsrc/devel/py-rope/distinfo       Tue Nov  2 06:17:16 2021
@@ -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



Home | Main Index | Thread Index | Old Index