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 Dec 31 12:21:55 UTC 2021
Modified Files:
pkgsrc/devel/py-yapf: Makefile PLIST distinfo
Log Message:
py-yapf: updated to 0.32.0
0.32.0
Added
- Look at the 'pyproject.toml' file to see if it contains ignore file information
for YAPF.
- New entry point `yapf_api.FormatTree` for formatting lib2to3 concrete
syntax trees.
- Add CI via GitHub Actions.
Changes
- Change tests to support "pytest".
- Reformat so that "flake8" is happy.
- Use GitHub Actions instead of Travis for CI.
- Clean up the FormatToken interface to limit how much it relies upon the
pytree node object.
- Rename "unwrapped_line" module to "logical_line."
- Rename "UnwrappedLine" class to "LogicalLine."
Fixed
- Enable `BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF` knob for "pep8" style, so
method definitions inside a class are surrounded by a single blank line as
prescribed by PEP8.
- Fixed the '...' token to be spaced after a colon.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-yapf/Makefile
cvs rdiff -u -r1.4 -r1.5 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.3 pkgsrc/devel/py-yapf/Makefile:1.4
--- pkgsrc/devel/py-yapf/Makefile:1.3 Sun Mar 14 08:23:15 2021
+++ pkgsrc/devel/py-yapf/Makefile Fri Dec 31 12:21:55 2021
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.3 2021/03/14 08:23:15 adam Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/31 12:21:55 adam Exp $
-DISTNAME= yapf-0.31.0
+DISTNAME= yapf-0.32.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel textproc
+CATEGORIES= devel textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yapf/}
MAINTAINER= nils%NetBSD.org@localhost
-HOMEPAGE= https://github.com/google/yapf/
+HOMEPAGE= https://github.com/google/yapf
COMMENT= Python files formatter
LICENSE= apache-2.0
Index: pkgsrc/devel/py-yapf/PLIST
diff -u pkgsrc/devel/py-yapf/PLIST:1.4 pkgsrc/devel/py-yapf/PLIST:1.5
--- pkgsrc/devel/py-yapf/PLIST:1.4 Sun Mar 14 08:23:15 2021
+++ pkgsrc/devel/py-yapf/PLIST Fri Dec 31 12:21:55 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/03/14 08:23:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/12/31 12:21:55 adam Exp $
bin/yapf-${PYVERSSUFFIX}
bin/yapf-diff-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -12,6 +12,15 @@ ${PYSITELIB}/yapf/__init__.pyo
${PYSITELIB}/yapf/__main__.py
${PYSITELIB}/yapf/__main__.pyc
${PYSITELIB}/yapf/__main__.pyo
+${PYSITELIB}/yapf/third_party/__init__.py
+${PYSITELIB}/yapf/third_party/__init__.pyc
+${PYSITELIB}/yapf/third_party/__init__.pyo
+${PYSITELIB}/yapf/third_party/yapf_diff/__init__.py
+${PYSITELIB}/yapf/third_party/yapf_diff/__init__.pyc
+${PYSITELIB}/yapf/third_party/yapf_diff/__init__.pyo
+${PYSITELIB}/yapf/third_party/yapf_diff/yapf_diff.py
+${PYSITELIB}/yapf/third_party/yapf_diff/yapf_diff.pyc
+${PYSITELIB}/yapf/third_party/yapf_diff/yapf_diff.pyo
${PYSITELIB}/yapf/yapflib/__init__.py
${PYSITELIB}/yapf/yapflib/__init__.pyc
${PYSITELIB}/yapf/yapflib/__init__.pyo
@@ -42,6 +51,9 @@ ${PYSITELIB}/yapf/yapflib/identify_conta
${PYSITELIB}/yapf/yapflib/line_joiner.py
${PYSITELIB}/yapf/yapflib/line_joiner.pyc
${PYSITELIB}/yapf/yapflib/line_joiner.pyo
+${PYSITELIB}/yapf/yapflib/logical_line.py
+${PYSITELIB}/yapf/yapflib/logical_line.pyc
+${PYSITELIB}/yapf/yapflib/logical_line.pyo
${PYSITELIB}/yapf/yapflib/object_state.py
${PYSITELIB}/yapf/yapflib/object_state.pyc
${PYSITELIB}/yapf/yapflib/object_state.pyo
@@ -69,9 +81,9 @@ ${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/unwrapped_line.py
-${PYSITELIB}/yapf/yapflib/unwrapped_line.pyc
-${PYSITELIB}/yapf/yapflib/unwrapped_line.pyo
+${PYSITELIB}/yapf/yapflib/subtypes.py
+${PYSITELIB}/yapf/yapflib/subtypes.pyc
+${PYSITELIB}/yapf/yapflib/subtypes.pyo
${PYSITELIB}/yapf/yapflib/verifier.py
${PYSITELIB}/yapf/yapflib/verifier.pyc
${PYSITELIB}/yapf/yapflib/verifier.pyo
@@ -99,6 +111,9 @@ ${PYSITELIB}/yapftests/format_token_test
${PYSITELIB}/yapftests/line_joiner_test.py
${PYSITELIB}/yapftests/line_joiner_test.pyc
${PYSITELIB}/yapftests/line_joiner_test.pyo
+${PYSITELIB}/yapftests/logical_line_test.py
+${PYSITELIB}/yapftests/logical_line_test.pyc
+${PYSITELIB}/yapftests/logical_line_test.pyo
${PYSITELIB}/yapftests/main_test.py
${PYSITELIB}/yapftests/main_test.pyc
${PYSITELIB}/yapftests/main_test.pyo
@@ -141,9 +156,6 @@ ${PYSITELIB}/yapftests/style_test.pyo
${PYSITELIB}/yapftests/subtype_assigner_test.py
${PYSITELIB}/yapftests/subtype_assigner_test.pyc
${PYSITELIB}/yapftests/subtype_assigner_test.pyo
-${PYSITELIB}/yapftests/unwrapped_line_test.py
-${PYSITELIB}/yapftests/unwrapped_line_test.pyc
-${PYSITELIB}/yapftests/unwrapped_line_test.pyo
${PYSITELIB}/yapftests/utils.py
${PYSITELIB}/yapftests/utils.pyc
${PYSITELIB}/yapftests/utils.pyo
Index: pkgsrc/devel/py-yapf/distinfo
diff -u pkgsrc/devel/py-yapf/distinfo:1.4 pkgsrc/devel/py-yapf/distinfo:1.5
--- pkgsrc/devel/py-yapf/distinfo:1.4 Tue Oct 26 10:19:17 2021
+++ pkgsrc/devel/py-yapf/distinfo Fri Dec 31 12:21:55 2021
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:19:17 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/12/31 12:21:55 adam Exp $
-BLAKE2s (yapf-0.31.0.tar.gz) = 0246c7ddba6abd0b1882945fbb04b5b5f0082f7b0634476bddc98b58e54ad092
-SHA512 (yapf-0.31.0.tar.gz) = 7583e2ef8e943d4659962d1201c5a91d9e14e6669cc031c882c0f15ab1355434a0a4edb323483e74fcc0ae740b3cf34eb66f5d5ba7cefe92637cfe9e9b6f1cfd
-Size (yapf-0.31.0.tar.gz) = 192584 bytes
+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
Home |
Main Index |
Thread Index |
Old Index