diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-02-13 11:26:27 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-02-13 11:26:27 +0100 |
commit | 43dac99004dcb11bc1a31792ca19b09cc0faebe4 (patch) | |
tree | 86ec496cb09b7935475fee2737bffe23a373d204 /dev-util | |
parent | media-libs/audiofile: remove old (security cleanup) (diff) | |
download | gentoo-43dac99004dcb11bc1a31792ca19b09cc0faebe4.tar.gz gentoo-43dac99004dcb11bc1a31792ca19b09cc0faebe4.tar.bz2 gentoo-43dac99004dcb11bc1a31792ca19b09cc0faebe4.zip |
dev-util/drone: Update snapshot
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/drone/Manifest | 4 | ||||
-rw-r--r-- | dev-util/drone/drone-0.5.0_pre20170211.ebuild | 50 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index 7ec5295512a1..084de7be3971 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,4 +1,8 @@ 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-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 DIST golang-crypto-b8a2a83acfe6e6770b75de42d5ff4c67596675c0.tar.gz 1305240 SHA256 bf08d45a4cd85caf75687b18b9c92b205303c960ef9060377d47340502af0675 SHA512 2680e2bfad1822aaac9c1b3d9d878c4119b8a2b97f9f558b47904aecd276d7e4810bc5bdc0d709d67379db078e2b0a569366049dbd8335cd4de5bfa7c774669b WHIRLPOOL 5da969315e43b801ea7b91f517b4fc91bb0e623c68e4c1688ee1e958bfe0325f875e472dd02cb95f1d3ceb45b6eaba27cd236448b48593d39086fa1e77605cb0 DIST tidwall-redlog-54086c8553cd23aba652513a87d2b085ea961541.tar.gz 3771 SHA256 b88b43d5f4125e9768027f0c0a4c0e98aee8063792e503f8f62eca40a0cb0439 SHA512 08b373cfd61223e66b1762b54c2591cf1f9892d62a997169809ad68ed52886d12d07340e68cbb08c26f65eab0d8fe843a007cc0d2c63b75415752b87e85f99e7 WHIRLPOOL c651eb6d5f10f2891fa1f213b2f6850252218d11216f2c30ee3cb0bfa4daaaa7b68d07fa8863617ebdec058f44aeb66cb42741d3a9dcf5c1aa7fd8ae616def88 +DIST tidwall-redlog-550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz 3878 SHA256 6c273e68b08f55cc48c771ad7201bb2fcef95b7c20747ebb31940b8f14a49818 SHA512 8b59be3801310604062c557719a128d76493ee82b0c26fb9176c3bb77402ee2c735e18182055828397d4d3d64b98b6ac37aaf11d595ebfe52ecafe065e12f3d4 WHIRLPOOL 1446dfb2ef1b961a00af9d5cbdfcd91b838a4c832444e027bf9c897ecb71cd47909007f5270fb5785e7e7ab7556483a06c09fcef259208816d860f15f3955795 diff --git a/dev-util/drone/drone-0.5.0_pre20170211.ebuild b/dev-util/drone/drone-0.5.0_pre20170211.ebuild new file mode 100644 index 000000000000..d81175c18844 --- /dev/null +++ b/dev-util/drone/drone-0.5.0_pre20170211.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="89607232bcf21e18b7785d782839c3eafd1c5bb1" +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/* +} |