acorn: first pisi release
This commit is contained in:
@@ -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*")
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>acorn</Name>
|
||||
<Homepage>https://github.com/acornjs/acorn</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.misc</PartOf>
|
||||
<License>MIT</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A tiny, fast JavaScript parser, written completely in JavaScript.</Summary>
|
||||
<Description>acorn is a tiny, fast JavaScript parser, written completely in JavaScript.</Description>
|
||||
<Archive sha1sum="d7e8eca9b71d5840db0e7e415b3b2b20e250f938" type="targz">https://registry.npmjs.org/acorn/-/acorn-8.0.1.tgz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rsync</Dependency>
|
||||
<Dependency>nodejs</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>acorn</Name>
|
||||
<Summary>A tiny, fast JavaScript parser, written completely in JavaScript</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>nodejs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-09-08</Date>
|
||||
<Version>8.0.1</Version>
|
||||
<Comment>First Pisi Release</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>acorn</Name>
|
||||
<Summary xml:lang="tr">Tamamen javascript ile yazılmış küçük ve hızlı bir Javascript çözümleyicisi.</Summary>
|
||||
<Description xml:lang="tr">acorn kitaplığı, tamamen javascript ile yazılmış küçük ve hızlı bir Javascript çözümleyicisi sunar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user