diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-09-13 13:10:00 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-09-13 13:10:00 +0200 |
commit | 9fd598cdc0713b080dbab46e4129b0d11d70e91c (patch) | |
tree | a27cc00055dd8ef0672dfb66facd0667b29d6352 /dev-util/drone | |
parent | profiles/prefix/linux/make.defaults: remove multilib-strict from FEATURES (diff) | |
download | gentoo-9fd598cdc0713b080dbab46e4129b0d11d70e91c.tar.gz gentoo-9fd598cdc0713b080dbab46e4129b0d11d70e91c.tar.bz2 gentoo-9fd598cdc0713b080dbab46e4129b0d11d70e91c.zip |
dev-util/drone: Version bump to 0.8.0_rc5
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 1 | ||||
-rw-r--r-- | dev-util/drone/drone-0.8.0_rc5.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index fc3f887198cd..9267f15036f5 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,6 +1,7 @@ DIST drone-0.7.3.tar.gz 4133041 SHA256 997ce994fb852ffc0c98f20ba17d9ff458b396019207e923cd5863ec7599211e SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 WHIRLPOOL 18cfc24df5735b11f767b0ec323f591e44b08192abb05eff3984ef6bd8ce3df548924fb69b9543cb3c92c3b26f3bddfdfd105ec4014ebe2bd5c2b420c7fe6c2f DIST drone-0.8.0_rc3.tar.gz 4307047 SHA256 833983a3b6fef4c3363858b8d6bc7b712aea3035d6fc83ca1b8a8923b469753f SHA512 11d211edc6243a7d39992638282193d6fa5e07c6ba67f92fb27002b3a8787a4a338e0c0208ffb2283da5c4e2995b868842754b7051837d4090d14acf1c499d25 WHIRLPOOL 0b03682d6e03771be4a1ff1a3160ec629acb671e1388e50d6daed3de9b85f08e4a908db092b39ec7f641d88742d94631e28658e7feaf54afe4442bc1fe69c5b4 DIST drone-0.8.0_rc4.tar.gz 4556256 SHA256 81b3b428c677f573ed231db5596ddb5640c9d78fffdf579b1aedc9fc684c60d6 SHA512 7d7fee73aa9a1b0c0f02b013f5288494b6d078af4c30159c5109ce6714d5668249c897abdf0a8f348e0bed527aa5c8256348a5acbd010cabe47a50c3aa3bfc8c WHIRLPOOL 260b6021dc03673e5383ca42e269b8a6c6b02e1353a403e9612d71aaae9455b2aa92ab78b3d40e56af16e6f78a898ceb3d975eac84a4f83bfd2599bfec9542f9 +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-cd57afd5f7873e5fe0db2cd1b817588f87c8937a.tar.gz 450074 SHA256 c0a1c80abb6893820c57395d6d289d820b95cc66871da566010ee1cc96a5076d SHA512 8b1eaac476cb8cb1116bec4e5422696e3d3c8ff3e5fe7c3c06b388798ca97da56c735ae1476a1c36cb811a9b4e62876dface679df1066cb5febeecc5f85634af WHIRLPOOL 2ec97538ec48cfc511a7e0553faa2c02e501f9e50190c0b896941896ffda2d359e64303ccc50aa1d6c638d0424b28fb9f4d8c57543d2d22183778a8a58d9c2a4 diff --git a/dev-util/drone/drone-0.8.0_rc5.ebuild b/dev-util/drone/drone-0.8.0_rc5.ebuild new file mode 100644 index 000000000000..3f4c7e981590 --- /dev/null +++ b/dev-util/drone/drone-0.8.0_rc5.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="538f25683450489a96808bc11cb5400c1939ac82" +EGO_VENDOR=( "github.com/drone/drone-ui 73adc4cc5cee2e715caf508a5473965287448712" + "github.com/golang/protobuf 17ce1425424ab154092bbb43af630bd647f3bb0d" + "golang.org/x/net 66aacef3dd8a676686c7ae3716979581e8b03c47 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 +} |