summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-31 12:24:17 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-31 12:24:58 +0200
commit9761dd993c705e4d198bdef66edddef4e864bfba (patch)
treebad57aba795276b7dee89103c2b23db2400ab0ec /dev-go
parentdev-go/go-sys: Remove last-rited pkg (diff)
downloadgentoo-9761dd993c705e4d198bdef66edddef4e864bfba.tar.gz
gentoo-9761dd993c705e4d198bdef66edddef4e864bfba.tar.bz2
gentoo-9761dd993c705e4d198bdef66edddef4e864bfba.zip
dev-go/go-net: Remove last-rited pkg
Bug: https://bugs.gentoo.org/710142 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-net/Manifest1
-rw-r--r--dev-go/go-net/go-net-0_pre20180816.ebuild56
-rw-r--r--dev-go/go-net/go-net-9999.ebuild59
-rw-r--r--dev-go/go-net/metadata.xml10
4 files changed, 0 insertions, 126 deletions
diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest
deleted file mode 100644
index 656f26e86037..000000000000
--- a/dev-go/go-net/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST go-net-0_pre20180816.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
diff --git a/dev-go/go-net/go-net-0_pre20180816.ebuild b/dev-go/go-net/go-net-0_pre20180816.ebuild
deleted file mode 100644
index 6568f4a0837f..000000000000
--- a/dev-go/go-net/go-net-0_pre20180816.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN=golang.org/x/net/...
-EGO_SRC=golang.org/x/net
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- KEYWORDS="~amd64 ~arm ~x86"
- EGIT_COMMIT="aaf60122140d3fcf75376d319f0554393160eb50"
- SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go supplementary network libraries"
-HOMEPAGE="https://godoc.org/golang.org/x/net"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-IUSE=""
-DEPEND=">=dev-go/go-crypto-0_pre20180816:=
- >=dev-go/go-sys-0_pre20180816:=
- >=dev-go/go-text-0.3.0:="
-RDEPEND=""
-
-src_prepare() {
- default
- sed -e 's:TestDiag(:_\0:' \
- -e 's:TestConcurrentNonPrivilegedListenPacket(:_\0:' \
- -i src/${EGO_SRC}/icmp/diag_test.go || die
- sed -e 's:TestConcurrentNonPrivilegedListenPacket(:_\0:' \
- -i src/${EGO_SRC}/icmp/diag_test.go || die
- sed -e 's:TestMultipartMessageBodyLen(:_\0:' \
- -i src/${EGO_SRC}/icmp/multipart_test.go || die
-}
-
-src_compile() {
- local x
- mkdir -p "${T}/golibdir/src/golang.org/x" || die
- for x in sys text crypto; do
- ln -s "$(get_golibdir_gopath)/src/golang.org/x/${x}" "${T}/golibdir/src/golang.org/x/${x}" || die
- done
- env GOPATH="${S}:${T}/golibdir" \
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
-}
-
-src_install() {
- golang_install_pkgs
-}
-
-src_test() {
- GOPATH="${S}:${T}/golibdir" \
- go test -v -work -x "${EGO_PN}" || die
-}
diff --git a/dev-go/go-net/go-net-9999.ebuild b/dev-go/go-net/go-net-9999.ebuild
deleted file mode 100644
index f9b9ae5ffca2..000000000000
--- a/dev-go/go-net/go-net-9999.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_SRC=golang.org/x/net
-EGO_PN=${EGO_SRC}/...
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- KEYWORDS="~amd64 ~arm ~x86"
- EGIT_COMMIT="aaf60122140d3fcf75376d319f0554393160eb50"
- SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go supplementary network libraries"
-HOMEPAGE="https://godoc.org/golang.org/x/net"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-IUSE=""
-DEPEND=">=dev-go/go-crypto-0_pre20180816:=
- >=dev-go/go-sys-0_pre20180816:=
- >=dev-go/go-text-0.3.0:="
-RDEPEND=""
-
-src_prepare() {
- default
- sed -e 's:TestDiag(:_\0:' \
- -e 's:TestConcurrentNonPrivilegedListenPacket(:_\0:' \
- -i src/${EGO_SRC}/icmp/diag_test.go || die
- sed -e 's:TestConcurrentNonPrivilegedListenPacket(:_\0:' \
- -i src/${EGO_SRC}/icmp/diag_test.go || die
- sed -e 's:TestMultipartMessageBodyLen(:_\0:' \
- -i src/${EGO_SRC}/icmp/multipart_test.go || die
-}
-
-src_compile() {
- local x
- mkdir -p "${T}/golibdir/src/golang.org/x" || die
- for x in sys text crypto; do
- ln -s "$(get_golibdir_gopath)/src/golang.org/x/${x}" "${T}/golibdir/src/golang.org/x/${x}" || die
- done
- env GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
-}
-
-src_test() {
- GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
- go test -v -work -x "${EGO_PN}" || die
-}
-
-src_install() {
- rm -rf "${S}/src/${EGO_SRC}/.git"* || die
- golang_install_pkgs
- exeinto "$(go env GOROOT)/bin"
- doexe bin/*
-}
diff --git a/dev-go/go-net/metadata.xml b/dev-go/go-net/metadata.xml
deleted file mode 100644
index 830cd454b15b..000000000000
--- a/dev-go/go-net/metadata.xml
+++ /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">golang/net</remote-id>
- </upstream>
-</pkgmetadata>