pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-yapf py-yapf: updated to 0.31.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/c3a812861c70
branches: trunk
changeset: 448753:c3a812861c70
user: adam <adam%pkgsrc.org@localhost>
date: Sun Mar 14 08:23:15 2021 +0000
description:
py-yapf: updated to 0.31.0
0.31.0:
Added
- Renamed 'master' brannch to 'main'.
- Add 'BLANK_LINES_BETWEEN_TOP_LEVEL_IMPORTS_AND_VARIABLES' to support setting
a custom number of blank lines between top-level imports and variable
definitions.
- Ignore end of line `# copybara:` directives when checking line length.
- Look at the 'pyproject.toml' file to see if it contains style information for
YAPF.
Changed
- Do not scan exlcuded directories. Prior versions would scan an exluded
folder then exclude its contents on a file by file basis. Preventing the
folder being scanned is faster.
Fixed
- Exclude directories on Windows.
diffstat:
devel/py-yapf/ALTERNATIVES | 1 +
devel/py-yapf/Makefile | 9 ++++++---
devel/py-yapf/PLIST | 3 ++-
devel/py-yapf/distinfo | 10 +++++-----
4 files changed, 14 insertions(+), 9 deletions(-)
diffs (56 lines):
diff -r 018e37fda1fc -r c3a812861c70 devel/py-yapf/ALTERNATIVES
--- a/devel/py-yapf/ALTERNATIVES Sun Mar 14 08:19:24 2021 +0000
+++ b/devel/py-yapf/ALTERNATIVES Sun Mar 14 08:23:15 2021 +0000
@@ -1,1 +1,2 @@
bin/yapf @PREFIX@/bin/yapf-@PYVERSSUFFIX@
+bin/yapf-diff @PREFIX@/bin/yapf-diff-@PYVERSSUFFIX@
diff -r 018e37fda1fc -r c3a812861c70 devel/py-yapf/Makefile
--- a/devel/py-yapf/Makefile Sun Mar 14 08:19:24 2021 +0000
+++ b/devel/py-yapf/Makefile Sun Mar 14 08:23:15 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/05/18 08:36:30 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/03/14 08:23:15 adam Exp $
-DISTNAME= yapf-0.30.0
+DISTNAME= yapf-0.31.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yapf/}
@@ -13,7 +13,10 @@
USE_LANGUAGES= # none
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/yapf ${DESTDIR}${PREFIX}/bin/yapf-${PYVERSSUFFIX}
+.for bin in yapf yapf-diff
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 018e37fda1fc -r c3a812861c70 devel/py-yapf/PLIST
--- a/devel/py-yapf/PLIST Sun Mar 14 08:19:24 2021 +0000
+++ b/devel/py-yapf/PLIST Sun Mar 14 08:23:15 2021 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2020/05/18 08:42:49 leot Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/03/14 08:23:15 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
diff -r 018e37fda1fc -r c3a812861c70 devel/py-yapf/distinfo
--- a/devel/py-yapf/distinfo Sun Mar 14 08:19:24 2021 +0000
+++ b/devel/py-yapf/distinfo Sun Mar 14 08:23:15 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/05/18 08:16:24 wiz Exp $
+$NetBSD: distinfo,v 1.2 2021/03/14 08:23:15 adam Exp $
-SHA1 (yapf-0.30.0.tar.gz) = 64c4e4125e82c328e9feecfe28d8798da88859c4
-RMD160 (yapf-0.30.0.tar.gz) = 659c90348056ad943b1eb7a56743ec1be493c942
-SHA512 (yapf-0.30.0.tar.gz) = 47070ccbae54d482499c5fcf594be09f47e64540141dac6fb7c4d8e0e596dc9d050a127a62d1a0468cc10fff8626bfe3c12a0f42794b817fade9463d1a1d6ab3
-Size (yapf-0.30.0.tar.gz) = 187854 bytes
+SHA1 (yapf-0.31.0.tar.gz) = 2fe580db90c3a8e36e5f672f10a633333cb38035
+RMD160 (yapf-0.31.0.tar.gz) = 4134caceac2393e7858958282c160dc50b378029
+SHA512 (yapf-0.31.0.tar.gz) = 7583e2ef8e943d4659962d1201c5a91d9e14e6669cc031c882c0f15ab1355434a0a4edb323483e74fcc0ae740b3cf34eb66f5d5ba7cefe92637cfe9e9b6f1cfd
+Size (yapf-0.31.0.tar.gz) = 192584 bytes
Home |
Main Index |
Thread Index |
Old Index