diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-03-30 15:57:48 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-03-30 15:57:48 +0200 |
commit | f2a1d3a91306ec3bde360b9287e2869e2218d611 (patch) | |
tree | 52f3ca118807a2fae37381757bce42e308fa7611 /dev-util/drone | |
parent | dev-ros/xacro: bump to 1.12.1 (diff) | |
download | gentoo-f2a1d3a91306ec3bde360b9287e2869e2218d611.tar.gz gentoo-f2a1d3a91306ec3bde360b9287e2869e2218d611.tar.bz2 gentoo-f2a1d3a91306ec3bde360b9287e2869e2218d611.zip |
dev-util/drone: Version bump to 0.8.5
Package-Manager: Portage-2.3.27, Repoman-2.3.9
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 4 | ||||
-rw-r--r-- | dev-util/drone/drone-0.8.5.ebuild | 52 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index 50736c6624e8..d44cac2dcf14 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,9 +1,13 @@ DIST drone-0.7.3.tar.gz 4133041 BLAKE2B 819976f11e37c4f2484b00648191f64818ab254a326f31c594917c5ba02122a4e061168344148c113a32e0d14791e59e95a71bb224cd04bef7d1586703fd77fd SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 DIST drone-0.8.4.tar.gz 4759676 BLAKE2B 6da0ef008468e60dec0bfaa0b2f0f6171439d8b7b1ba842173f435eb60fd48992236fbf3c040f6591ba7f84fc91cd7968eac2b9785893319a2d69549ba81c64e SHA512 978f07aa471125dca00e6c6e5a9061c20cabe84f802fe21f2a85a383bf79f59d9baeb305d45acd5c8918aad5f1882e598b39a3174b31a4f6e5cfa226d9bcccaa DIST drone-0.8.4_p20180216.tar.gz 4759023 BLAKE2B 4a99e8a32230abb39c5bfe47f243efd1a5cd01cdcd2cc416148876e156370b8a88a8db85332f29172d69a6308670f48a9c2216db4180b11d4162e358581241e2 SHA512 3ffaabd8099720a1b56f81a5b758db1b17a986381970480e40a75630a1bad17eab6927bf8f00872b9dbfa83b4f0a1a028fcfc9a762a495efededc5b92780bc44 +DIST drone-0.8.5.tar.gz 4766128 BLAKE2B 11c60896a8aced0aa6303ec049755192e473f742af45fcb6fe1509a3085cbdfd0c016e875a1822cedff9040abf08d238490430ac8f6b2136b31491207de1748a SHA512 a2be1082b6b923d432f4addaa12ec45a76f7edce0ac955c1d3eb812b3541c140919e6195bcee9ed218b92045a63b303759702ffb63831757177f44b2307be164 DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 BLAKE2B 26d5aadcaee776c073bc5b4514f5c7b2925a7dab25a22162c10464f16a18e14cb564012b2b13ca929d7c5156dc5790d0d0659ccef8d8424ee82be2410ce0d211 SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca +DIST github.com-drone-drone-ui-4d60e46e3938c277e90de404cc6236530beaab3d.tar.gz 229886 BLAKE2B 3681f8fc5f380da3c7ab6dd5f34903f44fbe1ee5b309f5d1db25cd72347690249943814bd9e1ea3f4eaf04b14247bbf53e9a817dcfa5ad0e0bbc7d5d1585d2ea SHA512 4bd9909b82b31ed0b872d39da79fea161fdd1408d9da262b8a92c8cb884caf3dceb953ab522daaf8c96747cf4b22724e8e1d6234d80f2859a9ddd436fb513345 DIST github.com-drone-drone-ui-cc079b1279f70e54f64cf0c14e1e531b6689232b.tar.gz 229805 BLAKE2B 6ecf7a24405d5881a6dae751a77bcc0a41f2e4d01e8166a1edd92f7d4bc4e7a1ab1fa310765ded55068d20d3a4abdd1c2f54f15fc42ca17756e7fd89b43f1b96 SHA512 8c9dcd0f77916cbf144ee062453adebfb73a8537c0f40f799d87cae9e3811cdf914cec90ecd4526149be0c3baed646b9065ed879c69d185df7c7ecb452bcf798 DIST github.com-golang-net-0ed95abb35c445290478a5348a7b38bb154135fd.tar.gz 930720 BLAKE2B 73434ace62ef2a9db1b551075baf05458b8a8ed25b44ce88ca0780d9ff38a2fc176ab3040b198d5a8b2b8744ba60aa97f57cefdeed5cf1574c010b933bb033c2 SHA512 0e5bfc2f04e44b7eb3b1aa44a77f0a5e40e0df5e80284cb4fca267ee224f44089f1d28d1486cf5748fbeb4bb8818159dcd019de9e1f24f016f06b05c5379f41c +DIST github.com-golang-net-6078986fec03a1dcc236c34816c71b0e05018fda.tar.gz 940111 BLAKE2B f1b2a50d9aa73a7aa8f20cff17247c0b555fc14d64bd75dd320d8df8166d7ed0b29bfa15021f5f8251e6c3a1909217bc6e4ba3208f2bb010789a9449ef3a2296 SHA512 24d4d72a1a502c1f4f9523d85dde6070a1a47ea72860a00eb64812acf27cadd22ca4422575b1a58b1b55e1997e8fe959b645d8810e2c128ab09c73f9e81c5f72 DIST github.com-golang-net-92b859f39abd2d91a854c9f9c4621b2f5054a92d.tar.gz 936723 BLAKE2B fc8519b7259939c1d3508515a39489b8b2efc19515deb5a62cba92be1e475c116f167c52e539d734b7793b5d31fbc1da6993c4ae68c4bd2af5eebcc34a0d4c73 SHA512 cc70a2c15032bb44ccc77251c83d19be5b2b66e68d43861c99d11ee156d565674d649f27989320472f8a6adff9e1098b93c1fa1f5bbc58055003dd239dc5b4ff DIST github.com-golang-protobuf-925541529c1fa6821df4e44ce2723319eb2be768.tar.gz 269739 BLAKE2B 8f2b6aa86390b6f5df1e8af249a5a7ad268006e8d5da72aab1c76a54acf7b4f9d365a0047ad65dc966b7e3fbb9667c544fa97c76e98db3749b2dd13889096569 SHA512 bb420871f20ab482d1ebefc0d9225d2acc890252cec3cb3ed02bbf4720d5733aaa39b78c9a7b72998be094a77148d121c3afc0c2811ddc3e728819e5d36963d4 DIST github.com-golang-protobuf-bbd03ef6da3a115852eaf24c8a1c46aeb39aa175.tar.gz 269721 BLAKE2B d79e88018bda589557af76bfc6751c130301a58274658a4eaede05c65e946a55aaf3e93c672387dad1e33355b828f806cb2a5d172a5c0c4a4e3f6ac67f01d080 SHA512 fc73beb6b112692a51bd7a20d44bfe14a61347b06dd789f99cff67ababa9699b9ff0643d85786f949ec819d05a6439fa7287c2ffd115e480e1599aac740aab77 +DIST github.com-golang-protobuf-e09c5db296004fbe3f74490e84dcd62c3c5ddb1b.tar.gz 269725 BLAKE2B a62a3f96c49d77776103a9bece69b615e00d4140c9de8b42fb7edac979c8a8d172bd21062d3d6e24ae01dba10b320ff208ff8c6916da2d84118da448afc8caf7 SHA512 f64fa42e7ed9701860e16b1cdedc9f6b029630b6f534ee403ede1223c0c7542c731735995ea9763f093b56146776902b6633e5b1691b1f1dd4ab84dea0092099 diff --git a/dev-util/drone/drone-0.8.5.ebuild b/dev-util/drone/drone-0.8.5.ebuild new file mode 100644 index 000000000000..acf6c6eba84f --- /dev/null +++ b/dev-util/drone/drone-0.8.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/drone/drone" +EGIT_COMMIT="81103a98208b0bfc76be5b07194f359fbc80183b" +EGO_VENDOR=( "github.com/drone/drone-ui 4d60e46e3938c277e90de404cc6236530beaab3d" + "github.com/golang/protobuf e09c5db296004fbe3f74490e84dcd62c3c5ddb1b" + "golang.org/x/net 6078986fec03a1dcc236c34816c71b0e05018fda 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 -v -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 -v -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 +} |