* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2015-08-10 5:36 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2015-08-10 5:36 UTC (permalink / raw
To: gentoo-commits
commit: 82c756d970af38f73af0c3b9c738773f708824e0
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 9 23:01:54 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 05:35:11 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82c756d9
dev-go/go-text: 0_pre20150806 version bump
Package-Manager: portage-2.2.20
dev-go/go-text/Manifest | 1 +
dev-go/go-text/go-text-0_pre20150806.ebuild | 50 +++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
index 98f67bf..691a67c 100644
--- a/dev-go/go-text/Manifest
+++ b/dev-go/go-text/Manifest
@@ -1 +1,2 @@
DIST go-text-0_pre20150604.tar.gz 3719061 SHA256 71017417b42ea4e68ac77303782c83b627bfbceed041a1467ddc6319c78923ad SHA512 1bbc5bff271243ee31e346a79abf9dd128907cea82fa1eaba11be62780bd1f6b6b76a2ae9476fbe350224f450e75d12efcffd67521b49d6bec44ce2bb085f0d3 WHIRLPOOL e953d99d661537c8838757ae507f2adda3319ef22ce687a39533351201c5bb7206701db4b54f7c0e4d6df803b378a4f587a2015646825b4c3dfad97696baed2e
+DIST go-text-0_pre20150806.tar.gz 3736536 SHA256 377d3a95ffb01cf301e1b6050b1437f576f6bbfe32b6d97afc343bb0570b141f SHA512 dd0fc8b5abdfa6f005316bb7828c03a081485e0bd33cbf86c0b83f8bf9240973a7b0a2e6f52ef75f48ec00fc922be21a6c65ff9eb4080f28cb3f280bd4c4f5c6 WHIRLPOOL 79b6233c99984b98b5e74915029117e1f920e17789033ce2656d1590fbeafd4c69d145adeff7c57b1c7f8836397466461744959557877d27fc831da97a62b6ff
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 0000000..532853b
--- /dev/null
+++ b/dev-go/go-text/go-text-0_pre20150806.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/${PV}"
+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/*
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2015-08-10 20:08 William Hubbs
0 siblings, 0 replies; 11+ messages in thread
From: William Hubbs @ 2015-08-10 20:08 UTC (permalink / raw
To: gentoo-commits
commit: 34d41f77344f7f7f31692d15c7a3d1427c649978
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 19:58:15 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 20:07:28 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d41f77
dev-go/go-text: remove old snapshot
dev-go/go-text/Manifest | 1 -
dev-go/go-text/go-text-0_pre20150604.ebuild | 54 -----------------------------
2 files changed, 55 deletions(-)
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
index 691a67c..522235c 100644
--- a/dev-go/go-text/Manifest
+++ b/dev-go/go-text/Manifest
@@ -1,2 +1 @@
-DIST go-text-0_pre20150604.tar.gz 3719061 SHA256 71017417b42ea4e68ac77303782c83b627bfbceed041a1467ddc6319c78923ad SHA512 1bbc5bff271243ee31e346a79abf9dd128907cea82fa1eaba11be62780bd1f6b6b76a2ae9476fbe350224f450e75d12efcffd67521b49d6bec44ce2bb085f0d3 WHIRLPOOL e953d99d661537c8838757ae507f2adda3319ef22ce687a39533351201c5bb7206701db4b54f7c0e4d6df803b378a4f587a2015646825b4c3dfad97696baed2e
DIST go-text-0_pre20150806.tar.gz 3736536 SHA256 377d3a95ffb01cf301e1b6050b1437f576f6bbfe32b6d97afc343bb0570b141f SHA512 dd0fc8b5abdfa6f005316bb7828c03a081485e0bd33cbf86c0b83f8bf9240973a7b0a2e6f52ef75f48ec00fc922be21a6c65ff9eb4080f28cb3f280bd4c4f5c6 WHIRLPOOL 79b6233c99984b98b5e74915029117e1f920e17789033ce2656d1590fbeafd4c69d145adeff7c57b1c7f8836397466461744959557877d27fc831da97a62b6ff
diff --git a/dev-go/go-text/go-text-0_pre20150604.ebuild b/dev-go/go-text/go-text-0_pre20150604.ebuild
deleted file mode 100644
index f89899e..0000000
--- a/dev-go/go-text/go-text-0_pre20150604.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KEYWORDS="~amd64"
-DESCRIPTION="Go text processing support"
-MY_PN=${PN##*-}
-GO_PN=golang.org/x/${MY_PN}
-HOMEPAGE="https://godoc.org/${GO_PN}"
-EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7"
-SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-DEPEND=">=dev-lang/go-1.4"
-RDEPEND=""
-S="${WORKDIR}/src/${GO_PN}"
-EGIT_CHECKOUT_DIR="${S}"
-STRIP_MASK="*.a"
-
-src_unpack() {
- default
- mkdir -p src/${GO_PN%/*} || die
- mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
-}
-
-src_compile() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- GOROOT="${WORKDIR}/goroot"
- cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
- rm -rf "${GOROOT}/src/${GO_PN}" \
- "${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
-}
-
-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
-
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -x -v ${GO_PN}/... || die $?
-}
-
-src_install() {
- exeinto /usr/lib/go/bin
- doexe "${WORKDIR}"/bin/*
- insinto /usr/lib/go
- find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null
- insopts -m0644 -p # preserve timestamps for bug 551486
- doins -r "${WORKDIR}"/{pkg,src}
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2016-02-11 16:59 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2016-02-11 16:59 UTC (permalink / raw
To: gentoo-commits
commit: 58ab26c77b7b886e76017067575686f867720880
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 16:58:03 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 16:58:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ab26c7
dev-go/go-text: add ${PVR} subslot, for tracking static links
Package-Manager: portage-2.2.27
dev-go/go-text/go-text-0_pre20150806.ebuild | 2 +-
dev-go/go-text/go-text-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-go/go-text/go-text-0_pre20150806.ebuild b/dev-go/go-text/go-text-0_pre20150806.ebuild
index 532853b..2ce00ab 100644
--- a/dev-go/go-text/go-text-0_pre20150806.ebuild
+++ b/dev-go/go-text/go-text-0_pre20150806.ebuild
@@ -20,7 +20,7 @@ inherit golang-build
DESCRIPTION="Go text processing support"
HOMEPAGE="https://godoc.org/golang.org/x/text"
LICENSE="BSD"
-SLOT="0/${PV}"
+SLOT="0/${PVR}"
IUSE=""
DEPEND=""
RDEPEND=""
diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild
index 11e63f0..a6942d5 100644
--- a/dev-go/go-text/go-text-9999.ebuild
+++ b/dev-go/go-text/go-text-9999.ebuild
@@ -20,7 +20,7 @@ inherit golang-build
DESCRIPTION="Go text processing support"
HOMEPAGE="https://godoc.org/golang.org/x/text"
LICENSE="BSD"
-SLOT="0/${PV}"
+SLOT="0/${PVR}"
IUSE=""
DEPEND=""
RDEPEND=""
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2016-02-20 21:04 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2016-02-20 21:04 UTC (permalink / raw
To: gentoo-commits
commit: ad3a39ca5b2d4fbd02ee21e3e2a7539729f2441d
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 20 21:03:17 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 21:03:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3a39ca
dev-go/go-text: version bump to 0_pre20160211
Package-Manager: portage-2.2.27
dev-go/go-text/Manifest | 1 +
dev-go/go-text/go-text-0_pre20160211.ebuild | 51 +++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
index 522235c..e3623f1 100644
--- a/dev-go/go-text/Manifest
+++ b/dev-go/go-text/Manifest
@@ -1 +1,2 @@
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
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 0000000..151ca4b
--- /dev/null
+++ b/dev-go/go-text/go-text-0_pre20160211.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="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
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2016-08-23 19:04 Markus Meier
0 siblings, 0 replies; 11+ messages in thread
From: Markus Meier @ 2016-08-23 19:04 UTC (permalink / raw
To: gentoo-commits
commit: e980204d59ace72f5c8f9d59b409b863588e56a9
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 19:03:57 2016 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 19:03:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e980204d
dev-go/go-text: add ~arm, bug #590774
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="arm"
dev-go/go-text/go-text-0_pre20160211.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild
index 151ca4b..9b7510b 100644
--- a/dev-go/go-text/go-text-0_pre20160211.ebuild
+++ b/dev-go/go-text/go-text-0_pre20160211.ebuild
@@ -10,7 +10,7 @@ EGO_SRC=golang.org/x/text
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm"
EGIT_COMMIT="07b9a78963006a15c538ec5175243979025fa7a8"
SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2016-09-21 13:57 Marek Szuba
0 siblings, 0 replies; 11+ messages in thread
From: Marek Szuba @ 2016-09-21 13:57 UTC (permalink / raw
To: gentoo-commits
commit: dcb9f7441b64a5eb23a72ed91aec74ece35f8912
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 13:50:39 2016 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 13:57:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb9f744
dev-go/go-text: add ~x86 keyword
Tested on a x86 virtual machine.
Gentoo-Bug: 590774
Package-Manager: portage-2.3.1
dev-go/go-text/go-text-0_pre20160211.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild
index 9b7510b..233a7af 100644
--- a/dev-go/go-text/go-text-0_pre20160211.ebuild
+++ b/dev-go/go-text/go-text-0_pre20160211.ebuild
@@ -10,7 +10,7 @@ EGO_SRC=golang.org/x/text
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
- KEYWORDS="~amd64 ~arm"
+ 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2018-08-19 6:38 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2018-08-19 6:38 UTC (permalink / raw
To: gentoo-commits
commit: 74a3dfaa9ad44fbf2f8bba4e33ca9e0f1e5b2a91
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 00:56:10 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 19 06:37:56 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a3dfaa
dev-go/go-text: version bump to 0.3.0
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-text/Manifest | 1 +
dev-go/go-text/go-text-0.3.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
index 8a92b506344..b2c4e9e89ff 100644
--- a/dev-go/go-text/Manifest
+++ b/dev-go/go-text/Manifest
@@ -1,2 +1,3 @@
+DIST go-text-0.3.0.tar.gz 6102619 BLAKE2B c92e68014a8c157d76741c02acd708771d66bd3dda5b19285f5aa3e073e0fe3fccb9054744d35ea62b681ae4421bb7489238d6868f9314fb26f88e002287abe8 SHA512 bd60dfaa7d9dbfca171a3ba40b51f5663c01257cf3b12b618d35689a97ab2212d316d5716ff09681bf40b099f7e20a0e0df8cfc065699cb6a07ad1dc2e2bc189
DIST go-text-0_pre20150806.tar.gz 3736536 BLAKE2B afc6a95116426f9b981432c772c374cb3c84d300e81af1599383be74d00830556d36ff614d88e8952b89974ecb238b77725a3d1a83dc65a0f85dafa3d29a2dff SHA512 dd0fc8b5abdfa6f005316bb7828c03a081485e0bd33cbf86c0b83f8bf9240973a7b0a2e6f52ef75f48ec00fc922be21a6c65ff9eb4080f28cb3f280bd4c4f5c6
DIST go-text-0_pre20160211.tar.gz 4015547 BLAKE2B ad85f27761e2fd91a6acff497fe9b720484d51c6d75032c02fe21784dff78b4b900ac95aab394a6db1f7b2c9fb5a3d1cbde8db2aaa4c099b19357d82f747eb89 SHA512 066e53f6e094a6cf3effe1a9376f7bde41c3059099381bb5adf8c84589de4dab9115ce3c8cb7f89f90e2601422f79e3906f8f498d66e364da9f830ede1f7f05f
diff --git a/dev-go/go-text/go-text-0.3.0.ebuild b/dev-go/go-text/go-text-0.3.0.ebuild
new file mode 100644
index 00000000000..84a3b008c10
--- /dev/null
+++ b/dev-go/go-text/go-text-0.3.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN=golang.org/x/text/...
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64 ~arm ~x86"
+ EGIT_COMMIT="v${PV}"
+ 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=">=dev-go/go-tools-0_pre20180817"
+RDEPEND=""
+
+src_compile() {
+ # Create an isolated golibdir in order to avoid an
+ # "use of internal package not allowed" error when
+ # and older version is installed.
+ mkdir -p "${T}/golibdir/src/golang.org/x" || die
+ ln -s "$(get_golibdir_gopath)/src/golang.org/x/tools" "${T}/golibdir/src/golang.org/x/tools" || die
+ GOPATH="${S}:${T}/golibdir" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
+}
+
+src_install() {
+ golang_install_pkgs
+ exeopts -m0755 -p # preserve timestamps for bug 551486
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/*
+}
+
+src_test() {
+ GOPATH="${S}:${T}/golibdir" \
+ go test -v -work -x "${EGO_PN}" || die
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2018-08-20 0:20 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2018-08-20 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 8879bac8a4cce89f6a5583ed8076e0ae770e71c6
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 23:05:36 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 00:20:39 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8879bac8
dev-go/go-text: update 9999 ebuild
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-text/go-text-9999.ebuild | 46 +++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild
index 5768c80ac6f..4d851787c26 100644
--- a/dev-go/go-text/go-text-9999.ebuild
+++ b/dev-go/go-text/go-text-9999.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-EGO_PN=golang.org/x/text/...
EGO_SRC=golang.org/x/text
+EGO_PN=${EGO_SRC}/...
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
- KEYWORDS="~amd64"
- EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7"
+ KEYWORDS="~amd64 ~arm ~x86"
+ EGIT_COMMIT="v${PV}"
SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
@@ -21,28 +21,28 @@ HOMEPAGE="https://godoc.org/golang.org/x/text"
LICENSE="BSD"
SLOT="0/${PVR}"
IUSE=""
-DEPEND=""
+DEPEND=">=dev-go/go-tools-0_pre20180817"
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_compile() {
+ # Create an isolated golibdir in order to avoid an
+ # "use of internal package not allowed" error when
+ # and older version is installed.
+ mkdir -p "${T}/golibdir/src/golang.org/x" || die
+ ln -s "$(get_golibdir_gopath)/src/golang.org/x/tools" "${T}/golibdir/src/golang.org/x/tools" || die
+ GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
}
src_install() {
- golang-build_src_install
- dobin bin/*
+ rm -rf "${S}/src/${EGO_SRC}/.git"* || die
+ golang_install_pkgs
+ exeopts -m0755 -p # preserve timestamps for bug 551486
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/*
+}
+
+src_test() {
+ GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
+ go test -v -work -x "${EGO_PN}" || die
}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2018-08-20 0:40 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2018-08-20 0:40 UTC (permalink / raw
To: gentoo-commits
commit: 6e1f89622ec2d4f5fd07dfded064be5f3cb0d60e
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 00:36:35 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 00:40:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1f8962
dev-go/go-text: remove old version
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-text/Manifest | 1 -
dev-go/go-text/go-text-0_pre20150806.ebuild | 49 -----------------------------
2 files changed, 50 deletions(-)
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
index b2c4e9e89ff..16810c9fb0d 100644
--- a/dev-go/go-text/Manifest
+++ b/dev-go/go-text/Manifest
@@ -1,3 +1,2 @@
DIST go-text-0.3.0.tar.gz 6102619 BLAKE2B c92e68014a8c157d76741c02acd708771d66bd3dda5b19285f5aa3e073e0fe3fccb9054744d35ea62b681ae4421bb7489238d6868f9314fb26f88e002287abe8 SHA512 bd60dfaa7d9dbfca171a3ba40b51f5663c01257cf3b12b618d35689a97ab2212d316d5716ff09681bf40b099f7e20a0e0df8cfc065699cb6a07ad1dc2e2bc189
-DIST go-text-0_pre20150806.tar.gz 3736536 BLAKE2B afc6a95116426f9b981432c772c374cb3c84d300e81af1599383be74d00830556d36ff614d88e8952b89974ecb238b77725a3d1a83dc65a0f85dafa3d29a2dff SHA512 dd0fc8b5abdfa6f005316bb7828c03a081485e0bd33cbf86c0b83f8bf9240973a7b0a2e6f52ef75f48ec00fc922be21a6c65ff9eb4080f28cb3f280bd4c4f5c6
DIST go-text-0_pre20160211.tar.gz 4015547 BLAKE2B ad85f27761e2fd91a6acff497fe9b720484d51c6d75032c02fe21784dff78b4b900ac95aab394a6db1f7b2c9fb5a3d1cbde8db2aaa4c099b19357d82f747eb89 SHA512 066e53f6e094a6cf3effe1a9376f7bde41c3059099381bb5adf8c84589de4dab9115ce3c8cb7f89f90e2601422f79e3906f8f498d66e364da9f830ede1f7f05f
diff --git a/dev-go/go-text/go-text-0_pre20150806.ebuild b/dev-go/go-text/go-text-0_pre20150806.ebuild
deleted file mode 100644
index 3fb9794a126..00000000000
--- a/dev-go/go-text/go-text-0_pre20150806.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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/*
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2019-03-19 20:19 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2019-03-19 20:19 UTC (permalink / raw
To: gentoo-commits
commit: 30cdd8569e83c15fa24520ccc3cdb9dafe1f2342
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 19 20:17:47 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 20:17:52 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30cdd856
dev-go/go-text: filter GOCACHE vars (bug 680946)
Reported-by: Toralf Förster <toralf <AT> gentoo.org>
Closes: https://bugs.gentoo.org/680946
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-text/go-text-0.3.0.ebuild | 3 ++-
dev-go/go-text/go-text-0_pre20160211.ebuild | 3 ++-
dev-go/go-text/go-text-9999.ebuild | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-go/go-text/go-text-0.3.0.ebuild b/dev-go/go-text/go-text-0.3.0.ebuild
index 84a3b008c10..c590eadea63 100644
--- a/dev-go/go-text/go-text-0.3.0.ebuild
+++ b/dev-go/go-text/go-text-0.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -24,6 +24,7 @@ DEPEND=">=dev-go/go-tools-0_pre20180817"
RDEPEND=""
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #680946
# Create an isolated golibdir in order to avoid an
# "use of internal package not allowed" error when
# and older version is installed.
diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild
index 979b835ba8c..a723fc4cfc5 100644
--- a/dev-go/go-text/go-text-0_pre20160211.ebuild
+++ b/dev-go/go-text/go-text-0_pre20160211.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,6 +25,7 @@ DEPEND=""
RDEPEND=""
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #680946
# 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
diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild
index 4d851787c26..0740869fb57 100644
--- a/dev-go/go-text/go-text-9999.ebuild
+++ b/dev-go/go-text/go-text-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,6 +25,7 @@ DEPEND=">=dev-go/go-tools-0_pre20180817"
RDEPEND=""
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #680946
# Create an isolated golibdir in order to avoid an
# "use of internal package not allowed" error when
# and older version is installed.
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/
@ 2019-11-29 18:25 Zac Medico
0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2019-11-29 18:25 UTC (permalink / raw
To: gentoo-commits
commit: 795f4009c88fe45cb01445940e5fcc4a33565221
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 18:24:38 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 18:24:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795f4009
dev-go/go-text: Remove old version 0_pre20160211
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-text/Manifest | 1 -
dev-go/go-text/go-text-0_pre20160211.ebuild | 51 -----------------------------
2 files changed, 52 deletions(-)
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
index 16810c9fb0d..7c92c68dd7d 100644
--- a/dev-go/go-text/Manifest
+++ b/dev-go/go-text/Manifest
@@ -1,2 +1 @@
DIST go-text-0.3.0.tar.gz 6102619 BLAKE2B c92e68014a8c157d76741c02acd708771d66bd3dda5b19285f5aa3e073e0fe3fccb9054744d35ea62b681ae4421bb7489238d6868f9314fb26f88e002287abe8 SHA512 bd60dfaa7d9dbfca171a3ba40b51f5663c01257cf3b12b618d35689a97ab2212d316d5716ff09681bf40b099f7e20a0e0df8cfc065699cb6a07ad1dc2e2bc189
-DIST go-text-0_pre20160211.tar.gz 4015547 BLAKE2B ad85f27761e2fd91a6acff497fe9b720484d51c6d75032c02fe21784dff78b4b900ac95aab394a6db1f7b2c9fb5a3d1cbde8db2aaa4c099b19357d82f747eb89 SHA512 066e53f6e094a6cf3effe1a9376f7bde41c3059099381bb5adf8c84589de4dab9115ce3c8cb7f89f90e2601422f79e3906f8f498d66e364da9f830ede1f7f05f
diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild
deleted file mode 100644
index a723fc4cfc5..00000000000
--- a/dev-go/go-text/go-text-0_pre20160211.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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() {
- export -n GOCACHE XDG_CACHE_HOME #680946
- # 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
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-11-29 18:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21 13:57 [gentoo-commits] repo/gentoo:master commit in: dev-go/go-text/ Marek Szuba
-- strict thread matches above, loose matches on Subject: below --
2019-11-29 18:25 Zac Medico
2019-03-19 20:19 Zac Medico
2018-08-20 0:40 Zac Medico
2018-08-20 0:20 Zac Medico
2018-08-19 6:38 Zac Medico
2016-08-23 19:04 Markus Meier
2016-02-20 21:04 Zac Medico
2016-02-11 16:59 Zac Medico
2015-08-10 20:08 William Hubbs
2015-08-10 5:36 Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox