diff options
author | leot <leot@pkgsrc.org> | 2017-04-14 12:22:25 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2017-04-14 12:22:25 +0000 |
commit | c9f0c4f22b0cd82fbc6a99d490c064eabcecc290 (patch) | |
tree | e5c011821c13637dbafcf0565d4acb75d0ab07f8 /textproc | |
parent | bd6dac874568a354cdeaa1e1ffad145109869d9d (diff) | |
download | pkgsrc-c9f0c4f22b0cd82fbc6a99d490c064eabcecc290.tar.gz |
Import py-jsbeautifier-1.6.12 as textproc/py-jsbeautifier
Beautify, unpack or deobfuscate JavaScript. Handles popular online
obfuscators.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-jsbeautifier/ALTERNATIVES | 1 | ||||
-rw-r--r-- | textproc/py-jsbeautifier/DESCR | 2 | ||||
-rw-r--r-- | textproc/py-jsbeautifier/Makefile | 22 | ||||
-rw-r--r-- | textproc/py-jsbeautifier/PLIST | 61 | ||||
-rw-r--r-- | textproc/py-jsbeautifier/distinfo | 6 |
5 files changed, 92 insertions, 0 deletions
diff --git a/textproc/py-jsbeautifier/ALTERNATIVES b/textproc/py-jsbeautifier/ALTERNATIVES new file mode 100644 index 00000000000..1ef5ed64a57 --- /dev/null +++ b/textproc/py-jsbeautifier/ALTERNATIVES @@ -0,0 +1 @@ +bin/js-beautify @PREFIX@/bin/js-beautify-@PYVERSSUFFIX@ diff --git a/textproc/py-jsbeautifier/DESCR b/textproc/py-jsbeautifier/DESCR new file mode 100644 index 00000000000..d1b502d8c8b --- /dev/null +++ b/textproc/py-jsbeautifier/DESCR @@ -0,0 +1,2 @@ +Beautify, unpack or deobfuscate JavaScript. Handles popular online +obfuscators. diff --git a/textproc/py-jsbeautifier/Makefile b/textproc/py-jsbeautifier/Makefile new file mode 100644 index 00000000000..f64a79404f4 --- /dev/null +++ b/textproc/py-jsbeautifier/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2017/04/14 12:22:25 leot Exp $ + +DISTNAME= jsbeautifier-1.6.12 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_PYPI:=j/jsbeautifier/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://jsbeautifier.org/ +COMMENT= JavaScript unobfuscator and beautifier +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-editorconfig-core>=0.12.0:../../devel/py-editorconfig-core +DEPENDS+= ${PYPKGPREFIX}-six>=1.6.1:../../lang/py-six + +USE_LANGUAGES= # none + +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/js-beautify ${DESTDIR}${PREFIX}/bin/js-beautify-${PYVERSSUFFIX} || ${TRUE} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-jsbeautifier/PLIST b/textproc/py-jsbeautifier/PLIST new file mode 100644 index 00000000000..48276d1b94e --- /dev/null +++ b/textproc/py-jsbeautifier/PLIST @@ -0,0 +1,61 @@ +@comment $NetBSD: PLIST,v 1.1 2017/04/14 12:22:25 leot Exp $ +bin/js-beautify-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/jsbeautifier/__init__.py +${PYSITELIB}/jsbeautifier/__init__.pyc +${PYSITELIB}/jsbeautifier/__init__.pyo +${PYSITELIB}/jsbeautifier/__version__.py +${PYSITELIB}/jsbeautifier/__version__.pyc +${PYSITELIB}/jsbeautifier/__version__.pyo +${PYSITELIB}/jsbeautifier/tests/__init__.py +${PYSITELIB}/jsbeautifier/tests/__init__.pyc +${PYSITELIB}/jsbeautifier/tests/__init__.pyo +${PYSITELIB}/jsbeautifier/tests/generated/__init__.py +${PYSITELIB}/jsbeautifier/tests/generated/__init__.pyc +${PYSITELIB}/jsbeautifier/tests/generated/__init__.pyo +${PYSITELIB}/jsbeautifier/tests/generated/tests.py +${PYSITELIB}/jsbeautifier/tests/generated/tests.pyc +${PYSITELIB}/jsbeautifier/tests/generated/tests.pyo +${PYSITELIB}/jsbeautifier/tests/test-perf-jsbeautifier.py +${PYSITELIB}/jsbeautifier/tests/test-perf-jsbeautifier.pyc +${PYSITELIB}/jsbeautifier/tests/test-perf-jsbeautifier.pyo +${PYSITELIB}/jsbeautifier/tests/testindentation.py +${PYSITELIB}/jsbeautifier/tests/testindentation.pyc +${PYSITELIB}/jsbeautifier/tests/testindentation.pyo +${PYSITELIB}/jsbeautifier/unpackers/__init__.py +${PYSITELIB}/jsbeautifier/unpackers/__init__.pyc +${PYSITELIB}/jsbeautifier/unpackers/__init__.pyo +${PYSITELIB}/jsbeautifier/unpackers/evalbased.py +${PYSITELIB}/jsbeautifier/unpackers/evalbased.pyc +${PYSITELIB}/jsbeautifier/unpackers/evalbased.pyo +${PYSITELIB}/jsbeautifier/unpackers/javascriptobfuscator.py +${PYSITELIB}/jsbeautifier/unpackers/javascriptobfuscator.pyc +${PYSITELIB}/jsbeautifier/unpackers/javascriptobfuscator.pyo +${PYSITELIB}/jsbeautifier/unpackers/myobfuscate.py +${PYSITELIB}/jsbeautifier/unpackers/myobfuscate.pyc +${PYSITELIB}/jsbeautifier/unpackers/myobfuscate.pyo +${PYSITELIB}/jsbeautifier/unpackers/packer.py +${PYSITELIB}/jsbeautifier/unpackers/packer.pyc +${PYSITELIB}/jsbeautifier/unpackers/packer.pyo +${PYSITELIB}/jsbeautifier/unpackers/tests/__init__.py +${PYSITELIB}/jsbeautifier/unpackers/tests/__init__.pyc +${PYSITELIB}/jsbeautifier/unpackers/tests/__init__.pyo +${PYSITELIB}/jsbeautifier/unpackers/tests/testjavascriptobfuscator.py +${PYSITELIB}/jsbeautifier/unpackers/tests/testjavascriptobfuscator.pyc +${PYSITELIB}/jsbeautifier/unpackers/tests/testjavascriptobfuscator.pyo +${PYSITELIB}/jsbeautifier/unpackers/tests/testmyobfuscate.py +${PYSITELIB}/jsbeautifier/unpackers/tests/testmyobfuscate.pyc +${PYSITELIB}/jsbeautifier/unpackers/tests/testmyobfuscate.pyo +${PYSITELIB}/jsbeautifier/unpackers/tests/testpacker.py +${PYSITELIB}/jsbeautifier/unpackers/tests/testpacker.pyc +${PYSITELIB}/jsbeautifier/unpackers/tests/testpacker.pyo +${PYSITELIB}/jsbeautifier/unpackers/tests/testurlencode.py +${PYSITELIB}/jsbeautifier/unpackers/tests/testurlencode.pyc +${PYSITELIB}/jsbeautifier/unpackers/tests/testurlencode.pyo +${PYSITELIB}/jsbeautifier/unpackers/urlencode.py +${PYSITELIB}/jsbeautifier/unpackers/urlencode.pyc +${PYSITELIB}/jsbeautifier/unpackers/urlencode.pyo diff --git a/textproc/py-jsbeautifier/distinfo b/textproc/py-jsbeautifier/distinfo new file mode 100644 index 00000000000..306a91c27a5 --- /dev/null +++ b/textproc/py-jsbeautifier/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/04/14 12:22:25 leot Exp $ + +SHA1 (jsbeautifier-1.6.12.tar.gz) = 61307c7de64f9cb5e2eed79585e5aeb606c85289 +RMD160 (jsbeautifier-1.6.12.tar.gz) = 46f2f79018fdc30e0b8bcea6728c1719bbad6e36 +SHA512 (jsbeautifier-1.6.12.tar.gz) = b9281dd807f11f4bc419e7bfb55652471393be39daa61f0b72ae607864952a8ae576832d757ac31847eb8364c7cc08ed0899c8911c3416775359de4522c28824 +Size (jsbeautifier-1.6.12.tar.gz) = 55636 bytes |