dev-go/go-oauth2: Remove last-rited pkg
authorMichał Górny <mgorny@gentoo.org>
Wed, 16 Oct 2019 08:07:53 +0000 (10:07 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 16 Oct 2019 08:14:07 +0000 (10:14 +0200)
Closes: https://bugs.gentoo.org/694390
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-go/go-oauth2/Manifest [deleted file]
dev-go/go-oauth2/go-oauth2-0_pre20150701.ebuild [deleted file]
dev-go/go-oauth2/go-oauth2-0_pre20160222.ebuild [deleted file]
dev-go/go-oauth2/go-oauth2-9999.ebuild [deleted file]
dev-go/go-oauth2/metadata.xml [deleted file]
profiles/package.mask

diff --git a/dev-go/go-oauth2/Manifest b/dev-go/go-oauth2/Manifest
deleted file mode 100644 (file)
index 48ccd79..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST gcloud-golang-872c736f496c2ba12786bedbb8325576bbdb33cf.tar.gz 217728 BLAKE2B a87c023b8e9a5c6d262b94efbd1e323910a06594e9a1dced9d5709dbf24cd4b487239636044e2ceb93e4bd56f3d1a45ce30b6bfbdb02f913bda2cfe08c855d71 SHA512 45f0533c842a59dfee3b6d3f1facb9535466119601644a9a2c8c8b4f573889713b1d82d0acdeef96ea246d47d79402d09592b25da3ffbf73953bd28bf5b92ed9
-DIST gcloud-golang-e34a32f9b0ecbc0784865fb2d47f3818c09521d4.tar.gz 168358 BLAKE2B d259646d2debc3ba86fe13fd4dd1854f08ff0fdf62c1db16b112e5a04778a929c284ec36802667c5f4cebdc64be76d7dd8a4fdbf8bba539fe3623bed3f9f4e7d SHA512 135124280cdbf0a9e62f811164b4b97f0ee5142736cc4a06efafd48162a89dd1a6f186264c925da27adc970c964ab0af75423025fd125b772ddb99320b816219
-DIST go-net-0_pre20160216.tar.gz 741192 BLAKE2B ed4ca3ddc71f794a92746e360157967582958e4de29a46c5e63964694986e5a8a4f95062a1d46881941e8e8dfb848bbd9c4bd3b7008d8f2da357c2cae9a441ae SHA512 75db9098b33ede5621fce36645ebe946fad911c815dae219d74242b15714d1b9a3d8544f5f8c90b58989cea3a46b5688d20f705cb24a7d31f201ec218e69e78f
-DIST go-oauth2-0_pre20150701.tar.gz 32040 BLAKE2B 5d2bd7f2916b045767c16f31156edee315c2c4e592cb773380a5c284a2c619433853d1aa6ca2b6c4c953a0cd82647c645afc2a8d003b587e7030d037f93a7504 SHA512 d809e1d63c7b5a4b388616d930cb22978b1653e2314b208d12679242bdd0e9d72f275f5ade7aa468b1dcf3960aa70ff94183ae1dd04325b24cdd20ef4834880a
-DIST go-oauth2-0_pre20160222.tar.gz 34556 BLAKE2B e8e64b5e7a8b43b9297c8ff38fdf6feedd9e4f80931dafcd3d86cc8804c35de973d1867b707cd7febabbeacdfecf46e1da09f3bece21bb6411c4dc9d980adf68 SHA512 23fbc7744fe35f893d385a308428d2a3b8ddbf45fa12c5b43d3dc619e6bb422f30ce80774a25b88a8f74f9343c57280546183b45364456e1c60aee96aa6d0f77
diff --git a/dev-go/go-oauth2/go-oauth2-0_pre20150701.ebuild b/dev-go/go-oauth2/go-oauth2-0_pre20150701.ebuild
deleted file mode 100644 (file)
index f328af9..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils golang-base
-
-MY_PN=${PN##*-}
-GO_PN=golang.org/x/${MY_PN}
-EGIT_COMMIT="8914e5017ca260f2a3a1575b1e6868874050d95e"
-
-DESCRIPTION="Go client implementation for OAuth 2.0 spec"
-HOMEPAGE="https://godoc.org/golang.org/x/oauth2"
-SRC_URI="
-       https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
-       https://github.com/GoogleCloudPlatform/gcloud-golang/archive/e34a32f9b0ecbc0784865fb2d47f3818c09521d4.tar.gz -> gcloud-golang-e34a32f9b0ecbc0784865fb2d47f3818c09521d4.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="
-       dev-go/go-net:=
-       dev-go/go-tools:="
-RDEPEND=""
-
-S="${WORKDIR}/src/${GO_PN}"
-
-EGIT_CHECKOUT_DIR="${S}"
-
-src_unpack() {
-       default
-       mkdir -p src/${GO_PN%/*} || die
-       mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
-
-       # Create a writable GOROOT in order to avoid sandbox violations.
-       export GOROOT="${WORKDIR}/goroot" GOPATH="${WORKDIR}/:$(get_golibdir_gopath)"
-       cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
-       rm -rf "${GOROOT}/src/${GO_PN}" || die
-
-       mkdir -p "${GOROOT}/src/google.golang.org" || die
-       rm -rf "${GOROOT}/src/google.golang.org"/* || die
-       rm -rf "${GOROOT}/pkg/${KERNEL}_${ARCH}/google.golang.org" || die
-       mv gcloud-golang-e34a32f9b0ecbc0784865fb2d47f3818c09521d4 "${GOROOT}/src/google.golang.org/cloud" || die
-}
-
-src_compile() {
-       go install -v -x -work google.golang.org/cloud/compute/metadata || die
-       go install -v -x -work ${GO_PN}/... || die
-}
-
-src_test() {
-       # google/example_test.go imports appengine, introducing a circular dep
-       mv google/example_test.go{,_}
-       go test -x -v ${GO_PN}/... || die $?
-       mv google/example_test.go{_,}
-}
-
-src_install() {
-       insinto "$(get_golibdir)"
-       egit_clean "${WORKDIR}"/{pkg,src}
-       insopts -m0644 -p # preserve timestamps for bug 551486
-       doins -r "${WORKDIR}"/{pkg,src}
-}
diff --git a/dev-go/go-oauth2/go-oauth2-0_pre20160222.ebuild b/dev-go/go-oauth2/go-oauth2-0_pre20160222.ebuild
deleted file mode 100644 (file)
index 92f8ec9..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils golang-base
-
-MY_PN=${PN##*-}
-EGO_PN="golang.org/x/${MY_PN}/..."
-EGIT_COMMIT="2cd4472c321b6cba78e029d99f0e7fe51032fd21"
-
-DESCRIPTION="Go client implementation for OAuth 2.0 spec"
-HOMEPAGE="https://godoc.org/golang.org/x/oauth2"
-SRC_URI="
-       https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
-       https://github.com/golang/net/archive/b6d7b1396ec874c3b00f6c84cd4301a17c56c8ed.tar.gz -> go-net-0_pre20160216.tar.gz
-       https://github.com/GoogleCloudPlatform/gcloud-golang/archive/872c736f496c2ba12786bedbb8325576bbdb33cf.tar.gz -> gcloud-golang-872c736f496c2ba12786bedbb8325576bbdb33cf.tar.gz"
-
-SLOT="0/${PVR}"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-go/go-tools"
-RDEPEND=""
-
-EGIT_CHECKOUT_DIR="${S}"
-
-get_archive_go_package() {
-       local archive=${1} uri x
-       case ${archive} in
-               ${PN}-*) echo "oauth2-* golang.org/x/oauth2"; return;;
-               gcloud-golang-*) echo "gcloud-golang-* google.golang.org/cloud"; return;;
-               go-net-*) echo "net-* golang.org/x/net"; return;;
-       esac
-       for x in ${SRC_URI}; do
-               if [[ ${x} == http* ]]; then
-                       uri=${x}
-               elif [[ ${x} == ${archive} ]]; then
-                       break
-               fi
-       done
-       uri=${uri#https://}
-       uri=${uri%/archive/*}
-       echo "${uri##*/}-* ${uri}"
-}
-
-unpack_go_packages() {
-       local go_package pattern x
-       # Unpack packages to appropriate locations for GOPATH
-       for x in ${A}; do
-               unpack ${x}
-               if [[ ${x} == *.tar.gz ]]; then
-                       go_package=$(get_archive_go_package ${x})
-                       pattern=${go_package%% *}
-                       go_package=${go_package##* }
-                       if [[ ${x%.tar.gz} -ef ${S} ]]; then
-                               mv "${S}"{,_} || die
-                               mkdir -p "${S}/src/${go_package%/*}" || die
-                               mv "${S}"_ "${S}/src/${go_package}" || die || die
-                       else
-                               mkdir -p "${S}/src/${go_package%/*}" || die
-                               for x in ${pattern}; do
-                                       if [[ ! ${x} -ef ${S} ]]; then
-                                               mv "${x}" "${S}/src/${go_package}" || die
-                                       fi
-                               done
-                       fi
-               fi
-       done
-}
-
-src_unpack() {
-       unpack_go_packages
-
-       # Create a writable GOROOT in order to avoid sandbox violations.
-       # Omit $(get_golibdir_gopath) from GOPATH, in order to avoid
-       # more sandbox violations (bug 575722).
-       GOROOT="${WORKDIR}/goroot" GOPATH="${S}"
-       cp -sR "$(go env GOROOT)" "${GOROOT}" || die
-       rm -rf "${GOROOT}/src/${EGO_PN%/*}" || die
-       export GOROOT GOPATH
-
-       mkdir -p "${GOROOT}/src/google.golang.org" || die
-       rm -rf "${GOROOT}/src/google.golang.org"/* || die
-       rm -rf "${GOROOT}/pkg/${KERNEL}_${ARCH}/google.golang.org" || die
-}
-
-src_compile() {
-       GOROOT="${GOROOT}" GOPATH="${GOPATH}" \
-               go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
-}
-
-src_test() {
-       # google/example_test.go imports appengine, introducing a circular dep
-       mv src/${EGO_PN%/*}/google/example_test.go{,_} || die
-       go test -x -v "${EGO_PN}" || die $?
-       mv src/${EGO_PN%/*}/google/example_test.go{_,} || die
-}
-
-src_install() {
-       golang_install_pkgs
-}
-
-golang_install_pkgs() {
-       insinto $(dirname "$(get_golibdir)/src/${EGO_PN%/*}")
-       rm -rf "${S}"/src/${EGO_PN%/*}/.git*
-       doins -r "${S}"/src/${EGO_PN%/*}
-       insinto $(dirname "$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
-       doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a}
-}
diff --git a/dev-go/go-oauth2/go-oauth2-9999.ebuild b/dev-go/go-oauth2/go-oauth2-9999.ebuild
deleted file mode 100644 (file)
index b7a31ca..0000000
+++ /dev/null
@@ -1,29 +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/oauth2
-EGO_SRC=golang.org/x/oauth2
-
-if [[ ${PV} = *9999* ]]; then
-       inherit golang-vcs
-else
-       KEYWORDS="~amd64 ~x86"
-       EGIT_COMMIT="b5adcc2dcdf009d0391547edc6ecbaff889f5bb9"
-       SRC_URI="https://github.com/golang/oauth2/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-       inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go client implementation for OAuth 2.0 spec"
-HOMEPAGE="https://godoc.org/golang.org/x/oauth2"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-IUSE=""
-
-DEPEND="
-       dev-go/go-net:=
-       dev-go/go-tools:="
-RDEPEND=""
diff --git a/dev-go/go-oauth2/metadata.xml b/dev-go/go-oauth2/metadata.xml
deleted file mode 100644 (file)
index 8f2033d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="person">
-    <email>zmedico@gentoo.org</email>
-  </maintainer>
-  <upstream>
-    <remote-id type="github">GoogleCloudPlatform/gcloud-golang</remote-id>
-  </upstream>
-</pkgmetadata>
index 1ce5eecbcb9ab2b07a70ad070d137aa53a20ad8b..ddeddc449735d898efa056df40e6048d53b63b6f 100644 (file)
@@ -450,11 +450,6 @@ app-text/gnopaster
 app-emulation/vmips
 app-emulation/vmips-cross-bin
 
-# Zac Medico <zmedico@gentoo.org> (2019-09-14)
-# No reverse dependencies.
-# Removal in 30 days.  Bug #694390.
-dev-go/go-oauth2
-
 # Lars Wendler <polynomial-c@gentoo.org> (2019-09-04)
 # Unofficial build. Superseded by official 2.49.5 release.
 # Masked for removal.