diff options
author | William Hubbs <williamh@gentoo.org> | 2015-02-18 17:58:24 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-02-18 17:58:24 +0000 |
commit | b3d6192af63adb53d5397be31904f9c70718fac3 (patch) | |
tree | 33314e00cf92c8a03a346a479bc14c320845c340 /dev-lang | |
parent | Version bump, new upstream release 2.0.27 (diff) | |
download | historical-b3d6192af63adb53d5397be31904f9c70718fac3.tar.gz historical-b3d6192af63adb53d5397be31904f9c70718fac3.tar.bz2 historical-b3d6192af63adb53d5397be31904f9c70718fac3.zip |
version bump
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Manifest-Sign-Key: 0x30C46538
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/go/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/go/Manifest | 10 | ||||
-rw-r--r-- | dev-lang/go/go-1.4.2.ebuild | 121 |
3 files changed, 133 insertions, 5 deletions
diff --git a/dev-lang/go/ChangeLog b/dev-lang/go/ChangeLog index 4c49a0f1922f..7a80a7103475 100644 --- a/dev-lang/go/ChangeLog +++ b/dev-lang/go/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/go # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.68 2015/02/18 16:53:40 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.69 2015/02/18 17:58:09 williamh Exp $ + +*go-1.4.2 (18 Feb 2015) + + 18 Feb 2015; William Hubbs <williamh@gentoo.org> +go-1.4.2.ebuild: + version bump 18 Feb 2015; William Hubbs <williamh@gentoo.org> -go-1.3.3.ebuild, -go-1.4.ebuild: diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 3b71b330a53b..0c746417446f 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -3,14 +3,16 @@ Hash: SHA256 AUX go-1.2-no-Werror.patch 230 SHA256 65d38b9485da2ff9417a2c44a81b6e52cc9bd2727b27e7add10d48a63805d4a3 SHA512 3cf139723e6ff0cbf7aaf76295fe4208f2062f2d4086e36d05cad83919217b5355e0e79b0b515a06a578389301bd07b062cb58b98fc0f9e4badf190cd1c34826 WHIRLPOOL 589b081bccf4afa015abe615c9d14b05ee2d2562b9473f8587456cfa8205a20483298f987d6bcf02630d17c2fbf3cc461e246ecc8e7602a89fc975ff3eefe172 DIST go1.4.1.src.tar.gz 10921282 SHA256 3d9bb27ad4be51f60dc44f3d0026036ef07142797b1df1b5ae816277e6c31bb3 SHA512 47cbd67cdca8d67e8d09fee6d9a9fd5ddfa65f59413bd583c83b27c598f7b1b23e51e894888c10202bada560a16758eb847bff963d77726724aefecaea5cf644 WHIRLPOOL 0e63fce9674204c79dafad2daea1b8e097370ae7a5b5ee0e463235925cec4a3e74fa0980de8fe6fa1adbc072c2921cef494c5eafe251fe4e26a0f1586bd217e0 +DIST go1.4.2.src.tar.gz 10921896 SHA256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b SHA512 cda1a29d4418875dffaf3324004ddae8e1bbb573f7668e6e0c03d8b61284f4db7fca244c181f2859f8ccdd3db6391fb21e0d98a1a9fc15096c15883249d48a9c WHIRLPOOL d06c27f6ff3a6499a6c7cb3c5eccd53eb588896c4d837e1fe9855c22ee3caa5cc48fd68cbeceff105b7c47fafbbf0eb3dc28ee3af7196692c5bf18511c6760ef EBUILD go-1.4.1.ebuild 3119 SHA256 4f99cd82cf5d8a5c4679581b48b72d63123f65585f2e2613856b5c93a1d71d7f SHA512 2c470523ee309c90b6bb02cadef9631e6643ae82378ba693875d64cfe197b12629fa4c02e82ff8df5a857629c030781d1b9acf54cc7787dca42e2c12dcff005d WHIRLPOOL 2583ec1ad14d3c15f8ff8701e9ef603946c31f9ac3da14aef8ba211593f2fb0a0a5a72a352a70ee973768a24d8af33dbf1d9293487d6039e6f4bb85a7d4ca833 +EBUILD go-1.4.2.ebuild 3147 SHA256 1286741643fcb8f8394ec92370e59e0b0a0dc992597db6d383c68d9b2269982a SHA512 53a9d61fdfbff48c667f04ed394724852e924034c02be6bb525aa1e69e4bf7e9c4a303dc27410e9bf49df8cbc48f810e8300ce43fe17381157862ba9a6b861ed WHIRLPOOL 3cec627d833d6f591d43179fcfa6b911ab450d68368292f5d5a5bbc9c2aed9abef304d4fca968be03307e4a0602bec153ad815ef30b3407b5810f818946496ab EBUILD go-9999.ebuild 3234 SHA256 ad9893c5d54c2f57d21d0bff5d3f6e64bd3da8d6143210aabd50d357b6e18643 SHA512 be0865822bdfc4a0f544ffb129ca144f1575a1966e393a444b003c6c46643cd19155f15e68b8c84cb23d05a54d3a5ec3dfe3ac571c32ee38fe4b754e2b0e85c6 WHIRLPOOL 5f03d19f3c4ab79021947fc6a443888d2bc18fcdafa8c5d5ae4260d0dff186b10e747fc83815441c1b33865b4a77b6cbce7b39fcaea1091019b3f6c8e4fa7dc3 -MISC ChangeLog 8730 SHA256 3c4e297180e3a4ba6c356b2ab4e53e5e5d0833bab404a62c0e17813ca52a9797 SHA512 3fc040b86c76f809c941a72d9a94b42a8c4ae299fa3fa7a51d9e7883f5af24dbf7184378777b3d9b3151c6cbec53216a690b0b06239f29d009ef6884ccfa2346 WHIRLPOOL 1e17a71dbd0b5b915e00815ee95f03d1921e527614d1bc9331a42a3e384051bc3dec140684cefe5d7946626dc67955d5e2f4e8ea42dcb01e3aad187d7531d963 +MISC ChangeLog 8840 SHA256 0dc69b80a86d3e53d23820cfb7bdd83b95898d581cba01c177966c792f6b2141 SHA512 6244e192af9de37cefb7953201232eb30bfc7f0b0feae404fe948e25f984a2903c453cfc9b783f8e6317a08f11936ff235d6606850d93ea138ccbaaf9e1f744b WHIRLPOOL 1306a88a8f684f3b3a7074c7deec7547a03504930af4710c03036a70486ddfd05d04acc39025eab8de9ec6f4359c744e2c336a4f11fcfc4f1028a49d57d782c0 MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlTkw5oACgkQblQW9DDEZTgW2wCdEYtgZ7qh2M1pvo3Z38ycLEH/ -mWYAn0uY8TTvMe0tK368EnNWuGHpFRbd -=9Tj/ +iEYEAREIAAYFAlTk0r8ACgkQblQW9DDEZTgPkgCgjnbB9jg7ACm+doy1PE8Phlhi +K2AAn0AsQoEWkWV9Wjko4M2AIkzlbxBO +=aWZK -----END PGP SIGNATURE----- diff --git a/dev-lang/go/go-1.4.2.ebuild b/dev-lang/go/go-1.4.2.ebuild new file mode 100644 index 000000000000..dbae4dfe7901 --- /dev/null +++ b/dev-lang/go/go-1.4.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.4.2.ebuild,v 1.1 2015/02/18 17:58:09 williamh Exp $ + +EAPI=5 + +export CTARGET=${CTARGET:-${CHOST}} + +inherit eutils toolchain-funcs + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/golang/go.git" + inherit git-r3 +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="" + +DEPEND="" +RDEPEND="" + +# 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 + sed -i -e 's#"-Werror",##g' src/cmd/dist/build.c || + die "sed failed" + 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" +} + +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] https://golang.org/issue/2775 + doins -r doc include lib pkg src + fperms -R +x /usr/lib/go/pkg/tool +} + +pkg_preinst() +{ + has_version '<dev-lang/go-1.4' && + export had_support_files=true || + export had_support_files=false +} + +pkg_postinst() +{ + # 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/go1.4" + fi + + if $had_support_files; then + ewarn + ewarn "All editor support, IDE support, shell completion" + ewarn "support, etc has been removed from the go package" + ewarn "upstream." + ewarn "For more information on which support is available, see" + ewarn "the following URL:" + ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins" + fi +} |