diff --git a/programming/misc/acorn/actions.py b/programming/misc/acorn/actions.py new file mode 100644 index 0000000000..832f28d40d --- /dev/null +++ b/programming/misc/acorn/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def install(): + shelltools.system("npm install -g --prefix %s/usr" % get.installDIR()) + + # Make a copy that changes symlinks to hard copies + shelltools.system("rsync --archive --verbose --copy-links %s/usr/lib/node_modules/ %s/usr/lib/node_modules_cp/" % (get.installDIR(), get.installDIR())) + + # Remove and replace + pisitools.removeDir("/usr/lib/node_modules/") + shelltools.system("mv %s/usr/lib/node_modules_cp/ %s/usr/lib/node_modules/" % (get.installDIR(), get.installDIR())) + + pisitools.dodoc("LICENSE", "README*") \ No newline at end of file diff --git a/programming/misc/acorn/pspec.xml b/programming/misc/acorn/pspec.xml new file mode 100644 index 0000000000..517218c65d --- /dev/null +++ b/programming/misc/acorn/pspec.xml @@ -0,0 +1,46 @@ + + + + + acorn + https://github.com/acornjs/acorn + + Blue Devil + bluedevil@sctzine.com + + programming.misc + MIT + app:console + library + A tiny, fast JavaScript parser, written completely in JavaScript. + acorn is a tiny, fast JavaScript parser, written completely in JavaScript. + https://registry.npmjs.org/acorn/-/acorn-8.0.1.tgz + + rsync + nodejs + + + + + acorn + A tiny, fast JavaScript parser, written completely in JavaScript + + nodejs + + + /usr/lib + /usr/share/doc + /usr/bin + + + + + + 2020-09-08 + 8.0.1 + First Pisi Release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/misc/acorn/translations.xml b/programming/misc/acorn/translations.xml new file mode 100644 index 0000000000..b433fea70d --- /dev/null +++ b/programming/misc/acorn/translations.xml @@ -0,0 +1,8 @@ + + + + acorn + Tamamen javascript ile yazılmış küçük ve hızlı bir Javascript çözümleyicisi. + acorn kitaplığı, tamamen javascript ile yazılmış küçük ve hızlı bir Javascript çözümleyicisi sunar. + + \ No newline at end of file