summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-12-05 11:41:47 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-12-05 11:41:47 +0100
commitddd4d52973f5003c09eb1ecbe41578cc747c7929 (patch)
tree03dc8c533ef8aa179a1abe964f7f353c10a149d6 /dev-util/drone
parentprofiles: Remove mask after dev-tex/texmfind removal (diff)
downloadgentoo-ddd4d52973f5003c09eb1ecbe41578cc747c7929.tar.gz
gentoo-ddd4d52973f5003c09eb1ecbe41578cc747c7929.tar.bz2
gentoo-ddd4d52973f5003c09eb1ecbe41578cc747c7929.zip
dev-util/drone: Version bump to 0.8.3
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest10
-rw-r--r--dev-util/drone/drone-0.8.3.ebuild52
2 files changed, 58 insertions, 4 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index 1db1375184c9..d49fc1436e6d 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,6 +1,8 @@
DIST drone-0.7.3.tar.gz 4133041 SHA256 997ce994fb852ffc0c98f20ba17d9ff458b396019207e923cd5863ec7599211e SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 WHIRLPOOL 18cfc24df5735b11f767b0ec323f591e44b08192abb05eff3984ef6bd8ce3df548924fb69b9543cb3c92c3b26f3bddfdfd105ec4014ebe2bd5c2b420c7fe6c2f
-DIST drone-0.8.2.tar.gz 4758508 SHA256 db1469def1a102f3130eac4278e0e1d10d12dc66955077259c386535c884a829 SHA512 3bec1b93210349e7c82386b5e16c04c458987633dc56493d52741dcdd6d3887f3f2db454f1e18c4cb71f455eadc7232cd1f089118880a70be53eefbf8203f5d5 WHIRLPOOL 276a30788acbf86982a9836d381840fae9bda841dcb3c5e6be8a3cfc3b057a0a2432beaec95f38b0b1465357032a9528fe2f1244714141ca7a617c8edac68b97
+DIST drone-0.8.2.tar.gz 4758508 BLAKE2B f5fa4617a9596d3bd7d03a031f78bce46991200612e8bf6008756ca42ced6e562165a488dc1f3a4c15ec39317a5166966a498c38fe19a146a62721c09c2c0214 SHA512 3bec1b93210349e7c82386b5e16c04c458987633dc56493d52741dcdd6d3887f3f2db454f1e18c4cb71f455eadc7232cd1f089118880a70be53eefbf8203f5d5
+DIST drone-0.8.3.tar.gz 4758661 BLAKE2B 39b08d77921a1acec9834881d08ab2f64a0cf752a90f5cfdca80a5cd276de79bbac9d2815c5d013fb08ae9250076efe213a950b00f5a111022050c41beb3b841 SHA512 f11f0a00ad4cc4071f32275a8e2721e4a2d1bab4ad6b3ae796ea2fd9f838d31e3c9c88dbbf365e1f09b8540e1b6559fdd3ed75d5b662496c528a30e4ba6e11d1
DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de
-DIST github.com-drone-drone-ui-cc079b1279f70e54f64cf0c14e1e531b6689232b.tar.gz 229805 SHA256 275fa3c0357eb926833f5a26b1ea368c9648692836cfa681b0ece2e16f7d4dd7 SHA512 8c9dcd0f77916cbf144ee062453adebfb73a8537c0f40f799d87cae9e3811cdf914cec90ecd4526149be0c3baed646b9065ed879c69d185df7c7ecb452bcf798 WHIRLPOOL f510f892d65f772a39e8124982dea5907d054e2a2cf5c89e008f2f1edd1c8d7ba96c068796917e7b0529869add5cd6bb07da15c0b6a1265fbbeb990e852719fa
-DIST github.com-golang-net-9dfe39835686865bff950a07b394c12a98ddc811.tar.gz 926294 SHA256 4f8800a39f9972bf081fc3e429fb5e8e11885d4d8dbcc77369a8dc69c25d5ec1 SHA512 038f90bb667b63228b554066fd1efd608eb24615b549cea40314761022e0d0a775d268b6ac9072ad50b83e162467f8280f16b3d8fcd83c9bdace509279f3823f WHIRLPOOL 311a7e20234c25d5f022eeffdbc1f463135546958a55aa5423e43cf24aa777f0509d00656c39d63ce58b7c0e2ec5a3daf982ff6747774b03bc7352210f1b437c
-DIST github.com-golang-protobuf-1e59b77b52bf8e4b449a57e6f79f21226d571845.tar.gz 268477 SHA256 705b8b16ed83d86673bee31a04d865416eeefa3f5ad31e0b0a68c83e9779c06a SHA512 07de72078a66528d864da78c88be36351cf79be5235ec9f4ed1d71061a56b9b216fd29984ccfb2a610223a86b80aba2b9ca28a0d36fc2346b23070e25e72e29b WHIRLPOOL ae596793c0e983cc4f2aae9e4c066e7c91d24e8020e67c694da724b8f94a04794b4d1e74dd0eb114cce0291d0a9a40287ef71a3c9e8e55a853ab5cbdbfd79524
+DIST github.com-drone-drone-ui-cc079b1279f70e54f64cf0c14e1e531b6689232b.tar.gz 229805 BLAKE2B 6ecf7a24405d5881a6dae751a77bcc0a41f2e4d01e8166a1edd92f7d4bc4e7a1ab1fa310765ded55068d20d3a4abdd1c2f54f15fc42ca17756e7fd89b43f1b96 SHA512 8c9dcd0f77916cbf144ee062453adebfb73a8537c0f40f799d87cae9e3811cdf914cec90ecd4526149be0c3baed646b9065ed879c69d185df7c7ecb452bcf798
+DIST github.com-golang-net-9dfe39835686865bff950a07b394c12a98ddc811.tar.gz 926294 BLAKE2B 873eddc079f9891d3c72c865ac7f496ebea25b6fc2d4cf935f61ac2e422c04e1f8883dd0e9b97e359257c554d8986625a52015c2da2a8a93da4ce4204f858b50 SHA512 038f90bb667b63228b554066fd1efd608eb24615b549cea40314761022e0d0a775d268b6ac9072ad50b83e162467f8280f16b3d8fcd83c9bdace509279f3823f
+DIST github.com-golang-net-a8b9294777976932365dabb6640cf1468d95c70f.tar.gz 930031 BLAKE2B af7aec68203e6226d8c4472a00f2b1c775000de3130f9239fb5511e4092a91cc3d8f9ea65ee35a5b4f063806a3b7eabbb9dc13f5040895ef74afa01f54d76bdd SHA512 ad71e5c2f7e4877eae6a8ecd0e49a2e3cc4836f29ac14838624878237199f7a0739110bfede44eb0fa3bfa43b26b4bacffea7951caf41e4ba82fb71a1c279681
+DIST github.com-golang-protobuf-1e59b77b52bf8e4b449a57e6f79f21226d571845.tar.gz 268477 BLAKE2B af1775f715a7c8434fe46872d8edf75241c851fb93e1e3f888c5fa1b603397e68c3878c9c69afe618ff1b7ae3d0c219ec96b8648af2fd2c2c9424a33f1710a2e SHA512 07de72078a66528d864da78c88be36351cf79be5235ec9f4ed1d71061a56b9b216fd29984ccfb2a610223a86b80aba2b9ca28a0d36fc2346b23070e25e72e29b
diff --git a/dev-util/drone/drone-0.8.3.ebuild b/dev-util/drone/drone-0.8.3.ebuild
new file mode 100644
index 000000000000..3053f1715725
--- /dev/null
+++ b/dev-util/drone/drone-0.8.3.ebuild
@@ -0,0 +1,52 @@
+# 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="3daf6797ab6378d4a27b9fb1d4877e3a55a6c922"
+EGO_VENDOR=( "github.com/drone/drone-ui cc079b1279f70e54f64cf0c14e1e531b6689232b"
+ "github.com/golang/protobuf 1e59b77b52bf8e4b449a57e6f79f21226d571845"
+ "golang.org/x/net a8b9294777976932365dabb6640cf1468d95c70f github.com/golang/net"
+ )
+
+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 build -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" -o release/drone-server ${EGO_PN}/cmd/drone-server || die
+ GOPATH="${WORKDIR}/${P}" go build -ldflags "-X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" -o release/drone-agent ${EGO_PN}/cmd/drone-agent || die
+ popd || die
+}
+
+src_install() {
+ dobin src/release/drone-{agent,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-server.initd drone-server
+ newconfd "${FILESDIR}"/drone-server.confd drone-server
+ newinitd "${FILESDIR}"/drone-agent.initd drone-agent
+ newconfd "${FILESDIR}"/drone-agent.confd drone-agent
+}