summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-06-25 17:56:55 +0000
committerWilliam Hubbs <williamh@gentoo.org>2015-06-25 17:56:55 +0000
commita06cf53e434db06b8239141d2766ac8e3a66b03d (patch)
treedb180242b3a5aae1c326dc9ba3c68ca89cfd26d5
parentconvert live ebuild to use the new go eclasses (diff)
downloadhistorical-a06cf53e434db06b8239141d2766ac8e3a66b03d.tar.gz
historical-a06cf53e434db06b8239141d2766ac8e3a66b03d.tar.bz2
historical-a06cf53e434db06b8239141d2766ac8e3a66b03d.zip
Convert live ebuild to use the new eclasses
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x30C46538
-rw-r--r--dev-go/go-sys/Manifest8
-rw-r--r--dev-go/go-sys/go-sys-9999.ebuild41
2 files changed, 10 insertions, 39 deletions
diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest
index 57d2e127c967..860a721de911 100644
--- a/dev-go/go-sys/Manifest
+++ b/dev-go/go-sys/Manifest
@@ -3,13 +3,13 @@ Hash: SHA256
DIST go-sys-1.4.2_p20150518.tar.gz 528445 SHA256 8b8af041e424a8bd04a955a1104313f4eb3b282f064c555ef4edc53b552ce753 SHA512 90565340fa64b625877444c84589e1ba870403a239cf43e99ba194b071e89e6a4877b4b04bb85ba5966401e9b6361eb1b1ffa88404d727eb9f02938313264a9c WHIRLPOOL 9bf6bf148b8d63bcd863cf64d16c4f999bc68dd8dc382167122afbc14499dbdf8ca0e5397f3106556cd1e3ebe62f0df31a394fed42d1a506a311aa3f9d232c37
EBUILD go-sys-1.4.2_p20150518-r1.ebuild 1537 SHA256 4016b46b34e52f060b6c716ad340831e00a629c0e7e555caa04ca7731937145c SHA512 880ea6866dae3beaabad1e1f2fb1c1682c811bf7e733afa5a260a37f71b70ecad6cf34dda66cfbdc151a133d8415839df9c9b59e307c5e530726c862987ae861 WHIRLPOOL 349f8f8d9da5337e12ee9b9cdace2d55925d90a54fd1abab5ec21140be1621a8f3aa6f6c078cd4c19d8a7352112282cb4ea5cfed4eeced719720a64afe4d571e
-EBUILD go-sys-9999.ebuild 1318 SHA256 3f9890fb92f97c6a46a7af75f66bf58f8cb4a291bc2cf804fbdbb72865cf3f9e SHA512 5833365c66719ef2c333fe454b1bb2d1ca7dc9aef5e31e02de7698ffa53541167c534246a2d56f3660170967739ba598b43f137473170570726e739010b5441e WHIRLPOOL c7a2b68df9b022288b852231dfb432bdedeb5619b1e6c07751aedb954be44e4734d34f7869b67a36615c0db705ac0ec4eefd782505c3196863c618f3a20a4920
+EBUILD go-sys-9999.ebuild 486 SHA256 0d508fb11fe05ec2e2e8c39fe6aba0ea989c2a89178fa38615278303cd21073b SHA512 ea688c66be933fa1bac65a167ce242fec4bbb98c7977b90411fecea367cc63f5993d2405fec45647ffaa05828fc1db9f2f7570f9ebb0b3956c2f12a8fa024859 WHIRLPOOL dd80c40ae916bacbe0c6d5866230b07103ed0962cf88880ee4cf26cba2a2e1125dab068d82897b97cd48c58e082e70b6bda80483b177adee1943138d55cd863c
MISC ChangeLog 719 SHA256 f874dd44a110865284f5b1dd5dcbe8cb8042580dbae76f0de012bb940a737c73 SHA512 264995ec2e68afb14b9da9c29a197bd1b604378e5e58399be2e65af64e5a5d384e3133b970d4a717baeb6b035414231fc4abe54ff44543739b99ce57dd327581 WHIRLPOOL 66a860938561a5ee882837cbaa78165ed3bce00e51ff361db09c68c89bddfbd4feeaeda4b428700ccfd6c521890f417906d02893d93eb1d6f7eee24afd64809b
MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlV2XUkACgkQ/ejvha5XGaONUACeMznggk7T+eefKoCu3yrWS1Yj
-nKAAn10MBIpOQ+f2nlGqg9pXfQ4JHJUE
-=gsZM
+iEYEAREIAAYFAlWMQOcACgkQblQW9DDEZTiOrACdEXBTMu5qu30oeN6OlstUfKsN
+BoYAniywI60rDm2/9Eq8HLhTr+CnJKwb
+=2p2D
-----END PGP SIGNATURE-----
diff --git a/dev-go/go-sys/go-sys-9999.ebuild b/dev-go/go-sys/go-sys-9999.ebuild
index 95655ef99595..218748e417e5 100644
--- a/dev-go/go-sys/go-sys-9999.ebuild
+++ b/dev-go/go-sys/go-sys-9999.ebuild
@@ -1,45 +1,16 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild,v 1.2 2015/06/09 03:28:08 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild,v 1.3 2015/06/25 17:56:49 williamh Exp $
EAPI=5
-inherit git-r3
+inherit golang-build golang-vcs
+EGO_PN=golang.org/x/sys/...
+EGO_SRC=golang.org/x/sys
-KEYWORDS=""
DESCRIPTION="Go packages for low-level interaction with the operating system"
-GO_PN=golang.org/x/${PN##*-}
-HOMEPAGE="https://godoc.org/${GO_PN}"
-EGIT_REPO_URI="https://go.googlesource.com/${PN##*-}"
+HOMEPAGE="https://godoc.org/golang.org/x/sys"
LICENSE="BSD"
SLOT="0"
IUSE=""
-DEPEND=">=dev-lang/go-1.4"
+DEPEND=""
RDEPEND=""
-S="${WORKDIR}/src/${GO_PN}"
-EGIT_CHECKOUT_DIR="${S}"
-STRIP_MASK="*.a"
-
-src_compile() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- GOROOT="${WORKDIR}/goroot"
- cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
- rm -rf "${GOROOT}/src/${GO_PN%%/*}" \
- "${GOROOT}/pkg/linux_${ARCH}/${GO_PN%%/*}" || die
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go install -x -v -work ${GO_PN}/unix/... || die
-}
-
-src_test() {
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -x -v golang.org/x/sys/unix/... || die
-}
-
-src_install() {
- insinto /usr/lib/go
- doins -r "${WORKDIR}"/pkg
- insinto /usr/lib/go/src/${GO_PN}
- find "${WORKDIR}"/src/${GO_PN} -name '.git*' -exec \
- rm -rf {} \; 2>/dev/null
- insopts -m0644 -p # preserve timestamps for bug 551486
- doins -r "${WORKDIR}"/src/${GO_PN}/unix
-}