go:version bump
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import shelltools
|
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
NoStrip = ["/"]
|
NoStrip = ["/"]
|
||||||
@@ -15,12 +15,12 @@ def build():
|
|||||||
shelltools.export("go_platform","linux-amd64")
|
shelltools.export("go_platform","linux-amd64")
|
||||||
shelltools.export("go_linker","/lib/ld-linux-x86-64.so.2")
|
shelltools.export("go_linker","/lib/ld-linux-x86-64.so.2")
|
||||||
|
|
||||||
shelltools.export("GOROOT", "%s/go-go1.11.9" % get.workDIR()) #0
|
shelltools.export("GOROOT", "%s/go-go1.13.8" % get.workDIR()) #0
|
||||||
|
|
||||||
shelltools.export("GOBIN", "$GOROOT/bin") #1
|
shelltools.export("GOBIN", "$GOROOT/bin") #1
|
||||||
shelltools.export("GOPATH", "%s" % get.workDIR())
|
shelltools.export("GOPATH", "%s" % get.workDIR())
|
||||||
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
|
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
|
||||||
shelltools.export("GOROOT_BOOTSTRAP", "%s/go-go1.11.9/go-linux-amd64-bootstrap" % get.workDIR()) #2
|
shelltools.export("GOROOT_BOOTSTRAP", "%s/go-go1.13.8/go-linux-amd64-bootstrap" % get.workDIR()) #2
|
||||||
|
|
||||||
shelltools.export("GOOS","linux")
|
shelltools.export("GOOS","linux")
|
||||||
shelltools.export("GOARCH","amd64")
|
shelltools.export("GOARCH","amd64")
|
||||||
@@ -31,7 +31,7 @@ def build():
|
|||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
|
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
|
||||||
shelltools.cd("%s/go-go1.11.9" % get.workDIR())
|
shelltools.cd("%s/go-go1.13.8" % get.workDIR())
|
||||||
|
|
||||||
pisitools.dodir("/usr/lib/go")
|
pisitools.dodir("/usr/lib/go")
|
||||||
shelltools.system("cp -r api bin doc lib pkg src %s/usr/lib/go" % get.installDIR())
|
shelltools.system("cp -r api bin doc lib pkg src %s/usr/lib/go" % get.installDIR())
|
||||||
@@ -45,7 +45,7 @@ def install():
|
|||||||
|
|
||||||
shelltools.system("cp -r misc %s/usr/lib/go" % get.installDIR())
|
shelltools.system("cp -r misc %s/usr/lib/go" % get.installDIR())
|
||||||
|
|
||||||
pisitools.removeDir("/usr/lib/go/pkg/bootstrap")
|
#pisitools.removeDir("/usr/lib/go/pkg/bootstrap")
|
||||||
|
|
||||||
# remove testdata, which hit cave fix-linkage
|
# remove testdata, which hit cave fix-linkage
|
||||||
pisitools.remove("/usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec")
|
pisitools.remove("/usr/lib/go/src/debug/elf/testdata/gcc-386-freebsd-exec")
|
||||||
@@ -55,4 +55,4 @@ def install():
|
|||||||
pisitools.removeDir("/usr/lib/go/pkg/linux_amd64")
|
pisitools.removeDir("/usr/lib/go/pkg/linux_amd64")
|
||||||
|
|
||||||
|
|
||||||
pisitools.dodoc("VERSION", "LICENSE", "PATENTS", "README*", "AUTHORS", "CONTRIBUTORS")
|
pisitools.dodoc("LICENSE", "PATENTS", "README*")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>go</Name>
|
<Name>go</Name>
|
||||||
@@ -12,8 +12,8 @@
|
|||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>Compiler and tools for the Go programming language from Google</Summary>
|
<Summary>Compiler and tools for the Go programming language from Google</Summary>
|
||||||
<Description>Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.</Description>
|
<Description>Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.</Description>
|
||||||
<Archive sha1sum="d716c7a54f212fe6642d3fb58369eeffcded0402" type="targz">https://github.com/golang/go/archive/go1.11.9.tar.gz</Archive>
|
<Archive sha1sum="3dac63fc6c457ffe905aaeb7ccf3db348aa2c98c" type="targz">https://github.com/golang/go/archive/go1.13.8.tar.gz</Archive>
|
||||||
<Archive sha1sum="ed23e5951771f03d71dffdbd222617dd451fa511" type="tarbz2" target="go-go1.11.9">https://dev.gentoo.org/~williamh/dist/go-linux-amd64-bootstrap-1.8.tbz</Archive>
|
<Archive sha1sum="6ecdf5a03974462119c051a0d53f825c851ffdbe" type="tarbz2" target="go-go1.13.8">https://dev.gentoo.org/~williamh/dist/go-linux-amd64-bootstrap-1.13.6.tbz</Archive>
|
||||||
</Source>
|
</Source>
|
||||||
<Package>
|
<Package>
|
||||||
<Name>golang</Name>
|
<Name>golang</Name>
|
||||||
@@ -21,17 +21,26 @@
|
|||||||
<Dependency>git</Dependency>
|
<Dependency>git</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="config">/etc</Path>
|
|
||||||
<Path fileType="executable">/usr/bin/</Path>
|
<Path fileType="executable">/usr/bin/</Path>
|
||||||
<Path fileType="library">/usr/lib/</Path>
|
<Path fileType="library">/usr/lib/</Path>
|
||||||
<Path fileType="data">/usr/share/</Path>
|
<Path fileType="data">/usr/share/</Path>
|
||||||
|
<Path fileType="config">/etc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
|
<!--
|
||||||
<AdditionalFiles>
|
<AdditionalFiles>
|
||||||
<AdditionalFile owner="root" permission="0644" target="/etc/profile.d/go.sh">go.sh</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="/etc/profile.d/go.sh">go.sh</AdditionalFile>
|
||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
|
-->
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="11">
|
||||||
|
<Date>2020-02-24</Date>
|
||||||
|
<Version>1.13.8</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="10">
|
<Update release="10">
|
||||||
<Date>2019-04-14</Date>
|
<Date>2019-04-14</Date>
|
||||||
<Version>1.11.9</Version>
|
<Version>1.11.9</Version>
|
||||||
@@ -103,4 +112,4 @@
|
|||||||
<Email>ertugrulerata@gmail.com</Email>
|
<Email>ertugrulerata@gmail.com</Email>
|
||||||
</Update>
|
</Update>
|
||||||
</History>
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
@@ -5,4 +5,4 @@
|
|||||||
<Summary xml:lang="tr">Google'dan Go programlama dili için araçlar ve derleyici</Summary>
|
<Summary xml:lang="tr">Google'dan Go programlama dili için araçlar ve derleyici</Summary>
|
||||||
<Description xml:lang="tr">Go basit, güvenilir ve verimli yazılım inşa etmek için onu kolay yapan açık kaynaklı bir programlama dilidir.</Description>
|
<Description xml:lang="tr">Go basit, güvenilir ve verimli yazılım inşa etmek için onu kolay yapan açık kaynaklı bir programlama dilidir.</Description>
|
||||||
</Source>
|
</Source>
|
||||||
</PISI>
|
</PISI>
|
||||||
Reference in New Issue
Block a user