diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-06-12 14:00:07 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-06-12 14:13:19 +0200 |
commit | c8e22c4e5bd19871ee1566eeedae055d50613c4b (patch) | |
tree | 4159a5e0e640c32d6772cd6b80e020d1f4cbfb89 /dev-util/drone | |
parent | app-dicts/myspell-en: use HTTPS (diff) | |
download | gentoo-c8e22c4e5bd19871ee1566eeedae055d50613c4b.tar.gz gentoo-c8e22c4e5bd19871ee1566eeedae055d50613c4b.tar.bz2 gentoo-c8e22c4e5bd19871ee1566eeedae055d50613c4b.zip |
dev-util/drone: Update to a new snapshot
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 2 | ||||
-rw-r--r-- | dev-util/drone/drone-0.7.1_p20170603.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index a9b821fe271e..d2cd9155c0b8 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,4 +1,6 @@ DIST drone-0.6.0.tar.gz 4144602 SHA256 afcaa71b996f7607240f0b3a1b61fd0d22a662d1d470275cc753a325314765fd SHA512 e399efabca00f8109944e51f69f21e070e9190c77b1be169b93698e19a483d6811ebba4214e22ee1dde161a47f197c83f5380a75308bbbe9b0d2c20ec569a904 WHIRLPOOL c86f89226c764537f1fe2921b63bbdfcce257c206b16e3dcca581f47798290c5b9f3f9e60467fd9326e76dd7198394f015abf4869af03efd6258984863188bdb DIST drone-0.6.0_p20170521.tar.gz 4116779 SHA256 f9bfaccbe712f72da52c91bec296c5376fb52fa5e0e495be24ff4199a2197eb4 SHA512 31c0c76caee9ab4c0921398268b9001dac6afd6fd61f716b835efa212ade804f8309d61e27102075f28456be14c1e0076382d165fe38cb3a0b4b1c738df7b5ed WHIRLPOOL 2b91326abfe3a6c8da5710b50cedf7a5e7741ba3f78daaceee8a4ed49dbb2d35bb6cfa429941546633afe2f5088b4127178cd18a3f8483cc6f5c9a15190c42e9 +DIST drone-0.7.1_p20170603.tar.gz 4131569 SHA256 a0941ec8131f5384b1eabd160de004861ba25c0a103b85a760e727d1bd9b5fdd SHA512 2348f70c41a86d7cb223549ca5215c07f693b3156f471e620db6569dae32b072ff63f5e7134aa644bf1826b450e8f7855aafde1eac44692724a522db2a62a5db WHIRLPOOL 8d552731ae1a2e5a28e4601771b5911aef7efba522b74bcfa043f74fb96a433392eb6d5a3f849b7fb10932093e81543ca27eaa14b4638f4e0b90dab606f3f7f4 +DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de DIST github.com-drone-drone-ui-72dc649bc4ff81f4560ab70b29495830a4c1cf3d.tar.gz 167100 SHA256 9e80fff7012b0f54fea80d4725e415c3fc0ced496692baa28bde7e5908b9b314 SHA512 4225d7372e4598dc9aa2eb0e645b3df3f71f7ca7f591d9a198da95276cd47fa2bf7acc808cc4a15ca80f33b259e43e0771744c98f3ff8d016919f1b7d15520b7 WHIRLPOOL 13e4cd0672d9f145c6dc6d5d6cc3f1bd532c02fbb6d8c94ecfb39e50f2471d4b0b5b030aa99bb7f105608225b183dd51a2f5666ddd2b96bcf9ef1c232d16ab4d DIST github.com-drone-drone-ui-76eae97423a0ab2194f82150eb47062580c28df7.tar.gz 167086 SHA256 6730a0c57ba7274a941da46641a0ec4ceba0c9a1c45283e34b94f2a7974f610c SHA512 bb10a896905b9fbc560e0927c797b87afa1258a9a90691530eb9242f9b9b9342f70029705ea9c82c395c0f62c130284987783fca0d0d059753da840fd7926380 WHIRLPOOL d0515b66001ad95e3d1012741153942da792dd92643962285c47ecfc3a585321261cf17d7e2c73907b6baf772514478edfecae717b86307086bf51cf64b0b035 diff --git a/dev-util/drone/drone-0.7.1_p20170603.ebuild b/dev-util/drone/drone-0.7.1_p20170603.ebuild new file mode 100644 index 000000000000..b5a7d79935f5 --- /dev/null +++ b/dev-util/drone/drone-0.7.1_p20170603.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/drone/drone" +EGIT_COMMIT="eed03a58036c5029af1b4bf347d2ac6f5746bf21" +EGO_VENDOR=( "github.com/drone/drone-ui 2910d0ee662816a2463d31f0988b1ecccd0410b5" ) + +inherit golang-build golang-vcs-snapshot user + +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} + ${EGO_VENDOR_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND="dev-go/go-bindata + dev-go/go-bindata-assetfs:=" + +RESTRICT="test" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /var/lib/drone ${PN} +} + +src_compile() { + pushd src || die + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\ + go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${EGIT_COMMIT:0:7}" ${EGO_PN}/drone || die + popd || die +} + +src_install() { + newbin bin/drone drone-server + dodoc src/github.com/drone/drone/README.md + keepdir /var/log/drone /var/lib/drone + fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone + newinitd "${FILESDIR}"/drone.initd drone + newconfd "${FILESDIR}"/drone.confd drone + newinitd "${FILESDIR}"/drone-agent.initd drone-agent + newconfd "${FILESDIR}"/drone-agent.confd drone-agent +} |