summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-02-19 21:09:43 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-02-19 21:09:43 +0100
commit86d243dfc84dbae9d1fa3f39b8cb58a51f365e2e (patch)
treeeeccd2c013194ed7b938b0a8564ab819b3ad0b38
parentx11-wm/mutter: bump to 3.22.3 (diff)
downloadgentoo-86d243dfc84dbae9d1fa3f39b8cb58a51f365e2e.tar.gz
gentoo-86d243dfc84dbae9d1fa3f39b8cb58a51f365e2e.tar.bz2
gentoo-86d243dfc84dbae9d1fa3f39b8cb58a51f365e2e.zip
dev-util/drone: Update snapshot
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-util/drone/Manifest1
-rw-r--r--dev-util/drone/drone-0.5.0_pre20170219.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index 084de7be3971..740209233f47 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,5 +1,6 @@
DIST drone-0.5.0_pre20170120.tar.gz 3462980 SHA256 2c2c793682f9d1b1f0af44935ee89596c27909df44245080c57f9d1f07e6b948 SHA512 0c35e05dddea54b87241fc48064e844d02996f8dd161de1a929768e4c7419df465110b9bbc9e59392df04261d10d726332d364465bed7908e288a74c1979ef71 WHIRLPOOL a3a52e019c0059b124eb8e71c885e36ea159d99316185edce7feea6829395970263ba8d3c08addc51a8866a9b840911d41db066bb4613bcd57b138d53fd1babf
DIST drone-0.5.0_pre20170211.tar.gz 3463933 SHA256 d4994ea8b7789b79781559098d6959643063d841a375c8f441b0925669c2b963 SHA512 5c3458b57bff1ec8c3f3b7454de516595da35f7f6248244ac57e96e20b7b452b81933f2b9a72a6e2da81c85b25499a7428403604d0243807959abc44c011f30a WHIRLPOOL c849de35681f822a3d9577f601ab6e57ae491d52a0ddb32a3bb738854dd56581d13ab372ae579d7e38a1b93da26051259f4d2dbcfcfd65db7d49f3b67939d212
+DIST drone-0.5.0_pre20170219.tar.gz 3464339 SHA256 1305a568ceb1d76cc32c1ba5cf9802b41f8c8f63d8147ce59461fbb26579fc11 SHA512 4786998ec58c15503b3498ade072c52368ea758f97dd03625ad3ff5eb5797c4ac53b4f1761bde8c2c329058c4e9588606aa06fd0b62f3d2ef1401752ad741075 WHIRLPOOL ae30c37be27e4aa443294bbca40c78ea607a724684894b7150a84cacdef38176b9605816ef49ca9621245e867410d82f0c2a3b8bdefab40e7824b2aef6f00318
DIST drone-mq-1a62dafd7863c0e0b256edec7db73716a8e17dde.tar.gz 220608 SHA256 9c4785d6a2b3895d9cbd03ba05c82db0cf1dc680eeee2f7329e1488ff6e15cfa SHA512 24f0997e4977a99acb0b1ff0b2f270aca7eac647d4c449b8dd50207d228d15e0e5447503dc428e5806d12d5a8549fe413bd0fb6f7b9bb1953977a820bf2c11da WHIRLPOOL 9ad50c8ac623ca0dd9fd3197ff5f1e90acf9cd24d574a53e58c5da9b9ab8da233b32ac0811d187e74cfbb1e6a0fe0a54e9f64e64208dd2e056bfc3dc83731195
DIST drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz 220681 SHA256 0f66bacab16402acf335c423c82790757dc4ec66da84bf3fc500f0687835f722 SHA512 c5c4245d2369dccc9d917b6b5c87d73e50473ff8c9307521ff39dbbb3021833d00f47cdd3f6dc3485343602fc585276e29bf253c18a3e24f9b6f42290357a4a1 WHIRLPOOL 2010e1d1c0a4b6fd5583059a92d7a6ad68a35e915e4edcfb5b3c491f1439a3342ee3c47e01a6d5925a0a4e2407523783407e0767116cb47b3a29d9a60988bfe9
DIST golang-crypto-453249f01cfeb54c3d549ddb75ff152ca243f9d8.tar.gz 1305950 SHA256 cb376694f8e583a3ed25111ee0ab1d6c16d28f5cfb2c4a5850c1b193bd81dbed SHA512 60b6aa64e7e671ec6a732021f0022580b95002ebd9c89876be5935342c561739b388a77d7e5ff70625e0933c4f4c4fa3d1c1ccf5e4532f44538035c945acb606 WHIRLPOOL 722e02458be59220c73235e0b508b1f54d513fc0819de189cbcf762b8b8ccac4a1a7bde1d003296aa475feec1ab26c5705c1a9fccbf6ca046cba3984175486fd
diff --git a/dev-util/drone/drone-0.5.0_pre20170219.ebuild b/dev-util/drone/drone-0.5.0_pre20170219.ebuild
new file mode 100644
index 000000000000..14350c78c037
--- /dev/null
+++ b/dev-util/drone/drone-0.5.0_pre20170219.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/drone/drone/..."
+EGIT_COMMIT="99eb89be1ccc06eccb489083f66398d653e448b2"
+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}
+ https://github.com/drone/mq/archive/280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz -> drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz
+ https://github.com/tidwall/redlog/archive/550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz -> tidwall-redlog-550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz
+ https://github.com/golang/crypto/archive/453249f01cfeb54c3d549ddb75ff152ca243f9d8.tar.gz -> golang-crypto-453249f01cfeb54c3d549ddb75ff152ca243f9d8.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-go/go-bindata
+ dev-go/go-bindata-assetfs:=
+ dev-util/drone-ui:="
+
+_golang-include-src() {
+ local VENDORPN=$1 TARBALL=$2
+ mkdir -p "${WORKDIR}/${P}/src/${VENDORPN}" || die
+ tar -C "${WORKDIR}/${P}/src/${VENDORPN}" -x --strip-components 1\
+ -f "${DISTDIR}"/${TARBALL} || die
+}
+
+src_unpack() {
+ golang-vcs-snapshot_src_unpack
+ _golang-include-src github.com/drone/mq drone-mq-*.tar.gz
+ _golang-include-src github.com/tidwall/redlog tidwall-redlog-*.tar.gz
+ _golang-include-src golang.org/x/crypto golang-crypto-*.tar.gz
+}
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/github.com/drone/drone gen || die
+ pushd src || die
+ DRONE_BUILD_NUMBER="${EGIT_COMMIT:0:7}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\
+ go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=${EGIT_COMMIT:0:7}" github.com/drone/drone/drone || die
+ popd || die
+}
+
+src_install() {
+ dobin bin/*
+}