diff options
Diffstat (limited to 'dev-go/go-net')
-rw-r--r-- | dev-go/go-net/Manifest | 4 | ||||
-rw-r--r-- | dev-go/go-net/go-net-0_pre20180816.ebuild | 56 | ||||
-rw-r--r-- | dev-go/go-net/go-net-9999.ebuild | 59 | ||||
-rw-r--r-- | dev-go/go-net/metadata.xml | 10 |
4 files changed, 0 insertions, 129 deletions
diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest deleted file mode 100644 index d2913a1e8caa..000000000000 --- a/dev-go/go-net/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST go-net-0_pre20180816.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9 -EBUILD go-net-0_pre20180816.ebuild 1498 BLAKE2B c642395af4f3370a6b3c5c0f2f0350a128ce2427c932b60be40ff2c152b8570cabcd1291f05d2f171db1dd14efb1d1cd184643992dc0d1f18af51ef8c0368062 SHA512 280c1b31440ddd5eed77b18465419518251497c03bd82044ab8cb9e6696e6b8069d530327f30e269f29431a103d42acce19ebfb233f0004faaecc3d869d49ae5 -EBUILD go-net-9999.ebuild 1614 BLAKE2B 5b181ec3ac0cdaf1727bce7be573ce092b64c8972b6782cbaa559718b218ffaea2c107946732d12f34aff891082b339ea18f50ebbd0c669b15a29a60f9f3c161 SHA512 0e1ab66f4f4fc977fa3f95b1c20d58c57921d3fe70aa1c7b0f82a3b1efaf14b92610d9e4f7418b6de9630baabc7c03b87b647038954383c1409d0683b32ca21e -MISC metadata.xml 301 BLAKE2B 842eb1c02738ef2694108db727a2f89137c7c3bb45743df6013f7b5542ee9029df0515680905bb93f628aeae74870b5a3167693c7345ad00ad15dd9920e86286 SHA512 bef6b9d68e27cb70d096a5abeac35df9248998041cb8eb370853e9044d7994b6dc3c32535dac71688d143ae18dd2ca1118fede990101094e724031b042fa71f6 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> |