svn commit: r473258 - head/devel/google-styleguide
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 24 20:19:37 UTC 2018
Author: sunpoet
Date: Sun Jun 24 20:19:35 2018
New Revision: 473258
URL: https://svnweb.freebsd.org/changeset/ports/473258
Log:
Update to 20180620
- Update pkg-descr
- Take maintainership
Changes: https://github.com/google/styleguide/commits/gh-pages
Modified:
head/devel/google-styleguide/Makefile
head/devel/google-styleguide/distinfo
head/devel/google-styleguide/pkg-descr
head/devel/google-styleguide/pkg-plist
Modified: head/devel/google-styleguide/Makefile
==============================================================================
--- head/devel/google-styleguide/Makefile Sun Jun 24 20:19:22 2018 (r473257)
+++ head/devel/google-styleguide/Makefile Sun Jun 24 20:19:35 2018 (r473258)
@@ -2,16 +2,16 @@
# $FreeBSD$
PORTNAME= styleguide
-PORTVERSION= 20170630
+PORTVERSION= 20180620
CATEGORIES= devel
PKGNAMEPREFIX= google-
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Tool to assist with Google style guide compliance
-# cpplint.py and cpplint_unittest.py under BSD3CLAUSE
-# style guides under CC-BY-3.0
-# google-c-style.el under GPLv1+
+# cpplint.py and cpplint_unittest.py are released under BSD3CLAUSE
+# style guides is released under CC-BY-3.0
+# google-c-style.el is released under GPLv1+
LICENSE= BSD3CLAUSE CC-BY-3.0 GPLv1+
LICENSE_COMB= multi
@@ -19,7 +19,7 @@ USES= python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= google
-GH_TAGNAME= d75bd35
+GH_TAGNAME= ab48617
NO_ARCH= yes
NO_BUILD= yes
@@ -28,21 +28,14 @@ SHEBANG_FILES= cpplint/cpplint.py cpplint/cpplint_unit
OPTIONS_DEFINE= DOCS
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cpplint/cpplint.py ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/cpplint/cpplint_unittest.py ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/cpplint/cpplint.py ${WRKSRC}/cpplint/cpplint_unittest.py ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.xml ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/google_python_style.vim ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/google-c-style.el ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.xml ${WRKSRC}/google-c-style.el ${WRKSRC}/google_python_style.vim ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.css ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/cpplint
+ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/cpplint ${STAGEDIR}${DOCSDIR}/docguide
+ ${INSTALL_DATA} ${WRKSRC}/*.css ${WRKSRC}/*.html ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/cpplint/README ${STAGEDIR}${DOCSDIR}/cpplint
- ${MKDIR} ${STAGEDIR}${DOCSDIR}/docguide
(cd ${WRKSRC}/docguide && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docguide)
.include <bsd.port.mk>
Modified: head/devel/google-styleguide/distinfo
==============================================================================
--- head/devel/google-styleguide/distinfo Sun Jun 24 20:19:22 2018 (r473257)
+++ head/devel/google-styleguide/distinfo Sun Jun 24 20:19:35 2018 (r473258)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499059178
-SHA256 (google-styleguide-20170630-d75bd35_GH0.tar.gz) = cfc10b66a8676884a5bd3b8352fc3600a74ed89b0d0a33b3473da863d3e63ff7
-SIZE (google-styleguide-20170630-d75bd35_GH0.tar.gz) = 1015158
+TIMESTAMP = 1529704227
+SHA256 (google-styleguide-20180620-ab48617_GH0.tar.gz) = 0d755db419de0b089ca08b3d298d991b7365a5c06fb5867c7fccbe415e3d1c1c
+SIZE (google-styleguide-20180620-ab48617_GH0.tar.gz) = 1048500
Modified: head/devel/google-styleguide/pkg-descr
==============================================================================
--- head/devel/google-styleguide/pkg-descr Sun Jun 24 20:19:22 2018 (r473257)
+++ head/devel/google-styleguide/pkg-descr Sun Jun 24 20:19:35 2018 (r473258)
@@ -1,17 +1,14 @@
-This project contains coding style guides used at Google. There are style
-guides for AngularJS, C++, Common Lisp, HTML/CSS, Java, JavaScript, Objective-C,
-Python, R, Shell, and Vimscript. Also included is:
+This project holds the C++ Style Guide, Objective-C Style Guide, Java Style
+Guide, Python Style Guide, R Style Guide, Shell Style Guide, HTML/CSS Style
+Guide, JavaScript Style Guide, AngularJS Style Guide, Common Lisp Style Guide,
+and Vimscript Style Guide. This project also contains:
+- cpplint, a tool to assist with style guide compliance
+- google-c-style.el, an Emacs settings file for Google style
+- google_python_style.vim, a Vim settings to indent Python in the Google way
-- cpplint, an automated checker to make sure a C++ file follows Google's C++
- style guide
-- google-c-style.el, an Emacs minor mode to provide Google's C/C++ coding style
- within Emacs
-- google_python_style.vim, which indents Python code in the Google way when
- using Vim.
-
-If your project requires that you create a new XML document format, the included
-"XML Document Format Style Guide" may be helpful. In addition to actual style
-rules, it also contains advice on designing your own versus adapting an existing
-format, on XML instance document formatting, and on elements versus attributes.
+If your project requires that you create a new XML document format, the XML
+Document Format Style Guide may be helpful. In addition to actual style rules,
+it also contains advice on designing your own vs. adapting an existing format,
+on XML instance document formatting, and on elements vs. attributes.
WWW: https://github.com/google/styleguide
Modified: head/devel/google-styleguide/pkg-plist
==============================================================================
--- head/devel/google-styleguide/pkg-plist Sun Jun 24 20:19:22 2018 (r473257)
+++ head/devel/google-styleguide/pkg-plist Sun Jun 24 20:19:35 2018 (r473258)
@@ -16,7 +16,9 @@ bin/cpplint_unittest.py
%%PORTDOCS%%%%DOCSDIR%%/javaguide.html
%%PORTDOCS%%%%DOCSDIR%%/jsguide.html
%%PORTDOCS%%%%DOCSDIR%%/jsoncstyleguide.html
+%%PORTDOCS%%%%DOCSDIR%%/objcguide.md
%%PORTDOCS%%%%DOCSDIR%%/pyguide.html
+%%PORTDOCS%%%%DOCSDIR%%/pyguide.md
%%PORTDOCS%%%%DOCSDIR%%/styleguide.css
%%PORTDOCS%%%%DOCSDIR%%/xmlstyle.html
%%DATADIR%%/Rguide.xml
More information about the svn-ports-all
mailing list