1 |
commit: 795f4009c88fe45cb01445940e5fcc4a33565221 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 18:24:38 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 18:24:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795f4009 |
7 |
|
8 |
dev-go/go-text: Remove old version 0_pre20160211 |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
dev-go/go-text/Manifest | 1 - |
14 |
dev-go/go-text/go-text-0_pre20160211.ebuild | 51 ----------------------------- |
15 |
2 files changed, 52 deletions(-) |
16 |
|
17 |
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest |
18 |
index 16810c9fb0d..7c92c68dd7d 100644 |
19 |
--- a/dev-go/go-text/Manifest |
20 |
+++ b/dev-go/go-text/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST go-text-0.3.0.tar.gz 6102619 BLAKE2B c92e68014a8c157d76741c02acd708771d66bd3dda5b19285f5aa3e073e0fe3fccb9054744d35ea62b681ae4421bb7489238d6868f9314fb26f88e002287abe8 SHA512 bd60dfaa7d9dbfca171a3ba40b51f5663c01257cf3b12b618d35689a97ab2212d316d5716ff09681bf40b099f7e20a0e0df8cfc065699cb6a07ad1dc2e2bc189 |
23 |
-DIST go-text-0_pre20160211.tar.gz 4015547 BLAKE2B ad85f27761e2fd91a6acff497fe9b720484d51c6d75032c02fe21784dff78b4b900ac95aab394a6db1f7b2c9fb5a3d1cbde8db2aaa4c099b19357d82f747eb89 SHA512 066e53f6e094a6cf3effe1a9376f7bde41c3059099381bb5adf8c84589de4dab9115ce3c8cb7f89f90e2601422f79e3906f8f498d66e364da9f830ede1f7f05f |
24 |
|
25 |
diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild |
26 |
deleted file mode 100644 |
27 |
index a723fc4cfc5..00000000000 |
28 |
--- a/dev-go/go-text/go-text-0_pre20160211.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,51 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-EGO_PN=golang.org/x/text/... |
37 |
-EGO_SRC=golang.org/x/text |
38 |
- |
39 |
-if [[ ${PV} = *9999* ]]; then |
40 |
- inherit golang-vcs |
41 |
-else |
42 |
- KEYWORDS="~amd64 ~arm ~x86" |
43 |
- EGIT_COMMIT="07b9a78963006a15c538ec5175243979025fa7a8" |
44 |
- SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
- inherit golang-vcs-snapshot |
46 |
-fi |
47 |
-inherit golang-build |
48 |
- |
49 |
-DESCRIPTION="Go text processing support" |
50 |
-HOMEPAGE="https://godoc.org/golang.org/x/text" |
51 |
-LICENSE="BSD" |
52 |
-SLOT="0/${PVR}" |
53 |
-IUSE="" |
54 |
-DEPEND="" |
55 |
-RDEPEND="" |
56 |
- |
57 |
-src_compile() { |
58 |
- export -n GOCACHE XDG_CACHE_HOME #680946 |
59 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
60 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
61 |
- rm -rf "${T}/goroot/src/${EGO_SRC}" || die |
62 |
- rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die |
63 |
- export GOROOT="${T}/goroot" |
64 |
- golang-build_src_compile |
65 |
-} |
66 |
- |
67 |
-src_install() { |
68 |
- golang-build_src_install |
69 |
- export -n GOROOT |
70 |
- exeopts -m0755 -p # preserve timestamps for bug 551486 |
71 |
- exeinto "$(go env GOROOT)/bin" |
72 |
- doexe bin/* |
73 |
-} |
74 |
- |
75 |
-src_test() { |
76 |
- # omit $(get_golibdir_gopath) from GOPATH: |
77 |
- #package golang.org/x/text/display (test) |
78 |
- # imports golang.org/x/text/internal/testtext: use of internal package not allowed |
79 |
- #FAIL golang.org/x/text/display [setup failed] |
80 |
- GOPATH="${WORKDIR}/${P}" go test -v -work -x "${EGO_PN}" || die |
81 |
-} |