From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-go/go-text/Manifest | 8 +++++ dev-go/go-text/go-text-0_pre20150806.ebuild | 49 ++++++++++++++++++++++++++++ dev-go/go-text/go-text-0_pre20160211.ebuild | 50 +++++++++++++++++++++++++++++ dev-go/go-text/go-text-9999.ebuild | 48 +++++++++++++++++++++++++++ dev-go/go-text/metadata.xml | 10 ++++++ 5 files changed, 165 insertions(+) create mode 100644 dev-go/go-text/Manifest create mode 100644 dev-go/go-text/go-text-0_pre20150806.ebuild create mode 100644 dev-go/go-text/go-text-0_pre20160211.ebuild create mode 100644 dev-go/go-text/go-text-9999.ebuild create mode 100644 dev-go/go-text/metadata.xml (limited to 'dev-go/go-text') diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest new file mode 100644 index 000000000000..213c016435b4 --- /dev/null +++ b/dev-go/go-text/Manifest @@ -0,0 +1,8 @@ +DIST go-text-0_pre20150806.tar.gz 3736536 SHA256 377d3a95ffb01cf301e1b6050b1437f576f6bbfe32b6d97afc343bb0570b141f SHA512 dd0fc8b5abdfa6f005316bb7828c03a081485e0bd33cbf86c0b83f8bf9240973a7b0a2e6f52ef75f48ec00fc922be21a6c65ff9eb4080f28cb3f280bd4c4f5c6 WHIRLPOOL 79b6233c99984b98b5e74915029117e1f920e17789033ce2656d1590fbeafd4c69d145adeff7c57b1c7f8836397466461744959557877d27fc831da97a62b6ff +DIST go-text-0_pre20160211.tar.gz 4015547 SHA256 a134ac828ec5cfda4fa8306077dd945f8717d2189f019c24d0d104cc5e6159ec SHA512 066e53f6e094a6cf3effe1a9376f7bde41c3059099381bb5adf8c84589de4dab9115ce3c8cb7f89f90e2601422f79e3906f8f498d66e364da9f830ede1f7f05f WHIRLPOOL 1952326c7b47e1adf270e74be9817cbc2a2e1c1e4a69426378d515c73264f961bb249ced3363c56a57eba1dbab64151ca86a35a77bc26c7cf33fb71b5aff95a6 +EBUILD go-text-0_pre20150806.ebuild 1234 SHA256 2f8ef65feb0ae2cfc17714aec75dba0f0dd9412c98b3890c962f90d135fade8f SHA512 d058c7b320013440f938b91a1ac9cd2224d2bf329d8aab45dfd57db319cffdbb3a8e709d1b3fe240b7ee64e9788fb2ac0bc0b0698750fc6bee8885e72c334180 WHIRLPOOL 1483eba2d505f0e1e92392c436c7b199f9662c71eb320a59faa5e00187554257926f17f798c14f370381728b0af6789080cc291d9934f338a5205b41dce3369b +EBUILD go-text-0_pre20160211.ebuild 1372 SHA256 76d6c84cabde0b789e7f0db279ce296c933c70acdea3ebaba0d7161865530cbc SHA512 09a680a57e682d51a5929b7c08680c14aea25bbb816e61865942166c8ff30230d36143bd11174f8d0c84170e3020a06c5a9a8a9973d50d90c7e53bda763f3fb9 WHIRLPOOL 31b721c94deec583bd10a39f5fc216b4cb07fd0a3d0c2bb4c24428069b436b840e1f418ee378c47b66c8a94451aeba6d39f3704c97842546dc630bf3d66bc163 +EBUILD go-text-9999.ebuild 1218 SHA256 6a86cf9361655d5e8570f136116fad686434dbf343004b9aa1f196c5e51fe0d1 SHA512 8042d1fe75b9064c2e24ec36d13b1204d6b4f2710cfc2be231bc0ca435568b1c83afc2623cc9f5d37d36c8f7ab364d8242500c444a9a327ed85c05bc6274dc29 WHIRLPOOL 4dcc2f6f61a7c626896adb9a71c846f7c94b277943ef992d2b162bfec623e1b382a73e6d963848a16f51ea560faf5acc27460578a6d9a6cb27228bdeca41771d +MISC ChangeLog 3265 SHA256 ec1f768dd4921ce46ef5bdc6fa964531b4a760b937d7e247edd8554738dcabec SHA512 60bef2a58bc8aa345a9afb7c1dd43641ff4194803c60b3454676c47cbf9d98126c17235252f49217dfdf888895964d174d10661f8a7edde94857ae3c459768df WHIRLPOOL f4748203dbcb1e660aa445c8b20110ad36cc7616ac2f30b23c6fd049d9597c7ff2413c6c9b98b45c6fc514b8f35eac63c6eb81fea42359a0d58ea0b0ebe90e8d +MISC ChangeLog-2015 1864 SHA256 5a7c7a11652a576aba561fcd2ba67739c7534d9e14f4c913575845583638d7d2 SHA512 4481909bcf22ebf758e9b92eaac29e0bfeaf14ed69d434d73761de6f67582231ca4b9d98bfa06e32db0fba372352bd38ef60ed41de54ff573ff9bdfd61467ed5 WHIRLPOOL 701e3d547f5460e0e273fbc0ad15c8ac92373879fe0568c13802b7f8ad75c585fa42a500ffdd05d6a3f511c86a9d4d1e32c1ceb306f2870f1aa3b6efd2763b65 +MISC metadata.xml 302 SHA256 1aded925fdb86f85e3c4fd8bea5c992920c67f742f3de666a239a96afdaa5b0d SHA512 d6011dea76488098287ce6c436fd8c8b2b3607153611121b2ebd0b67be11629e8eb1318d460474c355fe8828c0bb0836db4fbae351f49bbbd7448c37f5a572ca WHIRLPOOL a52954d9b07283f0bbf56c3b6a3db4b21dd0e2bd7c7bb63578b7124f62f93855689981f289a6f4b576b53853fe4ab197727e8fa4593015f31c85f20b0ca3fa79 diff --git a/dev-go/go-text/go-text-0_pre20150806.ebuild b/dev-go/go-text/go-text-0_pre20150806.ebuild new file mode 100644 index 000000000000..3fb9794a126a --- /dev/null +++ b/dev-go/go-text/go-text-0_pre20150806.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGO_PN=golang.org/x/text/... +EGO_SRC=golang.org/x/text + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="1309a1875a4368c12688b9383c6bcac738c17c29" + SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go text processing support" +HOMEPAGE="https://godoc.org/golang.org/x/text" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="" +RDEPEND="" + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} + +src_test() { + # Create go symlink for TestLinking in display/dict_test.go + mkdir -p "${GOROOT}/bin" + ln -s /usr/bin/go "${GOROOT}/bin/go" || die + golang-build_src_test +} + +src_install() { + golang-build_src_install + export -n GOROOT + exeopts -m0755 -p # preserve timestamps for bug 551486 + exeinto "$(go env GOROOT)/bin" + doexe bin/* +} diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild new file mode 100644 index 000000000000..979b835ba8c6 --- /dev/null +++ b/dev-go/go-text/go-text-0_pre20160211.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGO_PN=golang.org/x/text/... +EGO_SRC=golang.org/x/text + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64 ~arm ~x86" + EGIT_COMMIT="07b9a78963006a15c538ec5175243979025fa7a8" + SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go text processing support" +HOMEPAGE="https://godoc.org/golang.org/x/text" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="" +RDEPEND="" + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} + +src_install() { + golang-build_src_install + export -n GOROOT + exeopts -m0755 -p # preserve timestamps for bug 551486 + exeinto "$(go env GOROOT)/bin" + doexe bin/* +} + +src_test() { + # omit $(get_golibdir_gopath) from GOPATH: + #package golang.org/x/text/display (test) + # imports golang.org/x/text/internal/testtext: use of internal package not allowed + #FAIL golang.org/x/text/display [setup failed] + GOPATH="${WORKDIR}/${P}" go test -v -work -x "${EGO_PN}" || die +} diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild new file mode 100644 index 000000000000..5768c80ac6f4 --- /dev/null +++ b/dev-go/go-text/go-text-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +EGO_PN=golang.org/x/text/... +EGO_SRC=golang.org/x/text + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7" + SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go text processing support" +HOMEPAGE="https://godoc.org/golang.org/x/text" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="" +RDEPEND="" + +src_test() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + if [ -d "${T}/goroot/src/${EGO_SRC}" ]; then + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + fi + if [ -d "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" ]; then + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || + die + fi + + # Create go symlink for TestLinking in display/dict_test.go + mkdir -p "${T}/goroot/bin" + ln -s /usr/bin/go "${T}/goroot/bin/go" || die + + GOROOT="${T}/goroot" golang-build_src_test +} + +src_install() { + golang-build_src_install + dobin bin/* +} diff --git a/dev-go/go-text/metadata.xml b/dev-go/go-text/metadata.xml new file mode 100644 index 000000000000..52a350b9d8f5 --- /dev/null +++ b/dev-go/go-text/metadata.xml @@ -0,0 +1,10 @@ + + + + + zmedico@gentoo.org + + + golang/text + + -- cgit v1.2.3