diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-08-01 23:42:45 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-08-01 23:42:45 +0200 |
commit | cea8ab68fed3de3aead747f5893ded6304c0b3f2 (patch) | |
tree | dffd0818777bfbc135c9560322f3555264a2b156 /dev-util/drone | |
parent | app-misc/fsniper: clean up old. (diff) | |
download | gentoo-cea8ab68fed3de3aead747f5893ded6304c0b3f2.tar.gz gentoo-cea8ab68fed3de3aead747f5893ded6304c0b3f2.tar.bz2 gentoo-cea8ab68fed3de3aead747f5893ded6304c0b3f2.zip |
dev-util/drone: Version bump to 0.8.0_rc3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 4 | ||||
-rw-r--r-- | dev-util/drone/drone-0.8.0_rc3.ebuild | 51 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index 3807415014a2..a7590f40fcbe 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,8 +1,12 @@ DIST drone-0.7.3.tar.gz 4133041 SHA256 997ce994fb852ffc0c98f20ba17d9ff458b396019207e923cd5863ec7599211e SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 WHIRLPOOL 18cfc24df5735b11f767b0ec323f591e44b08192abb05eff3984ef6bd8ce3df548924fb69b9543cb3c92c3b26f3bddfdfd105ec4014ebe2bd5c2b420c7fe6c2f DIST drone-0.8.0_rc1.tar.gz 3961594 SHA256 20bb7a178faf5a883dfdae1714f5b210b818e906bba405cfd6bc1a7beefc26d1 SHA512 2c0cb2a8ee94deab7088f1994a47737004ec11f3fe160ebc0fd18cb1db7ce4a58404749433aad3fca6f03638d870786611f4b165140aa5786f837f5c9bd159bf WHIRLPOOL 8aa5b00035fb9ff03156fc0a660ae0b0749e13836d5cf3b716b52f2638feaef85a7c371187f1013e42eaf56969bcf16861bf022ac062b89b8da642459dd7ae54 DIST drone-0.8.0_rc2.tar.gz 4287492 SHA256 da75c269634c221ae9554f4844668effe2b97cdd0ce801e4cf5b27507063b41b SHA512 9ea651a6846fc720ed252efe0883fbb8f1e1aaf428512c3e992d6159bde2e22db343aefda4aa203fcb85972ca56a7425123e176d6f1c5c0ce1746405ece21cfb WHIRLPOOL 6fabca777e7ead104c4c376f61507bd70a6fc2b60e9d7b2d2c76f6eff9a4f65ae62aeab65b5c8e30b061f5f036fc38a8558b52dcbc4e6b64b00c153cf8158402 +DIST drone-0.8.0_rc3.tar.gz 4307047 SHA256 833983a3b6fef4c3363858b8d6bc7b712aea3035d6fc83ca1b8a8923b469753f SHA512 11d211edc6243a7d39992638282193d6fa5e07c6ba67f92fb27002b3a8787a4a338e0c0208ffb2283da5c4e2995b868842754b7051837d4090d14acf1c499d25 WHIRLPOOL 0b03682d6e03771be4a1ff1a3160ec629acb671e1388e50d6daed3de9b85f08e4a908db092b39ec7f641d88742d94631e28658e7feaf54afe4442bc1fe69c5b4 DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de DIST github.com-drone-drone-ui-2b88ed1713f15e295b11b90d64b270ac23ff40a8.tar.gz 484206 SHA256 bd3c28958bb0222628a341aaf701806ee10b5634c8179f77add4a03093838648 SHA512 1be1a2b170786a75c3ded5864dd8d253f8cd49a1473a73c54dceb2e49055840c980288352863a083762cd4e75c950d298668d3c55de2211c3b3340b0e45af851 WHIRLPOOL 470529281925efe6adfa6acc06a9d38f9c5f57f817a0f96e89e8390b61c1ebe8afaa361e0d5868d8a6ffc0a99970562ce868f82844f7c0bbebd6d2daf745e504 DIST github.com-drone-drone-ui-4fbdb1a34a3fab8fa0d67507f62d5725fe73c298.tar.gz 481923 SHA256 3f577b743c8b78f136a53bf4638cb38aaea690800033c4de3650145ce21f5a94 SHA512 1650d97bdc6b2754451e98b89637e327403884ce3a362018ac6e454ddc361530524bc12df865c6d1025bd72194550e8b1ca9f6e2bcee92aabf52232cd411d50f WHIRLPOOL 1222004502f3797ebbf41d572851fe4cead5c4d4ec09e6b26d60ed6e5dee19761ad1bb22acd55996f2010dc574318b2b875f67dd3d8a4aa739f4d112bcc76746 +DIST github.com-drone-drone-ui-cd57afd5f7873e5fe0db2cd1b817588f87c8937a.tar.gz 450074 SHA256 c0a1c80abb6893820c57395d6d289d820b95cc66871da566010ee1cc96a5076d SHA512 8b1eaac476cb8cb1116bec4e5422696e3d3c8ff3e5fe7c3c06b388798ca97da56c735ae1476a1c36cb811a9b4e62876dface679df1066cb5febeecc5f85634af WHIRLPOOL 2ec97538ec48cfc511a7e0553faa2c02e501f9e50190c0b896941896ffda2d359e64303ccc50aa1d6c638d0424b28fb9f4d8c57543d2d22183778a8a58d9c2a4 DIST github.com-golang-net-ab5485076ff3407ad2d02db054635913f017b0ed.tar.gz 912826 SHA256 cfd39e1a0a94e10fc01b1cca6f5c1016440baf466562053093916d3fbbab2843 SHA512 ff98b6ce2d6177640cce91f1059c220b450935f2e6dcca83f3a8d7e9f7745593c765233d3a4b1ac42f7ffe72cd3e98c33f3c8cefc7c54f423233433f0958691b WHIRLPOOL 9e0690a795581f570b073477d3f6e46324d4b569c263e20bdb89af857568e83c6692ad73157ac439f3994e2c1ffb1b5a9e5dc7ae5b3decd41603c428f050b1b4 +DIST github.com-golang-net-f5079bd7f6f74e23c4d65efa0f4ce14cbd6a3c0f.tar.gz 913170 SHA256 9131ee3d49925960732127c18c079e52e7fc3a02361f8efaef3177481fa66e38 SHA512 8864831de84b48e899386adb7cd0b6a7db45f38700e8fc27da6798859e33fef5625e05a5342fbdd7d7f93cf62440b9051acbbc8ab4c498a3ecc1cd4ca27b633d WHIRLPOOL c04afe7a817ee0813b36be73e6d42eff98ae3e5a132bf7051457cd8d52402f04c1c0cc96da20c7fdb715a4646f4601b938de2a8b024b7146dfeec75f5a4e55fb DIST github.com-golang-protobuf-0a4f71a498b7c4812f64969510bcb4eca251e33a.tar.gz 253438 SHA256 6da84e9a2fc14512377268c2dafd3c17ae88278fa12cc1f2055042841806cde4 SHA512 011bc5a799f239c22733931f5b994578a99ecdb2939a59ce65674bfd8c5e0370ff1a9a4cb6fcaa3896e6afc7762f6862472e3925263efa719362ba2a2a4bf12e WHIRLPOOL 16080afe973bf7d0f44707668ee16b9c11bbce81c3f4eed1dc62de702c3ab3c6fa9cb368d8e7c4e5dd07e3f6d41c92665b840ce45a647134de3a5672a0ee1800 +DIST github.com-golang-protobuf-748d386b5c1ea99658fd69fe9f03991ce86a90c1.tar.gz 253562 SHA256 63d146172b61f33700c03d00753e566697c539031c71daa2545f0ba49b0d412c SHA512 123271536062bee3d268fb54ff108cf914b116b2db9b3372835e0d588db3acd9045ed58e83dc07d7def6c696aa68565cfd7df9eb39210bf197a9d6acf5cc0a65 WHIRLPOOL 56edfde2359def430e7f2a248352963d41831651c0d89e2c0fa0214ef541eaf28f5f35a0318c788e9953d2efcedc9f64c02e3df6e84606ffb9598742165e0e5a diff --git a/dev-util/drone/drone-0.8.0_rc3.ebuild b/dev-util/drone/drone-0.8.0_rc3.ebuild new file mode 100644 index 000000000000..67e7c85f885d --- /dev/null +++ b/dev-util/drone/drone-0.8.0_rc3.ebuild @@ -0,0 +1,51 @@ +# 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="dba37018f4d97cc9bd3edf99664ce71efe094d3a" +EGO_VENDOR=( "github.com/drone/drone-ui cd57afd5f7873e5fe0db2cd1b817588f87c8937a" + "github.com/golang/protobuf 748d386b5c1ea99658fd69fe9f03991ce86a90c1" + "golang.org/x/net f5079bd7f6f74e23c4d65efa0f4ce14cbd6a3c0f 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 +} |