summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-12-11 06:25:08 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-12-11 06:25:08 +0000
commitea617b94c6f06195ffce09dc59c9432830f26250 (patch)
tree6f742c1774abc9880dc069b0b1bc6ac4b762a2b5 /dev-lang
parentUnrestrict dev-ruby/json dep #484348 (diff)
downloadhistorical-ea617b94c6f06195ffce09dc59c9432830f26250.tar.gz
historical-ea617b94c6f06195ffce09dc59c9432830f26250.tar.bz2
historical-ea617b94c6f06195ffce09dc59c9432830f26250.zip
Bump
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/go/ChangeLog7
-rw-r--r--dev-lang/go/Manifest18
-rw-r--r--dev-lang/go/go-1.4.ebuild144
3 files changed, 153 insertions, 16 deletions
diff --git a/dev-lang/go/ChangeLog b/dev-lang/go/ChangeLog
index fa2f558f67fb..eebf27bfedf8 100644
--- a/dev-lang/go/ChangeLog
+++ b/dev-lang/go/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/go
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.54 2014/11/21 09:55:17 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.55 2014/12/11 06:24:53 patrick Exp $
+
+*go-1.4 (11 Dec 2014)
+
+ 11 Dec 2014; Patrick Lauer <patrick@gentoo.org> +go-1.4.ebuild:
+ Bump
21 Nov 2014; Tim Harder <radhermit@gentoo.org> go-1.3.3.ebuild:
Rename zsh-completion to gentoo-zsh-completions.
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 27e5e9ae106e..6f87670d8616 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -1,20 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX go-1.2-no-Werror.patch 230 SHA256 65d38b9485da2ff9417a2c44a81b6e52cc9bd2727b27e7add10d48a63805d4a3 SHA512 3cf139723e6ff0cbf7aaf76295fe4208f2062f2d4086e36d05cad83919217b5355e0e79b0b515a06a578389301bd07b062cb58b98fc0f9e4badf190cd1c34826 WHIRLPOOL 589b081bccf4afa015abe615c9d14b05ee2d2562b9473f8587456cfa8205a20483298f987d6bcf02630d17c2fbf3cc461e246ecc8e7602a89fc975ff3eefe172
DIST go1.3.3.src.tar.gz 10049379 SHA256 1bb6fde89cfe8b9756a875af55d994cce0994861227b5dc0f268c143d91cd5ff SHA512 159872b7764986eba6641a5ebaf3aed3d6066bcd384672068354359099e52035b25bc819582d022ef8d7d91e244269cb38917e13c4d3eac8581831d41b2bac2b WHIRLPOOL 512db88e8503020fefc70acec7745b4fca0b8f4c4e20f95992633db3ac6a5db395d9e15d17b4fa8e385a6b88c8e03462a287e2750a5667596807b2131dfa137c
+DIST go1.4.src.tar.gz 10911274 SHA256 3ae9f67e45a5ca7004b28808da8b1367d328a371d641ddbe636c0fb0ae0ffdae SHA512 5bcaec5e62aaeb7da7148c24b5d176e7756ad9cbdd4cbe848b53ac9bcf93cf162bde81cba79af82c075e4ffd0ce51ddc68186de88064b8b3fda04cc9dcef65c5 WHIRLPOOL ab7b4251ac0ceab0e64e9b9102a02a9b92c1cd056554ecf23e82b40508227c9f7a72d2f676409ab9b100707cc97c1ff30f3e71a458592ab4c53313565dcaf86e
EBUILD go-1.3.3.ebuild 3490 SHA256 7fd4dd70898e47f5df5cfbfae891a97bad4f611870dcde23f94076da05e9116b SHA512 0adb62fc8767a9150f77ee12f66287b0e4ca714c30aac0376d29165f1bc8bd69c552d039899fd5b23f546e1018af955962a7544ff1fe643bd9b534ddfdfb8540 WHIRLPOOL d98a579558fe6112165c74a0f3ef46f6c181f8642222025f22f14a721a2f37ce5968c63c08dcfd2d1f0c58e57d1900d0af822f77f2b45915ec5cecdeced266bf
+EBUILD go-1.4.ebuild 3558 SHA256 4d81890d732daf5601329514ce65eabaf34ddf321b3dd12b57b8840f4bd617b6 SHA512 44de9fe01c0219b258f0be859dcb6fa983516b8d4e323ed972e20ccb4f5fc2dad2bacfbbb34c3ceba5a243d35f38b54ede220fed0ef1be72e0362fe25215789d WHIRLPOOL d8a7f3b0a3167946baf9ce86c658b32fd0c13268502702c0dccccca634fba46433974404b8df5e618ae2cf98093fc6ef1456aadfc2eb2310b4c50519c0c358d3
EBUILD go-9999.ebuild 2683 SHA256 3107f2b143c840800510169f9fc6c6b83e7d8886f4a7781215337a2d732458c9 SHA512 cdd9033b75a0fba02b8adc475d350d1854fbc98164003edd1103e87859bb214fff9aff15a7646c26b4c7fdca16484c6ad0863e5608e14a7bdc4747da6ee61e71 WHIRLPOOL c6fd488e5e46e6e770325450023b2ee4e59132044700d458dc534342550e4edf0887800971e93611b63bb861ebd4a4621db726e9a64819384786bb2a1b731164
-MISC ChangeLog 7100 SHA256 46777b99f9db27e2de8c020a091d34fd57c0621b9eacf43a371379a025c8441a SHA512 017717a4172c26324e99512000357b5ec796e57c1fbaccb54b008df11c737bd350b640d1f3cf199a43ec10953e26f4d4928308f8741e23e77602cbe8b5410960 WHIRLPOOL ecbcbeca9243bcce38221a19bcae090939095faaa900e3f3dbba3277185050e458bc774c2a278e3c9f80b7aba9fed07b90563f07a727f025fed3f30a9d1ff0b1
+MISC ChangeLog 7195 SHA256 947eb2f909b32f14257a733d3add81ef1105feac1a97a44e218931af2a2ea1d4 SHA512 c55a1e28ca6deb1fc54de2fa2c310cc979acffe8b7244d4dc4e72d11cb3a782a982c3d9bf00488e6706d6737cebaa6376f29823518af300073b03a407c7ad258 WHIRLPOOL ba80f3bf9ca0b1889cd490c82e67555436a8c6f2e0b08eccde779219abfe83fea9e55e533964ea7b73cc3f3b60b3d61eec3247cdd43a9cc9ca4e05d8f5d6721f
MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iQEcBAEBCAAGBQJUbwwMAAoJEEqz6FtPBkyjv0AIAIWX/c0QP32TDkmMqTXn3SBK
-lvchZxC8czRADlCYK9d2JduCCZ9EvkVNfSu8YJ7mG7GuJ+O6aveeYtnIpJ0PegIP
-hUdyzz0Xfk9x+kojeoTPDQjoGfEQJec32fchoHcNMgFP4PzEZp06+CmfcIOqrASX
-AAKagFqhHAXKRdkhZFvJkM40XQPKW9Qx0LGyyETqJqG7ktTiQiCBr3ubXGv8Arjk
-Q/kT8ORFL2Fm2Oz3Piuvfl7174V6RkQt47ulqSNhNk58lhpgnRUIhSrwUBaczHF7
-Kmr7yBLBmGwdrc7Td5WVXB4utCzMCoGFnBn2rLu34iLMKHZvPEgWdQIfGJ2uj2Y=
-=2uJ0
------END PGP SIGNATURE-----
diff --git a/dev-lang/go/go-1.4.ebuild b/dev-lang/go/go-1.4.ebuild
new file mode 100644
index 000000000000..1cc556c99c13
--- /dev/null
+++ b/dev-lang/go/go-1.4.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.4.ebuild,v 1.1 2014/12/11 06:24:53 patrick Exp $
+
+EAPI=5
+
+export CTARGET=${CTARGET:-${CHOST}}
+
+inherit bash-completion-r1 elisp-common toolchain-funcs eutils
+
+if [[ ${PV} = 9999 ]]; then
+ EHG_REPO_URI="https://go.googlecode.com/hg"
+ inherit mercurial
+else
+ SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
+ # Upstream only supports go on amd64, arm and x86 architectures.
+ KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
+fi
+
+DESCRIPTION="A concurrent garbage collected and typesafe programming language"
+HOMEPAGE="http://www.golang.org"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="emacs vim-syntax zsh-completion"
+
+DEPEND=""
+RDEPEND="emacs? ( virtual/emacs )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+ zsh-completion? ( app-shells/gentoo-zsh-completions )"
+
+# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
+QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
+
+# The go language uses *.a files which are _NOT_ libraries and should not be
+# stripped.
+STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a /usr/lib/go/pkg/darwin*/*.a"
+
+if [[ ${PV} != 9999 ]]; then
+ S="${WORKDIR}"/go
+fi
+
+src_prepare()
+{
+ if [[ ${PV} != 9999 ]]; then
+ epatch "${FILESDIR}"/${PN}-1.2-no-Werror.patch
+ fi
+ epatch_user
+}
+
+src_compile()
+{
+ export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
+ export GOROOT="$(pwd)"
+ export GOBIN="${GOROOT}/bin"
+ if [[ $CTARGET = armv5* ]]
+ then
+ export GOARM=5
+ fi
+ tc-export CC
+
+ cd src
+ ./make.bash || die "build failed"
+ cd ..
+
+ if use emacs; then
+ elisp-compile misc/emacs/*.el
+ fi
+}
+
+src_test()
+{
+ cd src
+ PATH="${GOBIN}:${PATH}" \
+ ./run.bash --no-rebuild --banner || die "tests failed"
+}
+
+src_install()
+{
+ dobin bin/*
+ dodoc AUTHORS CONTRIBUTORS PATENTS README
+
+ dodir /usr/lib/go
+ insinto /usr/lib/go
+
+ # There is a known issue which requires the source tree to be installed [1].
+ # Once this is fixed, we can consider using the doc use flag to control
+ # installing the doc and src directories.
+ # [1] http://code.google.com/p/go/issues/detail?id=2775
+ doins -r doc include lib pkg src
+
+ # the bash completions appear to be gone from the release tarball
+ #dobashcomp misc/bash/go
+ #bashcomp_alias go {5,6,8}{g,l} gccgo gofmt
+
+ if use emacs; then
+ elisp-install ${PN} misc/emacs/*.el misc/emacs/*.elc
+ fi
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles
+ doins -r misc/vim/ftdetect
+ doins -r misc/vim/ftplugin
+ doins -r misc/vim/syntax
+ doins -r misc/vim/plugin
+ doins -r misc/vim/indent
+ fi
+
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/zsh/go
+ fi
+
+ fperms -R +x /usr/lib/go/pkg/tool
+}
+
+pkg_postinst()
+{
+ if use emacs; then
+ elisp-site-regen
+ fi
+
+ # If the go tool sees a package file timestamped older than a dependancy it
+ # will rebuild that file. So, in order to stop go from rebuilding lots of
+ # packages for every build we need to fix the timestamps. The compiler and
+ # linker are also checked - so we need to fix them too.
+ ebegin "fixing timestamps to avoid unnecessary rebuilds"
+ tref="usr/lib/go/pkg/*/runtime.a"
+ find "${EROOT}"usr/lib/go -type f \
+ -exec touch -r "${EROOT}"${tref} {} \;
+ eend $?
+
+ if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
+ ${REPLACING_VERSIONS} != ${PV} ]]; then
+ elog "Release notes are located at http://golang.org/doc/go${PV}"
+ fi
+}
+
+pkg_postrm()
+{
+ if use emacs; then
+ elisp-site-regen
+ fi
+}