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: Sun Mar 14 08:23:15 UTC 2021
Modified Files:
pkgsrc/devel/py-yapf: ALTERNATIVES Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-yapf/ALTERNATIVES \
pkgsrc/devel/py-yapf/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-yapf/PLIST
cvs rdiff -u -r1.1 -r1.2 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/ALTERNATIVES
diff -u pkgsrc/devel/py-yapf/ALTERNATIVES:1.2 pkgsrc/devel/py-yapf/ALTERNATIVES:1.3
--- pkgsrc/devel/py-yapf/ALTERNATIVES:1.2 Mon May 18 08:36:30 2020
+++ pkgsrc/devel/py-yapf/ALTERNATIVES Sun Mar 14 08:23:15 2021
@@ -1 +1,2 @@
bin/yapf @PREFIX@/bin/yapf-@PYVERSSUFFIX@
+bin/yapf-diff @PREFIX@/bin/yapf-diff-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-yapf/Makefile
diff -u pkgsrc/devel/py-yapf/Makefile:1.2 pkgsrc/devel/py-yapf/Makefile:1.3
--- pkgsrc/devel/py-yapf/Makefile:1.2 Mon May 18 08:36:30 2020
+++ pkgsrc/devel/py-yapf/Makefile Sun Mar 14 08:23:15 2021
@@ -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 @@ LICENSE= apache-2.0
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"
Index: pkgsrc/devel/py-yapf/PLIST
diff -u pkgsrc/devel/py-yapf/PLIST:1.3 pkgsrc/devel/py-yapf/PLIST:1.4
--- pkgsrc/devel/py-yapf/PLIST:1.3 Mon May 18 08:42:49 2020
+++ pkgsrc/devel/py-yapf/PLIST Sun Mar 14 08:23:15 2021
@@ -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
Index: pkgsrc/devel/py-yapf/distinfo
diff -u pkgsrc/devel/py-yapf/distinfo:1.1 pkgsrc/devel/py-yapf/distinfo:1.2
--- pkgsrc/devel/py-yapf/distinfo:1.1 Mon May 18 08:16:24 2020
+++ pkgsrc/devel/py-yapf/distinfo Sun Mar 14 08:23:15 2021
@@ -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