diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-06-05 07:43:25 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-06-05 07:43:25 +0000 |
commit | 0ce6ea99f60d956f546cdf03f174833586657357 (patch) | |
tree | 9eb5b1430172b8de504245b21fa46be975c94ead /dev-lang | |
parent | Fix maintainer's email, wrt bug #508786 (diff) | |
download | historical-0ce6ea99f60d956f546cdf03f174833586657357.tar.gz historical-0ce6ea99f60d956f546cdf03f174833586657357.tar.bz2 historical-0ce6ea99f60d956f546cdf03f174833586657357.zip |
Bump
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/go/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/go/Manifest | 14 | ||||
-rw-r--r-- | dev-lang/go/go-1.2.2.ebuild | 144 |
3 files changed, 153 insertions, 12 deletions
diff --git a/dev-lang/go/ChangeLog b/dev-lang/go/ChangeLog index e042ca756159..fef0de18116a 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.33 2014/03/28 14:08:40 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.34 2014/06/05 07:43:14 patrick Exp $ + +*go-1.2.2 (05 Jun 2014) + + 05 Jun 2014; Patrick Lauer <patrick@gentoo.org> +go-1.2.2.ebuild: + Bump 28 Mar 2014; Fabian Groffen <grobian@gentoo.org> go-1.2.ebuild, go-9999.ebuild: diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 54813862d8ac..cf002e3e174c 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX go-1.2-no-Werror.patch 230 SHA256 65d38b9485da2ff9417a2c44a81b6e52cc9bd2727b27e7add10d48a63805d4a3 SHA512 3cf139723e6ff0cbf7aaf76295fe4208f2062f2d4086e36d05cad83919217b5355e0e79b0b515a06a578389301bd07b062cb58b98fc0f9e4badf190cd1c34826 WHIRLPOOL 589b081bccf4afa015abe615c9d14b05ee2d2562b9473f8587456cfa8205a20483298f987d6bcf02630d17c2fbf3cc461e246ecc8e7602a89fc975ff3eefe172 +DIST go1.2.2.src.tar.gz 9520571 SHA256 fbcfe1fe6dfe660cae1c973811c5e2075e3f7b06feea32b4b91c7f0b48352391 SHA512 4e3cfb655888f064a447f969dbb12666f7f9b4300d860d8718a9a374135da6e137f887eec48feb171769ba1c11e3646806f67fcebf9acb257dcb8f8fc77b9050 WHIRLPOOL 03988bd5f7109e90eab21e448d6101503bc6360d4994c6e565914df267397c8ab88749897955c78b7acc94ea272042aaf90277321fe6402a55b75008432be4a0 DIST go1.2.src.tar.gz 9519109 SHA256 9ab83fb8eafe39f4204ef0f8e84e5ff7e8f1d533ddb05f51e6dc81503e8c0ae4 SHA512 c5ded60ba6db97107669146e1723fa5efbd89eb7432a6584b831549fe19f257c658a7cad19ee0033e305eb360e84fd18e67a6445ad0f945166b4d7315adbae7f WHIRLPOOL 1c0c87f01189b60c77e6b770d06bfb4ee06f1b133d9fc221d404a81ce344be5821c6c39c7e2ff91f6ac184e3d182d51a459adba91ce2bb424a54c2745e46e2c1 +EBUILD go-1.2.2.ebuild 3470 SHA256 5bf72708001c8d478e9226f21eb3192a675551f7057c7124f5fc1abcff82d709 SHA512 cc9af5999929e0e58605028664db6214513c81be81a07a59dedcd677f71f3ce2345950456edb61c1a3a62a7d38f2006c8d616d6823f53024c40b5461654dbc6b WHIRLPOOL 96b8250558f85d8c552f2d0f29d61d0cff3ed14e12ce27cd62f20d8ba076a27290bfae0e72f8905981ac5e7b9f7aa43729af2c3ee3b41454ceeba010b3c158f3 EBUILD go-1.2.ebuild 3453 SHA256 d86c9e8d16494d76832b232f1d943042190851989d6489a12f49c36b325ce888 SHA512 a086638010bd7d98c9e97e1eebcac0019702209ae39fb9091e9df0dd79a40c973a8e5f5059fb8c344365ada71bc97c654503bd19d229ab493186ad53db196898 WHIRLPOOL 37cdc1c48e6af544b8f85c13ff444c35d56341e492558a712b5063e8531e234d65f9cacce4d86edc24c4a66945bc32257ac92848dc11682e959e38bcbda20a2e EBUILD go-9999.ebuild 3447 SHA256 9a93280e07f212a798d96edf9b04d8924ec0367bec3f690c590f3de78c6ec873 SHA512 b96988fb66f06f045faeee922b2679ae3ccbb9396d3ce5bcf23921a7502c6d7168b82c6ba22795b1a0dab31aee34fe18f7ade31fbe584606f56e3ab7d758bec4 WHIRLPOOL 5dfcacd223da5c402e2c7ddc94fa40e2f3b701a756c8cc746f72f37d8a9f7e1a26f3c133af03ea8adb64e5b78412eac4d390285222be29f3dc765a17a9fc3953 -MISC ChangeLog 4733 SHA256 78a9f3163dd0fe5aa86330067cb2cc137d83f95d82fc91002bb7bbad82881c2c SHA512 c640734c2489b895fe028539f32ddaafc0fbae3aaf4bb7603661b03cdaeac2b3a70e06aab1abddb349add49caa5218de63fcd15b45147ee7069050ac336064d4 WHIRLPOOL 4d6638c147cb65c49fada5d37c82f5e3919d4df4c004e7555e6d5bf5208c343043863c2b5922a7526cb4e6185298d41e9f4ed729a45a669eb819ca891322576f +MISC ChangeLog 4834 SHA256 9dbe05d20834a1ba4d9579365859dcf83b6146aa6f1e36ebb86ede72c68d693c SHA512 3eac6d6a4071cc2cf66fcce630610220b3fe4b9a76771883ae2f1cdde690166f44aa141c195ddba944b588018c5f98b9e0cc0767457d90df1051493473d796cf WHIRLPOOL 8108977634552695769d99184fe915580ce23852a8cd4e37487167f503e73b0ce55337b383ef26ff91edb693b6969c0359e652be21359c0cc7cce65924ea2c03 MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (SunOS) - -iEYEAREIAAYFAlM1gmoACgkQX3X2B8XHTomMggCgkAT9Ozvceq4xh0I2Ub5XshQb -+xYAnjadBNAjQKkr/VxySv/nyI3Ho2xA -=e0FW ------END PGP SIGNATURE----- diff --git a/dev-lang/go/go-1.2.2.ebuild b/dev-lang/go/go-1.2.2.ebuild new file mode 100644 index 000000000000..5c76c3cabe37 --- /dev/null +++ b/dev-lang/go/go-1.2.2.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.2.2.ebuild,v 1.1 2014/06/05 07:43:14 patrick Exp $ + +EAPI=5 + +export CTARGET=${CTARGET:-${CHOST}} + +inherit bash-completion-r1 elisp-common 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" +fi + +DESCRIPTION="A concurrent garbage collected and typesafe programming language" +HOMEPAGE="http://www.golang.org" + +LICENSE="BSD" +SLOT="0" +IUSE="bash-completion emacs vim-syntax zsh-completion" + +DEPEND="" +RDEPEND="bash-completion? ( app-shells/bash-completion ) + emacs? ( virtual/emacs ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) + zsh-completion? ( app-shells/zsh-completion )" + +# 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" + +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 + + 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 + + if use bash-completion; then + dobashcomp misc/bash/go + fi + + 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 +} |