Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-go/go-text/
Date: Sun, 16 Jan 2022 17:36:43
Message-Id: 1642354559.5dc967572dd212832fdcde3b19441b4c5b294717.jsmolic@gentoo
1 commit: 5dc967572dd212832fdcde3b19441b4c5b294717
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 16 17:35:59 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 16 17:35:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc96757
7
8 dev-go/go-text: treeclean
9
10 Closes: https://bugs.gentoo.org/800141
11 Closes: https://bugs.gentoo.org/688714
12 Closes: https://bugs.gentoo.org/627072
13 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
14
15 dev-go/go-text/Manifest | 1 -
16 dev-go/go-text/go-text-0.3.0.ebuild | 47 -----------------------------------
17 dev-go/go-text/go-text-9999.ebuild | 49 -------------------------------------
18 dev-go/go-text/metadata.xml | 10 --------
19 profiles/package.mask | 5 ----
20 5 files changed, 112 deletions(-)
21
22 diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
23 deleted file mode 100644
24 index 7c92c68dd7db..000000000000
25 --- a/dev-go/go-text/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST go-text-0.3.0.tar.gz 6102619 BLAKE2B c92e68014a8c157d76741c02acd708771d66bd3dda5b19285f5aa3e073e0fe3fccb9054744d35ea62b681ae4421bb7489238d6868f9314fb26f88e002287abe8 SHA512 bd60dfaa7d9dbfca171a3ba40b51f5663c01257cf3b12b618d35689a97ab2212d316d5716ff09681bf40b099f7e20a0e0df8cfc065699cb6a07ad1dc2e2bc189
29
30 diff --git a/dev-go/go-text/go-text-0.3.0.ebuild b/dev-go/go-text/go-text-0.3.0.ebuild
31 deleted file mode 100644
32 index c590eadea63f..000000000000
33 --- a/dev-go/go-text/go-text-0.3.0.ebuild
34 +++ /dev/null
35 @@ -1,47 +0,0 @@
36 -# Copyright 1999-2019 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -EGO_PN=golang.org/x/text/...
42 -
43 -if [[ ${PV} = *9999* ]]; then
44 - inherit golang-vcs
45 -else
46 - KEYWORDS="~amd64 ~arm ~x86"
47 - EGIT_COMMIT="v${PV}"
48 - SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
49 - inherit golang-vcs-snapshot
50 -fi
51 -inherit golang-build
52 -
53 -DESCRIPTION="Go text processing support"
54 -HOMEPAGE="https://godoc.org/golang.org/x/text"
55 -LICENSE="BSD"
56 -SLOT="0/${PVR}"
57 -IUSE=""
58 -DEPEND=">=dev-go/go-tools-0_pre20180817"
59 -RDEPEND=""
60 -
61 -src_compile() {
62 - export -n GOCACHE XDG_CACHE_HOME #680946
63 - # Create an isolated golibdir in order to avoid an
64 - # "use of internal package not allowed" error when
65 - # and older version is installed.
66 - mkdir -p "${T}/golibdir/src/golang.org/x" || die
67 - ln -s "$(get_golibdir_gopath)/src/golang.org/x/tools" "${T}/golibdir/src/golang.org/x/tools" || die
68 - GOPATH="${S}:${T}/golibdir" \
69 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
70 -}
71 -
72 -src_install() {
73 - golang_install_pkgs
74 - exeopts -m0755 -p # preserve timestamps for bug 551486
75 - exeinto "$(go env GOROOT)/bin"
76 - doexe bin/*
77 -}
78 -
79 -src_test() {
80 - GOPATH="${S}:${T}/golibdir" \
81 - go test -v -work -x "${EGO_PN}" || die
82 -}
83
84 diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild
85 deleted file mode 100644
86 index 0740869fb574..000000000000
87 --- a/dev-go/go-text/go-text-9999.ebuild
88 +++ /dev/null
89 @@ -1,49 +0,0 @@
90 -# Copyright 1999-2019 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=6
94 -
95 -EGO_SRC=golang.org/x/text
96 -EGO_PN=${EGO_SRC}/...
97 -
98 -if [[ ${PV} = *9999* ]]; then
99 - inherit golang-vcs
100 -else
101 - KEYWORDS="~amd64 ~arm ~x86"
102 - EGIT_COMMIT="v${PV}"
103 - SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
104 - inherit golang-vcs-snapshot
105 -fi
106 -inherit golang-build
107 -
108 -DESCRIPTION="Go text processing support"
109 -HOMEPAGE="https://godoc.org/golang.org/x/text"
110 -LICENSE="BSD"
111 -SLOT="0/${PVR}"
112 -IUSE=""
113 -DEPEND=">=dev-go/go-tools-0_pre20180817"
114 -RDEPEND=""
115 -
116 -src_compile() {
117 - export -n GOCACHE XDG_CACHE_HOME #680946
118 - # Create an isolated golibdir in order to avoid an
119 - # "use of internal package not allowed" error when
120 - # and older version is installed.
121 - mkdir -p "${T}/golibdir/src/golang.org/x" || die
122 - ln -s "$(get_golibdir_gopath)/src/golang.org/x/tools" "${T}/golibdir/src/golang.org/x/tools" || die
123 - GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
124 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
125 -}
126 -
127 -src_install() {
128 - rm -rf "${S}/src/${EGO_SRC}/.git"* || die
129 - golang_install_pkgs
130 - exeopts -m0755 -p # preserve timestamps for bug 551486
131 - exeinto "$(go env GOROOT)/bin"
132 - doexe bin/*
133 -}
134 -
135 -src_test() {
136 - GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
137 - go test -v -work -x "${EGO_PN}" || die
138 -}
139
140 diff --git a/dev-go/go-text/metadata.xml b/dev-go/go-text/metadata.xml
141 deleted file mode 100644
142 index 67636dcbe6a6..000000000000
143 --- a/dev-go/go-text/metadata.xml
144 +++ /dev/null
145 @@ -1,10 +0,0 @@
146 -<?xml version="1.0" encoding="UTF-8"?>
147 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
148 -<pkgmetadata>
149 - <maintainer type="person">
150 - <email>zmedico@g.o</email>
151 - </maintainer>
152 - <upstream>
153 - <remote-id type="github">golang/text</remote-id>
154 - </upstream>
155 -</pkgmetadata>
156
157 diff --git a/profiles/package.mask b/profiles/package.mask
158 index 08f143e83260..d13f1468e71e 100644
159 --- a/profiles/package.mask
160 +++ b/profiles/package.mask
161 @@ -266,11 +266,6 @@ app-emulation/qemu-riscv64-bin
162 # Package without consumers. Bug #771693 (multiple CVEs). Removal in 30 days.
163 dev-java/jackson
164
165 -# Zac Medico <zmedico@g.o> (2021-12-18)
166 -# Fails to compile and has no reverse dependencies.
167 -# Removal in 30 days. Bug #800141
168 -dev-go/go-text
169 -
170 # Mart Raudsepp <leio@g.o> (2021-12-18)
171 # GNOME 42 mask
172 >=gui-libs/libhandy-1.5.0