dev-db/go-etcd: Use egit_clean to clean workdir
authorJustin Lecher <jlec@gentoo.org>
Fri, 22 Jan 2016 20:47:17 +0000 (21:47 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 22 Jan 2016 21:03:03 +0000 (22:03 +0100)
* Sort global scope according to skel.ebuild

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild
dev-db/go-etcd/go-etcd-2.0.0-r1.ebuild
dev-db/go-etcd/go-etcd-2.0.0.ebuild

index 8ea0f6d7fd640048bf55b77976398a27d427cfec..15b9646986a98d471e298334048b1596fecf2e71 100644 (file)
@@ -1,20 +1,24 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-KEYWORDS="~amd64"
-DESCRIPTION="Go client library for etcd"
+inherit eutils
 GO_PN=github.com/coreos/${PN}
+DESCRIPTION="Go client library for etcd"
 HOMEPAGE="https://${GO_PN}"
 EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8"
 SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
+
 SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
 IUSE=""
+
 DEPEND=">=dev-lang/go-1.4"
 RDEPEND=""
+
 S=${WORKDIR}
 
 src_unpack() {
@@ -38,6 +42,6 @@ src_install() {
        insinto /usr/lib/go
        doins -r pkg
        insinto /usr/lib/go/src
-       find src/${GO_PN} -name .gitignore -delete
+       egit_clean
        doins -r src/*
 }
index 79358b57b67280c1223336a3cb3fd4a1526e2240..9cf4459eb49dfba918cb98589901b34098bcc83f 100644 (file)
@@ -1,20 +1,24 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-KEYWORDS="~amd64"
-DESCRIPTION="Go client library for etcd"
 GO_PN=github.com/coreos/${PN}
-HOMEPAGE="https://${GO_PN}"
 EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8"
+
+DESCRIPTION="Go client library for etcd"
+HOMEPAGE="https://${GO_PN}"
 SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
+
 SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
 IUSE=""
+
 DEPEND=">=dev-lang/go-1.4:="
 RDEPEND=""
+
 S=${WORKDIR}
 
 src_unpack() {
@@ -38,6 +42,6 @@ src_install() {
        insinto /usr/lib/go
        doins -r pkg
        insinto /usr/lib/go/src
-       find src/${GO_PN} -name .gitignore -delete
+       egit_clean
        doins -r src/*
 }
index 8ea0f6d7fd640048bf55b77976398a27d427cfec..5139a5578eb70d1965ba780aa05b80eb38efc1ca 100644 (file)
@@ -1,20 +1,26 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-KEYWORDS="~amd64"
-DESCRIPTION="Go client library for etcd"
+inherit eutils
+
 GO_PN=github.com/coreos/${PN}
-HOMEPAGE="https://${GO_PN}"
 EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8"
+
+DESCRIPTION="Go client library for etcd"
+HOMEPAGE="https://${GO_PN}"
 SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
+
 SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64"
 IUSE=""
+
 DEPEND=">=dev-lang/go-1.4"
 RDEPEND=""
+
 S=${WORKDIR}
 
 src_unpack() {
@@ -38,6 +44,6 @@ src_install() {
        insinto /usr/lib/go
        doins -r pkg
        insinto /usr/lib/go/src
-       find src/${GO_PN} -name .gitignore -delete
+       egit_clean
        doins -r src/*
 }