summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-09-22 14:09:41 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-09-22 14:09:41 +0200
commit7c6a05da6135683e21d342b46f9c4528ae6e0aec (patch)
treef7ce26a04e02084f446ce0b370df3406880978d3 /dev-util/drone
parentapp-misc/fdupes: Fix live ebuild patch. (diff)
downloadgentoo-7c6a05da6135683e21d342b46f9c4528ae6e0aec.tar.gz
gentoo-7c6a05da6135683e21d342b46f9c4528ae6e0aec.tar.bz2
gentoo-7c6a05da6135683e21d342b46f9c4528ae6e0aec.zip
dev-util/drone: Version bump to 0.8.0
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest4
-rw-r--r--dev-util/drone/drone-0.8.0.ebuild52
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index 3cbdc374a21c..3ba8a3061820 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,6 +1,10 @@
DIST drone-0.7.3.tar.gz 4133041 SHA256 997ce994fb852ffc0c98f20ba17d9ff458b396019207e923cd5863ec7599211e SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 WHIRLPOOL 18cfc24df5735b11f767b0ec323f591e44b08192abb05eff3984ef6bd8ce3df548924fb69b9543cb3c92c3b26f3bddfdfd105ec4014ebe2bd5c2b420c7fe6c2f
+DIST drone-0.8.0.tar.gz 4755986 SHA256 1d0c375308a444fa0f0f92c1fda2e1cd7fabf1683b5d77a418076844520bfc84 SHA512 f6a383df0718e7db7c35b518b248af001aeca5fc836f12d1f363a6897ea278d72e54d16f72fa9887aecdc162e0cb7fa5572215e0069f4dcacc0be4e1132a58d7 WHIRLPOOL 9a76227a2e0eb6a60ed989c62909131a30636e70074e230a95c20747cba6a752ebf430ca59391b2d9f72022f55fd60fe8dea732ab7c43d4f87533a5502b20064
DIST drone-0.8.0_rc5.tar.gz 4561128 SHA256 4d688d1e6ec480a7eb7fc6894e8068e925752adf5e24e99002ae76c1c86df2cb SHA512 d6b76c45eb52157cb98dff55e2a9cd1936f9aa82e54fa288596a2c40b0ec7b33a4f3e4d94b7e4fa9ccf5899d7ec1695204e4b4fb11af4aabe6c8237465580b92 WHIRLPOOL 233e72a3afdcc16870d857500cf4c12b518d9654ddd1b10a7077d191652ce06a5fdb8dac207aab22fa18663c7a7d4dc6d46545852cd072bb52c54fb8006bacfd
DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de
DIST github.com-drone-drone-ui-73adc4cc5cee2e715caf508a5473965287448712.tar.gz 228082 SHA256 1bae0a7b78ae13ce793385563cfbb71334de21a49273f2581c3f014be0149f8e SHA512 194f439c380d7e4e96704eadaa874e62c67069da895ede26cbcc807f4959f54ca3f8b2ffc32bb78f790026361ab3e937fcb825bbdc2433ffd5c4a26d0d8ccd3e WHIRLPOOL 7ec17b3792b42b67d9c7886693bfb8d1e7fcdcedb2c615a4573133889a6edda4eff03c688962468452c863606b45d63714861fb781e002adddf76b086b6875da
+DIST github.com-drone-drone-ui-87c64622eae0ea8d515fa6d551841d4b699bf7f1.tar.gz 229472 SHA256 afd19b2f5b90d79b20fe16a0d66085072b4d9f5ebae4acae766ba7561d1c450a SHA512 14982e52113293e80e183523be4b84a2594c19b5c47e26e09360ac81dcc5eed0205d107beec1d3b2f3d6be36f8c1b782bc487c8b897d288cf8a74852b28fb08b WHIRLPOOL f10af4ac5a8fdf392f81f2c1008527736875d2753d17c2f7e17dc4f3915c144aa9b12ad3f00aa2c0842fc439b7b10be251a26855e1fbc94bed73132505d15ae0
+DIST github.com-golang-net-0744d001aa8470aaa53df28d32e5ceeb8af9bd70.tar.gz 920361 SHA256 03f6f00d1142924dfee5abd67e6a39801a1da5c9f372a122aaaaf3c65de58a39 SHA512 d308b4f872612287c29b815b6ac0c4c3efbda4c641940ed8553851b1e93c6654bf443367b5ec96166d68fc2759d7e90e46fd6f148f0a6d535bf057bb785627d7 WHIRLPOOL 3d058a51d06992f8c07640f2ff6e69c5a0c468251420857b26da30fb6dc9b15f169321a7a4a29849aa6f346122339a0758875d6afd31d8d85a0cf3be8bb481f2
DIST github.com-golang-net-66aacef3dd8a676686c7ae3716979581e8b03c47.tar.gz 917754 SHA256 5140f8089da711f07bcdffd50b262cc9a6d53dc4c2ebeffd5bd6ef04d103775b SHA512 65b7d18e220e84fc588e0485f083473a91f939ec566b48d53668e337056950e1f40b19346bdbadc483dc57072096aef0508254a7148354f5234e26ac8c0063c3 WHIRLPOOL b48dd92edf0ce8cb27b57132a888b0f7ac2b7b844f62aebe072e5fa3beb9921a409c547c6fd2701f1f4ba68a580e8c5988d915cc8cbeaee62356399d3848f2f6
+DIST github.com-golang-protobuf-130e6b02ab059e7b717a096f397c5b60111cae74.tar.gz 268449 SHA256 b9d3381955d095b8c4b26d0464f87e3b32f65fee51c2f791338bcdfea21a1ad8 SHA512 3caefc21de9d57ee484e32d831997efe1e086af652fbbff210c2097db03f933be78446ceea9d004200939b6d48737d716fae0674e1e142179e8ccd1827f3a228 WHIRLPOOL 0155a8e9cd779b1d636edad7b95bd8064b179aaa4139d722e1e423eece8be5cc462a9feed4bc1134b1530d2b04b336cd363c5b5cdc24c8caac707d3c20e06bda
DIST github.com-golang-protobuf-17ce1425424ab154092bbb43af630bd647f3bb0d.tar.gz 266836 SHA256 3f82e7552c325c68b728c17f5b7ebfed200ca376c39353abc2f896756e2291dd SHA512 e6f093a5a8231e8e51daa2c5adf1db8da9dbeddc42fb6d05cd1f0cc03e2f3c1a65647b5463f3d71d94361d8a31163ee4fcc32e57a3e2df9e0a557c06469d88a8 WHIRLPOOL a08ee48e3e9c18aa420d4f15aaa7a1b957e1be12b3db14805904a1e55eb832db4eca830c07ce39f9915a455b4269c63ef4c8cea2f3fd8d84f45dba3c05d4bc66
diff --git a/dev-util/drone/drone-0.8.0.ebuild b/dev-util/drone/drone-0.8.0.ebuild
new file mode 100644
index 000000000000..b97b862718c4
--- /dev/null
+++ b/dev-util/drone/drone-0.8.0.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="ec6016062bd1d7d702c5edf383eb0728df33dbdd"
+EGO_VENDOR=( "github.com/drone/drone-ui 87c64622eae0ea8d515fa6d551841d4b699bf7f1"
+ "github.com/golang/protobuf 130e6b02ab059e7b717a096f397c5b60111cae74"
+ "golang.org/x/net 0744d001aa8470aaa53df28d32e5ceeb8af9bd70 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
+}