diff options
Diffstat (limited to 'dev-lang/go')
-rw-r--r-- | dev-lang/go/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/go/Manifest | 12 | ||||
-rw-r--r-- | dev-lang/go/go-1.3.3.ebuild | 143 | ||||
-rw-r--r-- | dev-lang/go/go-1.4.ebuild | 120 |
4 files changed, 9 insertions, 272 deletions
diff --git a/dev-lang/go/ChangeLog b/dev-lang/go/ChangeLog index 043a5b199137..4c49a0f1922f 100644 --- a/dev-lang/go/ChangeLog +++ b/dev-lang/go/ChangeLog @@ -1,6 +1,10 @@ # 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.67 2015/02/17 21:03:49 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.68 2015/02/18 16:53:40 williamh Exp $ + + 18 Feb 2015; William Hubbs <williamh@gentoo.org> -go-1.3.3.ebuild, + -go-1.4.ebuild: + remove old versions 17 Feb 2015; Markus Meier <maekke@gentoo.org> go-1.4.1.ebuild: arm stable, bug #539280 diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest index 1b6e799fe9fa..3b71b330a53b 100644 --- a/dev-lang/go/Manifest +++ b/dev-lang/go/Manifest @@ -2,19 +2,15 @@ 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 3119 SHA256 4f99cd82cf5d8a5c4679581b48b72d63123f65585f2e2613856b5c93a1d71d7f SHA512 2c470523ee309c90b6bb02cadef9631e6643ae82378ba693875d64cfe197b12629fa4c02e82ff8df5a857629c030781d1b9acf54cc7787dca42e2c12dcff005d WHIRLPOOL 2583ec1ad14d3c15f8ff8701e9ef603946c31f9ac3da14aef8ba211593f2fb0a0a5a72a352a70ee973768a24d8af33dbf1d9293487d6039e6f4bb85a7d4ca833 -EBUILD go-1.4.ebuild 3118 SHA256 8a5d9c614412302bce433efec2d753a464e90c7cc812383cc45d13160cec07ba SHA512 42576a0c14032f4ffba017635e3e2773a8c36caa5572f5018c7ac7727a2b438f6c669e3b8a527dd9b49a2139c01f2a1604ac769942520ed6f8d88cab0777f3ba WHIRLPOOL c3940f00962808d9f0f300efa2169f45112d59de6cc577fd4785d48af0b4773727bd52e7922af3977be7a0299963eac92a3ff856411425940e6dad1acd8f270b EBUILD go-9999.ebuild 3234 SHA256 ad9893c5d54c2f57d21d0bff5d3f6e64bd3da8d6143210aabd50d357b6e18643 SHA512 be0865822bdfc4a0f544ffb129ca144f1575a1966e393a444b003c6c46643cd19155f15e68b8c84cb23d05a54d3a5ec3dfe3ac571c32ee38fe4b754e2b0e85c6 WHIRLPOOL 5f03d19f3c4ab79021947fc6a443888d2bc18fcdafa8c5d5ae4260d0dff186b10e747fc83815441c1b33865b4a77b6cbce7b39fcaea1091019b3f6c8e4fa7dc3 -MISC ChangeLog 8618 SHA256 1913c60b6a810753576e1f450e619beb9f69c10a31823fdeb819ae8866953309 SHA512 5c8f327b3128068a2cf0068274d9530c9280ecf67b1182f31e64f287f7607ccc02e7f18c164a9ba64bf5d3349c3aac7d57dd787f89cc0a1ec4d32fac9397a697 WHIRLPOOL ec96db5be09292609a0785d6776847280c7705b8e887ebfea895411eb6f089b2324fef0324774a10ff71f95e381bf890969e2df0da07783388b72f866b7f7b49 +MISC ChangeLog 8730 SHA256 3c4e297180e3a4ba6c356b2ab4e53e5e5d0833bab404a62c0e17813ca52a9797 SHA512 3fc040b86c76f809c941a72d9a94b42a8c4ae299fa3fa7a51d9e7883f5af24dbf7184378777b3d9b3151c6cbec53216a690b0b06239f29d009ef6884ccfa2346 WHIRLPOOL 1e17a71dbd0b5b915e00815ee95f03d1921e527614d1bc9331a42a3e384051bc3dec140684cefe5d7946626dc67955d5e2f4e8ea42dcb01e3aad187d7531d963 MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlTjrLcACgkQkKaRLQcq0GIWWACfY3ShDYaYn+MChlxp8/0jejBd -9cwAnibClrnk87+dnrnae+9k7Ma9PmtG -=NiQa +iEYEAREIAAYFAlTkw5oACgkQblQW9DDEZTgW2wCdEYtgZ7qh2M1pvo3Z38ycLEH/ +mWYAn0uY8TTvMe0tK368EnNWuGHpFRbd +=9Tj/ -----END PGP SIGNATURE----- diff --git a/dev-lang/go/go-1.3.3.ebuild b/dev-lang/go/go-1.3.3.ebuild deleted file mode 100644 index 0789eba0a32d..000000000000 --- a/dev-lang/go/go-1.3.3.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# 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.3.3.ebuild,v 1.8 2014/12/12 18:23:32 williamh 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] https://golang.org/issue/2775 - doins -r doc include lib pkg src - - 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 -} diff --git a/dev-lang/go/go-1.4.ebuild b/dev-lang/go/go-1.4.ebuild deleted file mode 100644 index 7209d14af984..000000000000 --- a/dev-lang/go/go-1.4.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# 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.ebuild,v 1.5 2015/01/08 20:49:58 maekke Exp $ - -EAPI=5 - -export CTARGET=${CTARGET:-${CHOST}} - -inherit eutils toolchain-funcs - -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="" - -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 -} |