diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-go/go-net | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-go/go-net')
-rw-r--r-- | dev-go/go-net/Manifest | 6 | ||||
-rw-r--r-- | dev-go/go-net/go-net-0_pre20150804.ebuild | 42 | ||||
-rw-r--r-- | dev-go/go-net/go-net-0_pre20160216.ebuild | 43 | ||||
-rw-r--r-- | dev-go/go-net/go-net-9999.ebuild | 43 | ||||
-rw-r--r-- | dev-go/go-net/metadata.xml | 10 |
5 files changed, 144 insertions, 0 deletions
diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest new file mode 100644 index 000000000000..85f625fe0576 --- /dev/null +++ b/dev-go/go-net/Manifest @@ -0,0 +1,6 @@ +DIST go-net-0_pre20150804.tar.gz 539435 BLAKE2B f59222bd025bff05353c328072a028092bdc77c73fc438b78fb7c1aee5d3b152b1242ad5603a9da9e7e0a7bd1684bebe733342c0d5e415d1d1728f6e75e06cbd SHA512 02a9734f8335909a15280e925b11ff03b96fbedd6e48fa5c3f869ab1a8b3062971d634f7043f92cee685c618222b147fdee915f1d5d83bd82cdde171970287e3 +DIST go-net-0_pre20160216.tar.gz 741192 BLAKE2B ed4ca3ddc71f794a92746e360157967582958e4de29a46c5e63964694986e5a8a4f95062a1d46881941e8e8dfb848bbd9c4bd3b7008d8f2da357c2cae9a441ae SHA512 75db9098b33ede5621fce36645ebe946fad911c815dae219d74242b15714d1b9a3d8544f5f8c90b58989cea3a46b5688d20f705cb24a7d31f201ec218e69e78f +EBUILD go-net-0_pre20150804.ebuild 1163 BLAKE2B e39fa116a096cbaab9b99131479eeb3149f097671b27a83607fef79ad032a217d789b187eb66fec46f5f4753c8e6897fceb9dae653920039e4b17e88ff8faf40 SHA512 ca6adc9c8ac75dffb0022f9c89819ebe47c4ca76e84bac416a1b1d844a11f4b8f4f16e8df463bcaf3db7f81944818b76e55278a935606bb868a53d7e8c8a56ce +EBUILD go-net-0_pre20160216.ebuild 1193 BLAKE2B 1ee2b2456b71ac10706c377d79da8d23cdc0b690b3fc0372d3e6ab5f0b99a96c52fecdca35d0529a3ab9d047d94df6ffe56cbb67e9c29315383ab2d89187019b SHA512 4103011ea0a480441a1d8c9ceebd82ad0b12bcf4eaadaac5bf6b7029c32fd76309cf674abd3e1a1e18bfbcd196c4c6595e3b1679070edf162c72b2d1331c0830 +EBUILD go-net-9999.ebuild 1183 BLAKE2B 070b19f5bf335924a9dc7933201d0c996d3010254a9c1917c09225bb19913ce8db7416340a47bd402b6b4cb6c51834a364e1563f6c299980f7a429117084500c SHA512 351cc777c76ae9570368816fa6f855af3c01f8767dd491199c258e73127d5dbea5972b9328d017d524438d406835de8874b2e8c1b22a9e9660f86c6ec05eb4d7 +MISC metadata.xml 301 BLAKE2B 842eb1c02738ef2694108db727a2f89137c7c3bb45743df6013f7b5542ee9029df0515680905bb93f628aeae74870b5a3167693c7345ad00ad15dd9920e86286 SHA512 bef6b9d68e27cb70d096a5abeac35df9248998041cb8eb370853e9044d7994b6dc3c32535dac71688d143ae18dd2ca1118fede990101094e724031b042fa71f6 diff --git a/dev-go/go-net/go-net-0_pre20150804.ebuild b/dev-go/go-net/go-net-0_pre20150804.ebuild new file mode 100644 index 000000000000..44adb09a05e9 --- /dev/null +++ b/dev-go/go-net/go-net-0_pre20150804.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +EGO_PN=golang.org/x/net/... +EGO_SRC=golang.org/x/net + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="1bc0720082d79ce7ffc6ef6e523d00d46b0dee45" + 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-text:=" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestReadProppatch(:_\0:' \ + -i src/${EGO_SRC}/webdav/xml_test.go || die + sed -e 's:TestPingGoogle(:_\0:' \ + -e 's:TestNonPrivilegedPing(:_\0:' \ + -i src/${EGO_SRC}/icmp/ping_test.go || die +} + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} diff --git a/dev-go/go-net/go-net-0_pre20160216.ebuild b/dev-go/go-net/go-net-0_pre20160216.ebuild new file mode 100644 index 000000000000..381d5261df02 --- /dev/null +++ b/dev-go/go-net/go-net-0_pre20160216.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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="b6d7b1396ec874c3b00f6c84cd4301a17c56c8ed" + 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:= + dev-go/go-text:=" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestReadProppatch(:_\0:' \ + -i src/${EGO_SRC}/webdav/xml_test.go || die + sed -e 's:TestPingGoogle(:_\0:' \ + -e 's:TestNonPrivilegedPing(:_\0:' \ + -i src/${EGO_SRC}/icmp/ping_test.go || die +} + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} diff --git a/dev-go/go-net/go-net-9999.ebuild b/dev-go/go-net/go-net-9999.ebuild new file mode 100644 index 000000000000..bf416c447af4 --- /dev/null +++ b/dev-go/go-net/go-net-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +EGO_PN=golang.org/x/net/... +EGO_SRC=golang.org/x/net + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="b6d7b1396ec874c3b00f6c84cd4301a17c56c8ed" + 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:= + dev-go/go-text:=" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestReadProppatch(:_\0:' \ + -i src/${EGO_SRC}/webdav/xml_test.go || die + sed -e 's:TestPingGoogle(:_\0:' \ + -e 's:TestNonPrivilegedPing(:_\0:' \ + -i src/${EGO_SRC}/icmp/ping_test.go || die +} + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +} diff --git a/dev-go/go-net/metadata.xml b/dev-go/go-net/metadata.xml new file mode 100644 index 000000000000..830cd454b15b --- /dev/null +++ b/dev-go/go-net/metadata.xml @@ -0,0 +1,10 @@ +<?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> |