diff options
author | 2015-06-29 03:49:00 +0000 | |
---|---|---|
committer | 2015-06-29 03:49:00 +0000 | |
commit | bc18fb6ad4c719cec9bc27550b0e35ae9dedb1d4 (patch) | |
tree | 62789be89c4359af9cb2a394cbbca86892ffd4d2 /dev-go | |
parent | Allow only system-config-printer, not system-config-printer-gnome, to help po... (diff) | |
download | historical-bc18fb6ad4c719cec9bc27550b0e35ae9dedb1d4.tar.gz historical-bc18fb6ad4c719cec9bc27550b0e35ae9dedb1d4.tar.bz2 historical-bc18fb6ad4c719cec9bc27550b0e35ae9dedb1d4.zip |
Make live ebuild copyable
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0x30C46538
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-net/ChangeLog | 5 | ||||
-rw-r--r-- | dev-go/go-net/Manifest | 14 | ||||
-rw-r--r-- | dev-go/go-net/go-net-9999.ebuild | 41 |
3 files changed, 55 insertions, 5 deletions
diff --git a/dev-go/go-net/ChangeLog b/dev-go/go-net/ChangeLog index e16b83a2ffd9..20786f9a0a36 100644 --- a/dev-go/go-net/ChangeLog +++ b/dev-go/go-net/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-go/go-net # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.8 2015/06/25 19:24:07 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.9 2015/06/29 03:48:53 williamh Exp $ + + 29 Jun 2015; William Hubbs <williamh@gentoo.org> go-net-9999.ebuild: + Make live ebuild copyable 25 Jun 2015; William Hubbs <williamh@gentoo.org> go-net-9999.ebuild: Convert live ebuild to the new eclasses diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest index b526fcadec06..dad74aa577fa 100644 --- a/dev-go/go-net/Manifest +++ b/dev-go/go-net/Manifest @@ -1,7 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST go-net-1.4.2_p20150520.tar.gz 450301 SHA256 e0f3069df10e710e5e13dcfafeba8bca604d83bda7b253fccf38934cc4a76fa3 SHA512 dbf6c50d6da21e7e44a48a71ea02c9d03dd2535a1fecc46060f2b42bd6d922b53f3455138120cf7c499834cb0aa6a8b8282a0b14dee085c350b2cc00de8787be WHIRLPOOL 65439c96cbb35f634ded4746cbd6b22d99574547de17120e1748897b370738138d6cdfc808421dcf2a5289fe3336dca406ee53e4e423b524c05d99249fbe27d0 DIST go-net-1.4.2_p20150604.tar.gz 470847 SHA256 407c9a5796baabb40a04cc09fcbc21efc0df72c38e95550054f8191741ad6207 SHA512 5bf62beed4a5d847dd4034fb713412f26f48d392c133ad4ac7409b75af82cb4b72ce46c3dbda7aab58d42879db4bb120432722362f7b8d2cb8131e9f3709c4e5 WHIRLPOOL ab69bca5c7c72a88d64a694b01911645850cea7741798934d3350a49d57704c0be99a9ebaca7582aed5e03be64dd3daf25778e3193b65f9cad522d6b62397c82 EBUILD go-net-1.4.2_p20150520.ebuild 1531 SHA256 78df051bfe0c27212ef6e32031f5e731dad8b0065c4446c7c402ae25a0e52738 SHA512 2b5b416a4c6b6765cff49e5883cec5b8681e95ff926a99cf28fddf207c61d15906c64362c070ddd61db2f1bddeed6a2c556ac8f50b762e169d49c4ea548f1f25 WHIRLPOOL 69ce05f62e2168c83ce4856942128d6c9aef03edc839b287cedf63b46a278306e61adfb65d4dcf82bdd75da6ba4cdd960f3a01be85cf3c609561d449956bca20 EBUILD go-net-1.4.2_p20150604.ebuild 1630 SHA256 38d4e55d9124c6a52294b353efc861c693a93f280a8b34975f1a0ce29f674fd4 SHA512 d9f003b9a585d6b1c0fa77ec6cf03d354cbaf3c513195d5fa13710e2c8b2f896203b78cb39013543593410769745588564d0635a46ac4ac1f4206272bc8a6d70 WHIRLPOOL e2f272ead3e83717f8083b10ea9039b0f5b5c9f9b9e7fd2776aad0b560e417a5181403afd3f1ab49c41341a9a71a126ce0e7eb4f297681e1803c26d3168c8fe2 -EBUILD go-net-9999.ebuild 717 SHA256 e3c04d1a1f0bd9dbed566381dc666b85887752e91939a2ec5e1e8a66691acb7a SHA512 94d6211a40454e2c9f4a2feeafa1d086f507088e35d0a934111c3808dd6af3102fc6cd73349144dec702661676673632051f85b3d34940e7b383ec3702214b3f WHIRLPOOL 8a49bacca6a585829bf3b657ee6df2f59d1e53520ac9dc287f96e8003cfafe2e0d83b8c31ac30fb4033b4e5faef5c0c1f719ad2c1b82ab02913ba29ed3240eeb -MISC ChangeLog 1261 SHA256 cc9c16cb8c9a2ebc7dc94cd220067861a0f9b886cce241d86e029029da5ea64e SHA512 9f61f0742609802e6a4aeaf01f77c8442d5c0442bc4229c75ac952e39ce38a5c9e93b1e570f1735322011ef3f72b06ca7333316e28be0016c5e5b6723db9bce3 WHIRLPOOL 9b654f85b624b389996d5b40634f59cf51d509ccca3eba095c0f58265ffe03ff9b19f053bd58edac6b6fe0ef6857a105c98c09bff318b8cfa0e3a7db8972f66d +EBUILD go-net-9999.ebuild 1560 SHA256 b0c363b582192a7d4537d58d6dfd1eec542510172c758abbd513c82e970c3688 SHA512 7b72ebeaa22e56fb6754eb56f17aaeba9d41887c28f2e78d0131cae9158c2fd6703c6b21bbaa3951ea5012abb8159283f4d3091820cde7d1b930254dff11ceef WHIRLPOOL f8e620298f708133a9f2c72fede24df846a4b0c20ae3bf6c3c3e38e3ff0b3d55c3027f50bbd68d7b7ecf3923dd569c60062f06d67942fffcb5642b1ad0357b74 +MISC ChangeLog 1361 SHA256 d8f88721720dceae1f2e4d5c3703faa8e0bb335c39ccf52566da08782a452334 SHA512 dfc7a3026904485742ba0f061ee58705656e8c764d936b2859fbe505c197d2864a547b7f3efae537508501fbcf454454e3907586e159a6f0efc428c58d611b1d WHIRLPOOL 14979a3e8db037726ca3c3d0ba5fd4966128acbf29c3ae200f9305bb9405c161c2e84256fddb1da9731583ea7154164f91d3d3fadf54127ab665575cd674dfec MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlWQwCwACgkQblQW9DDEZTim1QCfeWTERjzxMIxpWDZAW0iHysaR +85YAn2mTGlk8hLK/Z9/nMKKMRFIujvRl +=MFT7 +-----END PGP SIGNATURE----- diff --git a/dev-go/go-net/go-net-9999.ebuild b/dev-go/go-net/go-net-9999.ebuild index 988e3ca8efda..f5657eec6a23 100644 --- a/dev-go/go-net/go-net-9999.ebuild +++ b/dev-go/go-net/go-net-9999.ebuild @@ -1,12 +1,20 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.5 2015/06/25 19:24:07 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.6 2015/06/29 03:48:53 williamh Exp $ EAPI=5 -inherit golang-build golang-vcs EGO_PN=golang.org/x/net/... EGO_SRC=golang.org/x/net +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="dfe268fd2bb5c793f4c083803609fce9806c6f80" + SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +fi +inherit golang-build + DESCRIPTION="Go supplementary network libraries" HOMEPAGE="https://godoc.org/golang.org/x/net" LICENSE="BSD" @@ -15,6 +23,35 @@ IUSE="" DEPEND="dev-go/go-text" RDEPEND="" +if [[ ${PV} != *9999* ]]; then +src_unpack() { + local f + + for f in ${A} + do + case "${f}" in + *.tar|*.tar.gz|*.tar.bz2|*.tar.xz) + local destdir=${WORKDIR}/${P}/src/${EGO_SRC} + + debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}" + + # XXX: check whether the directory structure inside is + # fine? i.e. if the tarball has actually a parent dir. + mkdir -p "${destdir}" || die + tar -C "${destdir}" -x --strip-components 1 \ + -f "${DISTDIR}/${f}" || die + ;; + *) + debug-print "${FUNCNAME}: falling back to unpack for ${f}" + + # fall back to the default method + unpack "${f}" + ;; + esac + done +} +fi + src_prepare() { # disable broken tests sed -e 's:TestReadProppatch(:_\0:' \ |