summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-11-21 15:56:25 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-11-21 15:56:25 +0100
commit9b7fa1cadc90fdba753370e744671deb0d8d4a1d (patch)
tree236e65c2836b5b44d3337df5cd0a16ae94205de1 /dev-util/drone
parentsys-apps/fwupd: Version bump to 1.0.1 (diff)
downloadgentoo-9b7fa1cadc90fdba753370e744671deb0d8d4a1d.tar.gz
gentoo-9b7fa1cadc90fdba753370e744671deb0d8d4a1d.tar.bz2
gentoo-9b7fa1cadc90fdba753370e744671deb0d8d4a1d.zip
dev-util/drone: Version bump to 0.8.2
Package-Manager: Portage-2.3.15, Repoman-2.3.6
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest4
-rw-r--r--dev-util/drone/drone-0.8.2.ebuild52
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index 6696b33a0ad5..8599ab79976c 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,9 +1,13 @@
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.1.tar.gz 4756298 SHA256 08212cb57ab5dee58497219003dbf57cb8bc35ff441acdc5a8960dd42e9f9df0 SHA512 b34e606c1aae02e274ef41cdf4bfc1e584b3a1020b211d9d869f7905caa5f9a8514d694a1f51c4cef5431c228451763a50dc610b31b311f08e0e955f02737751 WHIRLPOOL 3877d43a34a0a9446e1f1dcd3a880c76cee3baaedda5149734b9fab90e07b584d6bf012883f954339e6a83d1a0212b671caccaeeddbecba05d9051ece7fee890
+DIST drone-0.8.2.tar.gz 4758508 SHA256 db1469def1a102f3130eac4278e0e1d10d12dc66955077259c386535c884a829 SHA512 3bec1b93210349e7c82386b5e16c04c458987633dc56493d52741dcdd6d3887f3f2db454f1e18c4cb71f455eadc7232cd1f089118880a70be53eefbf8203f5d5 WHIRLPOOL 276a30788acbf86982a9836d381840fae9bda841dcb3c5e6be8a3cfc3b057a0a2432beaec95f38b0b1465357032a9528fe2f1244714141ca7a617c8edac68b97
DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de
DIST github.com-drone-drone-ui-5a497bd6cd5c3c17c53b00d40bcda1bf6f68f475.tar.gz 229479 SHA256 706b974674b70cb5c16ee1258c8a01535cc151940aab88c356a00549d1b150fa SHA512 38c59fc48f06805a2e69036b7184c7385ab51671f0a2538d779d15c9bc22f03cb091d971265b2522b755db955b326447cf041aa5f76792e0ab0b43c654f82fb7 WHIRLPOOL d863d94a58c9bb8622f1bbcfe2ee182f7f80160f4e8ce40c84390a13c39e953492a357a07d798c7b758fc5b856f1002d30e7eb8812427110a529df59aca0d510
DIST github.com-drone-drone-ui-87c64622eae0ea8d515fa6d551841d4b699bf7f1.tar.gz 229472 SHA256 afd19b2f5b90d79b20fe16a0d66085072b4d9f5ebae4acae766ba7561d1c450a SHA512 14982e52113293e80e183523be4b84a2594c19b5c47e26e09360ac81dcc5eed0205d107beec1d3b2f3d6be36f8c1b782bc487c8b897d288cf8a74852b28fb08b WHIRLPOOL f10af4ac5a8fdf392f81f2c1008527736875d2753d17c2f7e17dc4f3915c144aa9b12ad3f00aa2c0842fc439b7b10be251a26855e1fbc94bed73132505d15ae0
+DIST github.com-drone-drone-ui-cc079b1279f70e54f64cf0c14e1e531b6689232b.tar.gz 229805 SHA256 275fa3c0357eb926833f5a26b1ea368c9648692836cfa681b0ece2e16f7d4dd7 SHA512 8c9dcd0f77916cbf144ee062453adebfb73a8537c0f40f799d87cae9e3811cdf914cec90ecd4526149be0c3baed646b9065ed879c69d185df7c7ecb452bcf798 WHIRLPOOL f510f892d65f772a39e8124982dea5907d054e2a2cf5c89e008f2f1edd1c8d7ba96c068796917e7b0529869add5cd6bb07da15c0b6a1265fbbeb990e852719fa
DIST github.com-golang-net-0744d001aa8470aaa53df28d32e5ceeb8af9bd70.tar.gz 920361 SHA256 03f6f00d1142924dfee5abd67e6a39801a1da5c9f372a122aaaaf3c65de58a39 SHA512 d308b4f872612287c29b815b6ac0c4c3efbda4c641940ed8553851b1e93c6654bf443367b5ec96166d68fc2759d7e90e46fd6f148f0a6d535bf057bb785627d7 WHIRLPOOL 3d058a51d06992f8c07640f2ff6e69c5a0c468251420857b26da30fb6dc9b15f169321a7a4a29849aa6f346122339a0758875d6afd31d8d85a0cf3be8bb481f2
DIST github.com-golang-net-0a9397675ba34b2845f758fe3cd68828369c6517.tar.gz 922889 SHA256 46e2a7e1062920808f8c4dc026072ab0b4cd9176988d9b05b6e40c051621468d SHA512 0aba0d4661a21ff31efb3dcd811ec4c9862e21ceaff6cdbb4dbe3c99495b3c575a2cec5b356bb229d7a207e10e7753f286425ee03367a8607deacdcc4a92726d WHIRLPOOL 97c21f45d39e48eb2c4053d31306e8c710a80095e2d351e81182d9e8e017c2092000f2e8847a293ddbe33e2d6bf6bbb34c153529d6fbba8d1692f9059702e611
+DIST github.com-golang-net-9dfe39835686865bff950a07b394c12a98ddc811.tar.gz 926294 SHA256 4f8800a39f9972bf081fc3e429fb5e8e11885d4d8dbcc77369a8dc69c25d5ec1 SHA512 038f90bb667b63228b554066fd1efd608eb24615b549cea40314761022e0d0a775d268b6ac9072ad50b83e162467f8280f16b3d8fcd83c9bdace509279f3823f WHIRLPOOL 311a7e20234c25d5f022eeffdbc1f463135546958a55aa5423e43cf24aa777f0509d00656c39d63ce58b7c0e2ec5a3daf982ff6747774b03bc7352210f1b437c
DIST github.com-golang-protobuf-130e6b02ab059e7b717a096f397c5b60111cae74.tar.gz 268449 SHA256 b9d3381955d095b8c4b26d0464f87e3b32f65fee51c2f791338bcdfea21a1ad8 SHA512 3caefc21de9d57ee484e32d831997efe1e086af652fbbff210c2097db03f933be78446ceea9d004200939b6d48737d716fae0674e1e142179e8ccd1827f3a228 WHIRLPOOL 0155a8e9cd779b1d636edad7b95bd8064b179aaa4139d722e1e423eece8be5cc462a9feed4bc1134b1530d2b04b336cd363c5b5cdc24c8caac707d3c20e06bda
+DIST github.com-golang-protobuf-1e59b77b52bf8e4b449a57e6f79f21226d571845.tar.gz 268477 SHA256 705b8b16ed83d86673bee31a04d865416eeefa3f5ad31e0b0a68c83e9779c06a SHA512 07de72078a66528d864da78c88be36351cf79be5235ec9f4ed1d71061a56b9b216fd29984ccfb2a610223a86b80aba2b9ca28a0d36fc2346b23070e25e72e29b WHIRLPOOL ae596793c0e983cc4f2aae9e4c066e7c91d24e8020e67c694da724b8f94a04794b4d1e74dd0eb114cce0291d0a9a40287ef71a3c9e8e55a853ab5cbdbfd79524
diff --git a/dev-util/drone/drone-0.8.2.ebuild b/dev-util/drone/drone-0.8.2.ebuild
new file mode 100644
index 000000000000..a2b706395e1a
--- /dev/null
+++ b/dev-util/drone/drone-0.8.2.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="956418cae9bef51fb5855c6a7bd881ceeb4fa801"
+EGO_VENDOR=( "github.com/drone/drone-ui cc079b1279f70e54f64cf0c14e1e531b6689232b"
+ "github.com/golang/protobuf 1e59b77b52bf8e4b449a57e6f79f21226d571845"
+ "golang.org/x/net 9dfe39835686865bff950a07b394c12a98ddc811 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
+}