summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-06-26 23:24:50 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-06-26 23:25:09 +0200
commitefa85a615223237e80d221cf1d55dc2e39e91cb4 (patch)
treed12d73904277afb6010e1b43121773ee56b5641d /dev-util/drone
parentapp-admin/packagekit-base: Revision bump (bug #622104) (diff)
downloadgentoo-efa85a615223237e80d221cf1d55dc2e39e91cb4.tar.gz
gentoo-efa85a615223237e80d221cf1d55dc2e39e91cb4.tar.bz2
gentoo-efa85a615223237e80d221cf1d55dc2e39e91cb4.zip
dev-util/drone: Version bump to 0.7.3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest1
-rw-r--r--dev-util/drone/drone-0.7.3.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index f8a8ee7985c0..e291ae1459ec 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,3 +1,4 @@
DIST drone-0.7.1_p20170603.tar.gz 4131569 SHA256 a0941ec8131f5384b1eabd160de004861ba25c0a103b85a760e727d1bd9b5fdd SHA512 2348f70c41a86d7cb223549ca5215c07f693b3156f471e620db6569dae32b072ff63f5e7134aa644bf1826b450e8f7855aafde1eac44692724a522db2a62a5db WHIRLPOOL 8d552731ae1a2e5a28e4601771b5911aef7efba522b74bcfa043f74fb96a433392eb6d5a3f849b7fb10932093e81543ca27eaa14b4638f4e0b90dab606f3f7f4
DIST drone-0.7.2.tar.gz 4133002 SHA256 d1a326b7b4de20c101202ef89471744298ba11510c7bc8517e0256cf817f86a0 SHA512 ce49e9e6ba57ea0580186bf7038cc9f156bda2d974de3920a6cb953c4bd616467b3ba0fe397938f06c33adcf9df77686686dd76032f6eb6a69268b2df622b412 WHIRLPOOL a3cec86c2d1d3b52022c4e1647c5d3c15899ad80bac050dd9a5b872c6e78f5838042d8e4c25c93012de07f4181ee81780e1c97c0b3c12429042f30a2011fbf8d
+DIST drone-0.7.3.tar.gz 4133041 SHA256 997ce994fb852ffc0c98f20ba17d9ff458b396019207e923cd5863ec7599211e SHA512 4c85e964f43ce3076996cd1cbcfc3675d74b254278d046d1e7d4b7f04ee5fcc55a6de04947c3f8102be474e0ef3fbd5d0006ac2b39aae04fe2bc6b466b513c66 WHIRLPOOL 18cfc24df5735b11f767b0ec323f591e44b08192abb05eff3984ef6bd8ce3df548924fb69b9543cb3c92c3b26f3bddfdfd105ec4014ebe2bd5c2b420c7fe6c2f
DIST github.com-drone-drone-ui-2910d0ee662816a2463d31f0988b1ecccd0410b5.tar.gz 167172 SHA256 5817bfb4fe7546a492d840f7a42a0dc6ede1eeacfc735024276bb90fb1522b5d SHA512 d4c6fbeba9ae5c55533a76fdcf6c251516aa4f8c650f49add7e9392d22a131438bd829670df801495d361417ec12cce07e9d9c28aacd1ce1adc0024408cf3cca WHIRLPOOL f941daae3f12c96fd439680c5ca81ccbe3aea2b76b1e250ef009a0fe7883514909113b6c9ab923bcb05a5950dec9b57bd849bedb8767225f6eece583f4fe63de
diff --git a/dev-util/drone/drone-0.7.3.ebuild b/dev-util/drone/drone-0.7.3.ebuild
new file mode 100644
index 000000000000..e6bf0d86c01d
--- /dev/null
+++ b/dev-util/drone/drone-0.7.3.ebuild
@@ -0,0 +1,49 @@
+# 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="f604d592bc356fcade4aec67eba9b7fba8eed655"
+EGO_VENDOR=( "github.com/drone/drone-ui 2910d0ee662816a2463d31f0988b1ecccd0410b5" )
+
+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 install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${PV}.${EGIT_COMMIT:0:7}" ${EGO_PN}/drone || die
+ popd || die
+}
+
+src_install() {
+ newbin bin/drone drone-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.initd drone
+ newconfd "${FILESDIR}"/drone.confd drone
+ newinitd "${FILESDIR}"/drone-agent.initd drone-agent
+ newconfd "${FILESDIR}"/drone-agent.confd drone-agent
+}