diff options
author | William Hubbs <williamh@gentoo.org> | 2015-01-16 16:12:49 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-01-16 16:12:49 +0000 |
commit | 17dbb9036292ac57262c0c736de2b1aae098a2d9 (patch) | |
tree | aa1e3746cc4a500601b937c08dc023577982ea5d /dev-lang | |
parent | Fix invalid 'echo -n' usage (#528452), remove dangling symlink (#521126), bot... (diff) | |
download | historical-17dbb9036292ac57262c0c736de2b1aae098a2d9.tar.gz historical-17dbb9036292ac57262c0c736de2b1aae098a2d9.tar.bz2 historical-17dbb9036292ac57262c0c736de2b1aae098a2d9.zip |
version bump for #536754.
Package-Manager: portage-2.2.15/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.1.ebuild | 120 |
3 files changed, 132 insertions, 5 deletions
diff --git a/dev-lang/go/ChangeLog b/dev-lang/go/ChangeLog index 1f0d52505580..2ee9ab54aa11 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.62 2015/01/08 20:49:58 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.63 2015/01/16 16:12:27 williamh Exp $ + +*go-1.4.1 (16 Jan 2015) + + 16 Jan 2015; William Hubbs <williamh@gentoo.org> +go-1.4.1.ebuild: + version bump for #536754. 08 Jan 2015; Markus Meier <maekke@gentoo.org> go-1.4.ebuild: arm stable, bug #534656 diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index f56c1f3013be..cad3a1f1455f 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -3,16 +3,18 @@ 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.1.src.tar.gz 10921282 SHA256 3d9bb27ad4be51f60dc44f3d0026036ef07142797b1df1b5ae816277e6c31bb3 SHA512 47cbd67cdca8d67e8d09fee6d9a9fd5ddfa65f59413bd583c83b27c598f7b1b23e51e894888c10202bada560a16758eb847bff963d77726724aefecaea5cf644 WHIRLPOOL 0e63fce9674204c79dafad2daea1b8e097370ae7a5b5ee0e463235925cec4a3e74fa0980de8fe6fa1adbc072c2921cef494c5eafe251fe4e26a0f1586bd217e0 DIST go1.4.src.tar.gz 10911274 SHA256 3ae9f67e45a5ca7004b28808da8b1367d328a371d641ddbe636c0fb0ae0ffdae SHA512 5bcaec5e62aaeb7da7148c24b5d176e7756ad9cbdd4cbe848b53ac9bcf93cf162bde81cba79af82c075e4ffd0ce51ddc68186de88064b8b3fda04cc9dcef65c5 WHIRLPOOL ab7b4251ac0ceab0e64e9b9102a02a9b92c1cd056554ecf23e82b40508227c9f7a72d2f676409ab9b100707cc97c1ff30f3e71a458592ab4c53313565dcaf86e EBUILD go-1.3.3.ebuild 3469 SHA256 8b0abed8e62cd6975456b19d0ca5b8e611048f574ef29b2ee9a23334c1349b8c SHA512 2c12cfb01ef0575f23d09fb18bb1f9e57caed67c4650d2bb01f9f901dcb5c0dede7d58ba2508413f168697a40d1163dc99065a3343e78d204bcdb8173637d3a7 WHIRLPOOL 0d31f15b73e8764a8769b9e5c620a35cfca92210d0296ce6e073dcb56516b5247ef42f7ab1e7f9c8bdf846b5d43e9029c15b61a6b4c0d4bcf25ab0bfbd53f6cb +EBUILD go-1.4.1.ebuild 3124 SHA256 c0c1dc46ad362d166c788694ffb45c1c48d8b1c506f2f1de6d85335a3e75f78d SHA512 680ff6a6904843274d6388f145fa76bf56b2ad31dfd7a4be4117797717eef71e106fe67bd9cf3b0d07aa17a62aeadc426122563d11764dd1b03518a6adccccf2 WHIRLPOOL 0ad4196f04d113105e35ddc01929bd94e3b5c7d77ebc7578b025f2da1322776cce48bc95a93435cb947d257c22b3f166a6c12e8dbe3686aca573e8c5857ffa8e EBUILD go-1.4.ebuild 3118 SHA256 8a5d9c614412302bce433efec2d753a464e90c7cc812383cc45d13160cec07ba SHA512 42576a0c14032f4ffba017635e3e2773a8c36caa5572f5018c7ac7727a2b438f6c669e3b8a527dd9b49a2139c01f2a1604ac769942520ed6f8d88cab0777f3ba WHIRLPOOL c3940f00962808d9f0f300efa2169f45112d59de6cc577fd4785d48af0b4773727bd52e7922af3977be7a0299963eac92a3ff856411425940e6dad1acd8f270b EBUILD go-9999.ebuild 3127 SHA256 259c5d0f68ae3327c0d9bcddd493f1e38227c23175fde193b1edf57bc8fdbb57 SHA512 5a918686cf5ba923b33de1722a3703f4918c1d74fe55f363af37be40afe7568e69f9f7d966dddc56a2411b2f84db49d5acc7871860b42236b7350fa00e3cd150 WHIRLPOOL 61947399c5cd55b01f36eaffc3c77d78bc00363797cab28e47e58a4b5bfb518179491dfd0a09f4e1153abb0215b24678b0d6d50d0508b555f74188cca2e95f3b -MISC ChangeLog 8011 SHA256 e5d86413d7a8a3fd7c99f5f5ac52c80e56bf739241aad38fccd7910fc91854fb SHA512 1cee68028380ed5b59ca34c7626eed7f2ea39f530b53c4ba5d82d66cf9f7b8a04846fed8f716f702dcead7f22f2b77d883cd550d086e9bcb505e98b78bd72a5f WHIRLPOOL f3315592d65b279582cf2d9215a422946b683a528434b4b30dac085da9b9bd73792c93e5ca4a225a6d25c4e7e957c928684f34cde5b1fe043e16fa48ecfaef20 +MISC ChangeLog 8136 SHA256 cb2380dc00c2b4b585d55dcb92e23b4640c45f1597e846b82ea1380c34650fc1 SHA512 51c2c4b9579daa9825a62407c9adb7247c43485faf36f52a9a34d7253a2373ec330047bd17515de45c8646549cea7352b09afd1568aa6ec650dd3fb9df679277 WHIRLPOOL 591c0b30baa4c9f1af14721744626aff146de82af3b8139bda88a3409c0cfc184f44274499c4e7ce68219e27745b933a9136276a5b518b349bc92148267e8c6e MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlSu7XcACgkQkKaRLQcq0GJIJQCfdclgwPTa13u/8/9zVJdQ0q9n -DPwAnjza7tvhFvOZUMaig/hKaAgDRgfr -=x4uE +iEYEAREIAAYFAlS5OIAACgkQblQW9DDEZThLngCfcIb7BX8WWV68QnQPOO74CTyV +wjUAn2ThC6V9R6M6YCYrKbaLWWqfni9D +=4A5z -----END PGP SIGNATURE----- diff --git a/dev-lang/go/go-1.4.1.ebuild b/dev-lang/go/go-1.4.1.ebuild new file mode 100644 index 000000000000..115ce2ace030 --- /dev/null +++ b/dev-lang/go/go-1.4.1.ebuild @@ -0,0 +1,120 @@ +# 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.1.ebuild,v 1.1 2015/01/16 16:12:27 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 + 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" +} + +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/go${PV}" + 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 +} |