pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-jsbeautifier



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Mar  2 14:41:25 UTC 2019

Modified Files:
        pkgsrc/textproc/py-jsbeautifier: Makefile PLIST distinfo

Log Message:
py-jsbeautifier: updated to 1.9.0

v1.9.0:
Description
Fixed Tab indenting - when tabs indenting enabled, they are used universally. Also, tab size customizable: 8-space tabs would mean each tab is treated as 8 spaces.
Accurate line wrapping - Layout always wraps when line length exceed specified column, unless wrapping would not reduce line length.
Improved Template handling in HTML - Go, Django, Handlebars, ERB/EJS/ASP, PHP (still only handlebars indenting)
Improved Template handling in Javascript - ERB/EJS/ASP, PHP (no indenting, no Django or Handlebars due to potential syntax conflicts for curly braces)
Fixed indenting of mustache inverted conditionals
Fixed indenting for HTML tags with option end tags
https://github.com/beautify-web/js-beautify/compare/v1.8.9...v1.9.0

Closed Issues
Incorrect indentation of ^ inverted section tags in Handlebars/Mustache code
PHP In HTML Attributes
DeanEdward python unpacker offset problem
CLI on Windows doesn't accept -f - for stdin?
HTML type attribute breaks JavaScript beautification?
Use of global MODE before declaration caused uglify problem
When building html tags using Mustache variables, extra whitespace is added after opening arrow
<script type="text/html">isnot abled to be beautified
_get_full_indent undefined
Website "autodetect" setting doesn't distinguish css vs javascript
Add setting to keep HTML tag text content unformatted or ignore custom delimiters
HTML auto formatting using spaces instead of tabs
Unclosed single quote in php tag causes formatting changes which break php code
Using tabs when wrapping attributes and wrapping if needed
HTML --wrap-attributes doesn't respect --wrap-line-length
Bad indent level(HTML)
js-beautify produces invalid code for variables with Unicode escape sequences
support vuejs
Go templates in HTML
Better behavior for javascript --wrap-line-length


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-jsbeautifier/Makefile \
    pkgsrc/textproc/py-jsbeautifier/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-jsbeautifier/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jsbeautifier/Makefile
diff -u pkgsrc/textproc/py-jsbeautifier/Makefile:1.8 pkgsrc/textproc/py-jsbeautifier/Makefile:1.9
--- pkgsrc/textproc/py-jsbeautifier/Makefile:1.8        Thu Dec 13 19:56:55 2018
+++ pkgsrc/textproc/py-jsbeautifier/Makefile    Sat Mar  2 14:41:25 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2018/12/13 19:56:55 adam Exp $
+# $NetBSD: Makefile,v 1.9 2019/03/02 14:41:25 adam Exp $
 
-DISTNAME=      jsbeautifier-1.8.9
+DISTNAME=      jsbeautifier-1.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jsbeautifier/}
@@ -18,7 +18,7 @@ USE_LANGUAGES=        # none
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
-               ${MV} js-beautify js-beautify-${PYVERSSUFFIX} || ${TRUE}
+       ${MV} js-beautify js-beautify-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-jsbeautifier/distinfo
diff -u pkgsrc/textproc/py-jsbeautifier/distinfo:1.8 pkgsrc/textproc/py-jsbeautifier/distinfo:1.9
--- pkgsrc/textproc/py-jsbeautifier/distinfo:1.8        Thu Dec 13 19:56:55 2018
+++ pkgsrc/textproc/py-jsbeautifier/distinfo    Sat Mar  2 14:41:25 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/12/13 19:56:55 adam Exp $
+$NetBSD: distinfo,v 1.9 2019/03/02 14:41:25 adam Exp $
 
-SHA1 (jsbeautifier-1.8.9.tar.gz) = be747b2a0c0ad6ad63e6d1a3b615e7133e20b191
-RMD160 (jsbeautifier-1.8.9.tar.gz) = 63567bb4a4578aada33b94b5e6c44f0b9fffc7d2
-SHA512 (jsbeautifier-1.8.9.tar.gz) = cbc0942ae6465bde74f50b3649e5f46adbb4dae5b454e77eaa239b02d0b1c5f4c56303d6beb5417559080ed9c6d8247398635c2d96b1f2b764a0f7abd2e2cbdc
-Size (jsbeautifier-1.8.9.tar.gz) = 64780 bytes
+SHA1 (jsbeautifier-1.9.0.tar.gz) = 5bc90dc634f287594bd571a0ac70af8d97871f4e
+RMD160 (jsbeautifier-1.9.0.tar.gz) = f4f3db9deaa511b02594bf3bddbe6da4a5be82c4
+SHA512 (jsbeautifier-1.9.0.tar.gz) = 3d4bf32bb0e4ad631ab8aa2d5ab136fd545fb25359487c0c4139fa7862b1fe77922674d5b7dcccdcaf73216ab7add9f4cde7013eb4b537652c62f44fca484562
+Size (jsbeautifier-1.9.0.tar.gz) = 68018 bytes

Index: pkgsrc/textproc/py-jsbeautifier/PLIST
diff -u pkgsrc/textproc/py-jsbeautifier/PLIST:1.3 pkgsrc/textproc/py-jsbeautifier/PLIST:1.4
--- pkgsrc/textproc/py-jsbeautifier/PLIST:1.3   Wed Sep 12 10:25:23 2018
+++ pkgsrc/textproc/py-jsbeautifier/PLIST       Sat Mar  2 14:41:25 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/09/12 10:25:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/03/02 14:41:25 adam Exp $
 bin/js-beautify-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -27,6 +27,12 @@ ${PYSITELIB}/jsbeautifier/core/options.p
 ${PYSITELIB}/jsbeautifier/core/output.py
 ${PYSITELIB}/jsbeautifier/core/output.pyc
 ${PYSITELIB}/jsbeautifier/core/output.pyo
+${PYSITELIB}/jsbeautifier/core/pattern.py
+${PYSITELIB}/jsbeautifier/core/pattern.pyc
+${PYSITELIB}/jsbeautifier/core/pattern.pyo
+${PYSITELIB}/jsbeautifier/core/templatablepattern.py
+${PYSITELIB}/jsbeautifier/core/templatablepattern.pyc
+${PYSITELIB}/jsbeautifier/core/templatablepattern.pyo
 ${PYSITELIB}/jsbeautifier/core/token.py
 ${PYSITELIB}/jsbeautifier/core/token.pyc
 ${PYSITELIB}/jsbeautifier/core/token.pyo
@@ -36,6 +42,9 @@ ${PYSITELIB}/jsbeautifier/core/tokenizer
 ${PYSITELIB}/jsbeautifier/core/tokenstream.py
 ${PYSITELIB}/jsbeautifier/core/tokenstream.pyc
 ${PYSITELIB}/jsbeautifier/core/tokenstream.pyo
+${PYSITELIB}/jsbeautifier/core/whitespacepattern.py
+${PYSITELIB}/jsbeautifier/core/whitespacepattern.pyc
+${PYSITELIB}/jsbeautifier/core/whitespacepattern.pyo
 ${PYSITELIB}/jsbeautifier/javascript/__init__.py
 ${PYSITELIB}/jsbeautifier/javascript/__init__.pyc
 ${PYSITELIB}/jsbeautifier/javascript/__init__.pyo



Home | Main Index | Thread Index | Old Index