From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 304821395E2 for ; Thu, 17 Nov 2016 19:41:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00147E09FF; Thu, 17 Nov 2016 19:41:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8A92E09FF for ; Thu, 17 Nov 2016 19:41:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72CB634121E for ; Thu, 17 Nov 2016 19:41:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6505D489 for ; Thu, 17 Nov 2016 19:40:57 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1479411638.bf290e7f1e8b39e63c76a215519c18cc4b34c15f.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/drone/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/drone/Manifest dev-util/drone/drone-0.5.0_pre20161019.ebuild dev-util/drone/metadata.xml X-VCS-Directories: dev-util/drone/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: bf290e7f1e8b39e63c76a215519c18cc4b34c15f X-VCS-Branch: master Date: Thu, 17 Nov 2016 19:40:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 81c26632-4b7f-485a-b9cb-90624cf10c31 X-Archives-Hash: 75977ca5700788ddd43a364dc25781da commit: bf290e7f1e8b39e63c76a215519c18cc4b34c15f Author: Manuel Rüger gentoo org> AuthorDate: Thu Nov 17 19:40:21 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Nov 17 19:40:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf290e7f dev-util/drone: Initial version Package-Manager: portage-2.3.2 dev-util/drone/Manifest | 1 + dev-util/drone/drone-0.5.0_pre20161019.ebuild | 33 +++++++++++++++++++++++++++ dev-util/drone/metadata.xml | 13 +++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest new file mode 100644 index 00000000..9c688fd --- /dev/null +++ b/dev-util/drone/Manifest @@ -0,0 +1 @@ +DIST drone-0.5.0_pre20161019.tar.gz 3453600 SHA256 bd282a85fb6a28f504851d58b2482c220b1ab660ac970f224eae2e2c98b75c00 SHA512 fe6168cc584ce3e3d4c484fd769a6cf3a520648f347b5f29765914b4d16667b423e14cf8043179d5b03a4f0c7e2009e141cab10bcb0cd875a53961adaa2f5efc WHIRLPOOL a5e0eafe53d0de04dd990ceb8356e1f0990466024619fdcdb14770052ed952fbffe20e158590d8d608402fe1759ccac3d3e60f1bff3df48cbe055f157e5a1f09 diff --git a/dev-util/drone/drone-0.5.0_pre20161019.ebuild b/dev-util/drone/drone-0.5.0_pre20161019.ebuild new file mode 100644 index 00000000..45fc4b4 --- /dev/null +++ b/dev-util/drone/drone-0.5.0_pre20161019.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/drone/drone/..." +EGIT_COMMIT="0852424cfef6e518458f9de1ed0a04ba22d60171" +ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go" +HOMEPAGE="https://github.com/drone/drone" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0/${PVR}" +IUSE="" + +DEPEND="dev-go/go-bindata + dev-util/drone-ui" + +src_compile() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/github.com/drone/drone gen || die + pushd src || die + DRONE_BUILD_NUMBER="${EGIT_COMMIT}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\ + go install -ldflags '-extldflags "-static" -X github.com/drone/drone/version.VersionDev=${EGIT_COMMIT}' github.com/drone/drone/drone || die + popd || die +} + +src_install() { + dobin bin/* +} diff --git a/dev-util/drone/metadata.xml b/dev-util/drone/metadata.xml new file mode 100644 index 00000000..87871f5 --- /dev/null +++ b/dev-util/drone/metadata.xml @@ -0,0 +1,13 @@ + + + + + + + mrueg@gentoo.org + Manuel Rüger + + + drone/drone + +