pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-yapf



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Apr 21 09:26:30 UTC 2023

Modified Files:
        pkgsrc/devel/py-yapf: Makefile PLIST distinfo

Log Message:
py-yapf: updated to 0.33.0

0.33.0
Added
- Add a new Python parser to generate logical lines.
- Added support for `# fmt: on` and `# fmt: off` pragmas.
Changes
- Moved 'pytree' parsing tools into its own subdirectory.
- Add support for Python 3.10.
- Format generated dicts with respect to same rules as regular dicts
- Generalized the ending comma heuristic to subscripts.
- Supports "pyproject.toml" by default.
Fixed
- Split line before all comparison operators.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-yapf/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-yapf/PLIST \
    pkgsrc/devel/py-yapf/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-yapf/Makefile
diff -u pkgsrc/devel/py-yapf/Makefile:1.6 pkgsrc/devel/py-yapf/Makefile:1.7
--- pkgsrc/devel/py-yapf/Makefile:1.6   Wed Jan  5 15:41:09 2022
+++ pkgsrc/devel/py-yapf/Makefile       Fri Apr 21 09:26:30 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:09 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2023/04/21 09:26:30 adam Exp $
 
-DISTNAME=      yapf-0.32.0
+DISTNAME=      yapf-0.33.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=y/yapf/}
 
@@ -11,6 +10,8 @@ HOMEPAGE=     https://github.com/google/yapf
 COMMENT=       Python files formatter
 LICENSE=       apache-2.0
 
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=2.0.1:../../textproc/py-tomli
+
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes

Index: pkgsrc/devel/py-yapf/PLIST
diff -u pkgsrc/devel/py-yapf/PLIST:1.5 pkgsrc/devel/py-yapf/PLIST:1.6
--- pkgsrc/devel/py-yapf/PLIST:1.5      Fri Dec 31 12:21:55 2021
+++ pkgsrc/devel/py-yapf/PLIST  Fri Apr 21 09:26:30 2023
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.5 2021/12/31 12:21:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/04/21 09:26:30 adam Exp $
 bin/yapf-${PYVERSSUFFIX}
 bin/yapf-diff-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/yapf/__init__.py
 ${PYSITELIB}/yapf/__init__.pyc
@@ -12,6 +13,45 @@ ${PYSITELIB}/yapf/__init__.pyo
 ${PYSITELIB}/yapf/__main__.py
 ${PYSITELIB}/yapf/__main__.pyc
 ${PYSITELIB}/yapf/__main__.pyo
+${PYSITELIB}/yapf/pyparser/__init__.py
+${PYSITELIB}/yapf/pyparser/__init__.pyc
+${PYSITELIB}/yapf/pyparser/__init__.pyo
+${PYSITELIB}/yapf/pyparser/pyparser.py
+${PYSITELIB}/yapf/pyparser/pyparser.pyc
+${PYSITELIB}/yapf/pyparser/pyparser.pyo
+${PYSITELIB}/yapf/pyparser/pyparser_utils.py
+${PYSITELIB}/yapf/pyparser/pyparser_utils.pyc
+${PYSITELIB}/yapf/pyparser/pyparser_utils.pyo
+${PYSITELIB}/yapf/pyparser/split_penalty_visitor.py
+${PYSITELIB}/yapf/pyparser/split_penalty_visitor.pyc
+${PYSITELIB}/yapf/pyparser/split_penalty_visitor.pyo
+${PYSITELIB}/yapf/pytree/__init__.py
+${PYSITELIB}/yapf/pytree/__init__.pyc
+${PYSITELIB}/yapf/pytree/__init__.pyo
+${PYSITELIB}/yapf/pytree/blank_line_calculator.py
+${PYSITELIB}/yapf/pytree/blank_line_calculator.pyc
+${PYSITELIB}/yapf/pytree/blank_line_calculator.pyo
+${PYSITELIB}/yapf/pytree/comment_splicer.py
+${PYSITELIB}/yapf/pytree/comment_splicer.pyc
+${PYSITELIB}/yapf/pytree/comment_splicer.pyo
+${PYSITELIB}/yapf/pytree/continuation_splicer.py
+${PYSITELIB}/yapf/pytree/continuation_splicer.pyc
+${PYSITELIB}/yapf/pytree/continuation_splicer.pyo
+${PYSITELIB}/yapf/pytree/pytree_unwrapper.py
+${PYSITELIB}/yapf/pytree/pytree_unwrapper.pyc
+${PYSITELIB}/yapf/pytree/pytree_unwrapper.pyo
+${PYSITELIB}/yapf/pytree/pytree_utils.py
+${PYSITELIB}/yapf/pytree/pytree_utils.pyc
+${PYSITELIB}/yapf/pytree/pytree_utils.pyo
+${PYSITELIB}/yapf/pytree/pytree_visitor.py
+${PYSITELIB}/yapf/pytree/pytree_visitor.pyc
+${PYSITELIB}/yapf/pytree/pytree_visitor.pyo
+${PYSITELIB}/yapf/pytree/split_penalty.py
+${PYSITELIB}/yapf/pytree/split_penalty.pyc
+${PYSITELIB}/yapf/pytree/split_penalty.pyo
+${PYSITELIB}/yapf/pytree/subtype_assigner.py
+${PYSITELIB}/yapf/pytree/subtype_assigner.pyc
+${PYSITELIB}/yapf/pytree/subtype_assigner.pyo
 ${PYSITELIB}/yapf/third_party/__init__.py
 ${PYSITELIB}/yapf/third_party/__init__.pyc
 ${PYSITELIB}/yapf/third_party/__init__.pyo
@@ -24,15 +64,6 @@ ${PYSITELIB}/yapf/third_party/yapf_diff/
 ${PYSITELIB}/yapf/yapflib/__init__.py
 ${PYSITELIB}/yapf/yapflib/__init__.pyc
 ${PYSITELIB}/yapf/yapflib/__init__.pyo
-${PYSITELIB}/yapf/yapflib/blank_line_calculator.py
-${PYSITELIB}/yapf/yapflib/blank_line_calculator.pyc
-${PYSITELIB}/yapf/yapflib/blank_line_calculator.pyo
-${PYSITELIB}/yapf/yapflib/comment_splicer.py
-${PYSITELIB}/yapf/yapflib/comment_splicer.pyc
-${PYSITELIB}/yapf/yapflib/comment_splicer.pyo
-${PYSITELIB}/yapf/yapflib/continuation_splicer.py
-${PYSITELIB}/yapf/yapflib/continuation_splicer.pyc
-${PYSITELIB}/yapf/yapflib/continuation_splicer.pyo
 ${PYSITELIB}/yapf/yapflib/errors.py
 ${PYSITELIB}/yapf/yapflib/errors.pyc
 ${PYSITELIB}/yapf/yapflib/errors.pyo
@@ -60,15 +91,6 @@ ${PYSITELIB}/yapf/yapflib/object_state.p
 ${PYSITELIB}/yapf/yapflib/py3compat.py
 ${PYSITELIB}/yapf/yapflib/py3compat.pyc
 ${PYSITELIB}/yapf/yapflib/py3compat.pyo
-${PYSITELIB}/yapf/yapflib/pytree_unwrapper.py
-${PYSITELIB}/yapf/yapflib/pytree_unwrapper.pyc
-${PYSITELIB}/yapf/yapflib/pytree_unwrapper.pyo
-${PYSITELIB}/yapf/yapflib/pytree_utils.py
-${PYSITELIB}/yapf/yapflib/pytree_utils.pyc
-${PYSITELIB}/yapf/yapflib/pytree_utils.pyo
-${PYSITELIB}/yapf/yapflib/pytree_visitor.py
-${PYSITELIB}/yapf/yapflib/pytree_visitor.pyc
-${PYSITELIB}/yapf/yapflib/pytree_visitor.pyo
 ${PYSITELIB}/yapf/yapflib/reformatter.py
 ${PYSITELIB}/yapf/yapflib/reformatter.pyc
 ${PYSITELIB}/yapf/yapflib/reformatter.pyo
@@ -78,9 +100,6 @@ ${PYSITELIB}/yapf/yapflib/split_penalty.
 ${PYSITELIB}/yapf/yapflib/style.py
 ${PYSITELIB}/yapf/yapflib/style.pyc
 ${PYSITELIB}/yapf/yapflib/style.pyo
-${PYSITELIB}/yapf/yapflib/subtype_assigner.py
-${PYSITELIB}/yapf/yapflib/subtype_assigner.pyc
-${PYSITELIB}/yapf/yapflib/subtype_assigner.pyo
 ${PYSITELIB}/yapf/yapflib/subtypes.py
 ${PYSITELIB}/yapf/yapflib/subtypes.pyc
 ${PYSITELIB}/yapf/yapflib/subtypes.pyo
Index: pkgsrc/devel/py-yapf/distinfo
diff -u pkgsrc/devel/py-yapf/distinfo:1.5 pkgsrc/devel/py-yapf/distinfo:1.6
--- pkgsrc/devel/py-yapf/distinfo:1.5   Fri Dec 31 12:21:55 2021
+++ pkgsrc/devel/py-yapf/distinfo       Fri Apr 21 09:26:30 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/12/31 12:21:55 adam Exp $
+$NetBSD: distinfo,v 1.6 2023/04/21 09:26:30 adam Exp $
 
-BLAKE2s (yapf-0.32.0.tar.gz) = 39c624e12ee5d3c7fcf236183635bb7639a1c72359825a4e1b5db68192b65e94
-SHA512 (yapf-0.32.0.tar.gz) = e9f295e6f5d626203796e0b6d798ce206f0944c20984f818490e12dcde5b75ad2ce79917b0990432c07a8b4948f51482f9467396328737016b32b4aa6d340013
-Size (yapf-0.32.0.tar.gz) = 194820 bytes
+BLAKE2s (yapf-0.33.0.tar.gz) = 4bb7e2371b729b7e4c8d6e3a45a65f77be71bb8a6ba8bed502964920d4652431
+SHA512 (yapf-0.33.0.tar.gz) = 9cbb89e35580db0506fd4b8b1f7c0f35d5671a889f7344dc8c58b153b6b4568a267fd43abf142e6a2917a8e70dda0f0f8ba8980a0f7221b09fe28ca6383a0862
+Size (yapf-0.33.0.tar.gz) = 203773 bytes



Home | Main Index | Thread Index | Old Index