diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-go/go-tools | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-go/go-tools')
-rw-r--r-- | dev-go/go-tools/Manifest | 2 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-0_pre20180817.ebuild | 75 |
2 files changed, 0 insertions, 77 deletions
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest index 92c1fae4710c..205e0682e2b0 100644 --- a/dev-go/go-tools/Manifest +++ b/dev-go/go-tools/Manifest @@ -3,9 +3,7 @@ DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 96520 DIST github.com-golang-sync-112230192c580c3556b8cee6403af37a4fc5f28c.tar.gz 16835 BLAKE2B 51efe53ea7ab1f11f8ff078fbfa91526b97a1d918101bdbc755aa500424dda860d3a11195c1e44d033eaf7e0d09e7f327e404ad9af84f4b9747d8805b53dcf10 SHA512 bd90bb14e688fa7613d83dc8718bbb688a2f05cc8eb8c3dfbbf71daa7dc08e35044803c4bf8e5d5aab625a612e986e6f76c822c437f52132581ac37e0e2e92f9 DIST github.com-golang-xerrors-a985d3407aa71f30cf86696ee0a2f409709f22e1.tar.gz 12271 BLAKE2B cdcaf0bbf67399c9176786118a622fc0912036b9b0611922dd3d32ace2cac65ac288136ef228ff526e626d36c16e6f8442ffbb5df0c84fd713a669c326fa350c SHA512 719b3a3e432a928f641e15b8553d3e2c2015b1c68c633e9f13f1d57cee634544bb857518fcd75124e41a448b4c219b80dd0c1823329eb4edfc715994d40331d5 DIST go-favicon-20181103162401.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16 -DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1 DIST go-tools-0_pre20190911.tar.gz 2264380 BLAKE2B 049d961191eec5b3bd75d9ab1dea576a9b3700cdcd06fce39ae34844af7dc045d61cbe604c16c1fd355f38c0a3e5523c0162ca37c49bd7a7d28642fa2a5b4e5e SHA512 d72f71a8d3f1b14b165d60279dd4dc110ee59ae0e716cdfa9d23610d65972c03fea7191848e5a1b38dc6a2ce96050fdd919f3251e39c0dced11be9d47087a50c -EBUILD go-tools-0_pre20180817.ebuild 2660 BLAKE2B fbbb176fabd1f2d0423dad3f60a7a65b4e87de284baa7e30b67ee0caba821fe7ef87825eb3460ac5a3b947b1b1bbe236db3ed52de45ce6965be4c86f7b1671a2 SHA512 f88c6053150558e5ead6f41e49ba37d013a9e1ff3a87bfc0c1d4729a93d0469a7e5875fa71cf01b3a3a5e667ace2bae5c25a3802fcaeb835b692242cec4c4a0a EBUILD go-tools-0_pre20190911.ebuild 3952 BLAKE2B ef5717a0cb484d2c84b21017223098cc49ce8e79a9ddfc0810d9eee7d3d5ee7ce8631fb993a6c2ebe4284dc77300392c9671b5bd2cd6c00fb803e3c9b002a580 SHA512 7a232bc4cdf1815d217cd54fc855280a146f002f51f772517dc0934f6aeec04561301cae29c239ce7baefe9cb477291db0043eeb04e68548ba92223378a95ac8 EBUILD go-tools-9999.ebuild 3216 BLAKE2B 119f173e1c3a5c325cd7b909b870ff805b865e6fe32591df571f5219b411b275bfa3c8132c07bdf9aa78492e182c1f23582ab3258c9db27d3911654b9a88a6a1 SHA512 b6bce78a41d6c875d9cd5aac8085f7d2debd14ed7135397211915675d22e40dc63c6c969a03e2d8e1346aee3da656774059deb8542400eae033dee630c0cc642 MISC metadata.xml 303 BLAKE2B ca3493d6189da59891e1f4627c08bdeb6eddce60e7c9dc4a6b90118b76cccdc67d0be1b3ecc62acf37da168654b21f1a0dd0e8968901631850599f02caf3bcbc SHA512 cdcd8e3342ce58c499a670fa5ad75301d6f90dc6275b745d796dc8c0470005bfb37ccb6193c935f0d12cc6d4b9b9959b4fee7bdc7e660bef944d925c22393ccf diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild deleted file mode 100644 index 787b6a953867..000000000000 --- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -EGO_PN="golang.org/x/tools" - -# vendor the net package due to a circular dependency -EGO_VENDOR=( "golang.org/x/net aaf60122140d3fcf75376d319f0554393160eb50 github.com/golang/net" ) - -EGIT_COMMIT="7d1dc997617fb662918b6ea95efc19faa87e1cf8" -ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~x86" -inherit golang-build golang-vcs-snapshot - -DESCRIPTION="Tools that support the Go programming language (godoc, etc.)" -HOMEPAGE="https://godoc.org/golang.org/x/tools" -GO_FAVICON="go-favicon-20181103162401.ico" -SRC_URI="${ARCHIVE_URI} - ${EGO_VENDOR_URI} - mirror://gentoo/${GO_FAVICON} - https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}" -LICENSE="BSD Apache-2.0 MIT" -SLOT="0/${PVR}" - -src_prepare() { - default - # Add favicon to the godoc web interface (bug 551030) - cp "${DISTDIR}"/${GO_FAVICON} "src/${EGO_PN}/godoc/static/favicon.ico" || - die - sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \ - -i src/${EGO_PN}/godoc/static/gen.go || die - sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \ - -i src/${EGO_PN}/godoc/static/godoc.html || die - sed -e 's:TestVeryLongFile(:_\0:' \ - -i src/${EGO_PN}/go/internal/gcimporter/bexport_test.go || die - sed -e 's:TestLoadSyntaxOK(:_\0:' \ - -i src/${EGO_PN}/go/packages/packages_test.go || die - sed -e 's:TestCgoOption(:_\0:' \ - -i src/${EGO_PN}/go/loader/stdlib_test.go || die - sed -e 's:TestWebIndex(:_\0:' \ - -e 's:TestTypeAnalysis(:_\0:' \ - -i src/${EGO_PN}/cmd/godoc/godoc_test.go || die - sed -e 's:TestImportStdLib(:_\0:' \ - -i src/${EGO_PN}/go/internal/gcimporter/gcimporter_test.go || die - sed -e 's:TestVeryLongFile(:_\0:' \ - -i src/${EGO_PN}/go/internal/gcimporter/bexport_test.go || die -} - -src_compile() { - export -n GOCACHE XDG_CACHE_HOME #678964 - # Generate static.go with favicon included - pushd src/golang.org/x/tools/godoc/static >/dev/null || die - GOPATH="${S}:$(get_golibdir_gopath)" \ - go run makestatic.go || die - popd >/dev/null - - GOPATH="${S}:$(get_golibdir_gopath)" \ - go install -v -work -x ${EGO_BUILD_FLAGS} $(cd "${S}/src/${EGO_PN}" && GOPATH="${S}" go list ./...) || die -} - -src_test() { - GOPATH="${S}:$(get_golibdir_gopath)" \ - go test -v -work -x "${EGO_PN}/..." || die -} - -src_install() { - rm -rf "${S}/src/${EGO_PN}/vendor" || die - golang_install_pkgs - - # bug 558818: install binaries in $GOROOT/bin to avoid file collisions - exeinto "$(go env GOROOT)/bin" - doexe bin/* - dodir /usr/bin - ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die -} |