williamh 15/07/08 17:40:33 Modified: consul-template-9999.ebuild ChangeLog Added: consul-template-0.9.0-r1.ebuild Log: Add slot dependency on dev-lang/go (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Revision Changes Path 1.2 app-admin/consul-template/consul-template-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/consul-template-9999.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/consul-template-9999.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/consul-template-9999.ebuild?r1=1.1&r2=1.2 Index: consul-template-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/consul-template/consul-template-9999.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- consul-template-9999.ebuild 26 May 2015 03:54:54 -0000 1.1 +++ consul-template-9999.ebuild 8 Jul 2015 17:40:33 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/consul-template/consul-template-9999.ebuild,v 1.1 2015/05/26 03:54:54 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/consul-template/consul-template-9999.ebuild,v 1.2 2015/07/08 17:40:33 williamh Exp $ EAPI=5 @@ -15,7 +15,7 @@ SLOT="0" IUSE="test" -DEPEND=">=dev-lang/go-1.4 +DEPEND=">=dev-lang/go-1.4:= test? ( dev-go/go-tools ) app-admin/consul app-admin/vault" 1.3 app-admin/consul-template/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/ChangeLog?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/ChangeLog?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/ChangeLog?r1=1.2&r2=1.3 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/consul-template/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ChangeLog 5 Jun 2015 11:36:19 -0000 1.2 +++ ChangeLog 8 Jul 2015 17:40:33 -0000 1.3 @@ -1,6 +1,12 @@ # ChangeLog for app-admin/consul-template # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/consul-template/ChangeLog,v 1.2 2015/06/05 11:36:19 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/consul-template/ChangeLog,v 1.3 2015/07/08 17:40:33 williamh Exp $ + +*consul-template-0.9.0-r1 (08 Jul 2015) + + 08 Jul 2015; William Hubbs <willi...@gentoo.org> + +consul-template-0.9.0-r1.ebuild, consul-template-9999.ebuild: + Add slot dependency on dev-lang/go 05 Jun 2015; Justin Lecher <j...@gentoo.org> metadata.xml: Add github to remote-id in metadata.xml 1.1 app-admin/consul-template/consul-template-0.9.0-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/consul-template-0.9.0-r1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/consul-template/consul-template-0.9.0-r1.ebuild?rev=1.1&content-type=text/plain Index: consul-template-0.9.0-r1.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/consul-template/consul-template-0.9.0-r1.ebuild,v 1.1 2015/07/08 17:40:33 williamh Exp $ EAPI=5 inherit systemd user KEYWORDS="~amd64" DESCRIPTION="Generic template rendering and notifications with Consul" GO_PN="github.com/hashicorp/${PN}" HOMEPAGE="http://${GO_PN}" LICENSE="MPL-2.0" SLOT="0" IUSE="test" DEPEND=">=dev-lang/go-1.4:= test? ( dev-go/go-tools ) app-admin/consul app-admin/vault" RDEPEND="" SRC_URI="https://${GO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/hashicorp/go-multierror/archive/fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz -> go-multierror-fcdddc395df1ddf4247c69bd436e84cfa0733f7e.tar.gz https://github.com/armon/go-radix/archive/0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz -> go-radix-0bab926c3433cfd6490c6d3c504a7b471362390c.tar.gz https://github.com/hashicorp/errwrap/archive/7554cd9344cec97297fa6649b055a8c98c2a1e55.tar.gz -> errwrap-7554cd9344cec97297fa6649b055a8c98c2a1e55.tar.gz https://github.com/armon/go-metrics/archive/a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz -> go-metrics-a54701ebec11868993bc198c3f315353e9de2ed6.tar.gz https://github.com/hashicorp/go-msgpack/archive/71c2886f5a673a35f909803f38ece5810165097b.tar.gz -> go-msgpack-71c2886f5a673a35f909803f38ece5810165097b.tar.gz https://github.com/hashicorp/go-syslog/archive/42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz -> go-syslog-42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz https://github.com/hashicorp/golang-lru/archive/995efda3e073b6946b175ed93901d729ad47466a.tar.gz -> golang-lru-995efda3e073b6946b175ed93901d729ad47466a.tar.gz https://github.com/hashicorp/hcl/archive/513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz -> hcl-513e04c400ee2e81e97f5e011c08fb42c6f69b84.tar.gz https://github.com/hashicorp/logutils/archive/367a65d59043b4f846d179341d138f01f988c186.tar.gz -> logutils-367a65d59043b4f846d179341d138f01f988c186.tar.gz https://github.com/mitchellh/copystructure/archive/6fc66267e9da7d155a9d3bd489e00dad02666dc6.tar.gz -> copystructure-6fc66267e9da7d155a9d3bd489e00dad02666dc6.tar.gz https://github.com/mitchellh/mapstructure/archive/442e588f213303bec7936deba67901f8fc8f18b1.tar.gz -> mapstructure-442e588f213303bec7936deba67901f8fc8f18b1.tar.gz https://github.com/mitchellh/reflectwalk/archive/242be0c275dedfba00a616563e6db75ab8f279ec.tar.gz -> reflectwalk-242be0c275dedfba00a616563e6db75ab8f279ec.tar.gz https://github.com/samuel/go-zookeeper/archive/d0e0d8e11f318e000a8cc434616d69e329edc374.tar.gz -> go-zookeeper-d0e0d8e11f318e000a8cc434616d69e329edc374.tar.gz" STRIP_MASK="*.a" S="${WORKDIR}/src/${GO_PN}" pkg_setup() { enewgroup ${PN} enewuser ${PN} -1 -1 -1 ${PN} } get_archive_go_package() { local archive=${1} uri x for x in ${SRC_URI}; do if [[ ${x} == http* ]]; then uri=${x} elif [[ ${x} == ${archive} ]]; then break fi done uri=${uri#https://} echo ${uri%/archive/*} } unpack_go_packages() { local go_package x # Unpack packages to appropriate locations for GOPATH for x in ${A}; do unpack ${x} go_package=$(get_archive_go_package ${x}) mkdir -p src/${go_package%/*} mv ${go_package##*/}-* src/${go_package} || die done } src_unpack() { unpack_go_packages export GOPATH=${WORKDIR} } src_prepare() { sed -e 's|build: deps|build:|' -e 's|test: deps|test:|' \ -i Makefile || die # Disable tests that fail under network-sandbox sed -e 's:TestRun_onceFlag(:_\0:' -i cli_test.go || die sed -e 's:TestRunner_quiescence(:_\0:' -i runner_test.go || die } src_compile() { emake build } src_install() { local x dobin bin/${PN} dodoc README.md keepdir /var/log/${PN} fowners ${PN}:${PN} /var/log/${PN} newinitd "${FILESDIR}/${PN}.initd" "${PN}" newconfd "${FILESDIR}/${PN}.confd" "${PN}" systemd_dounit "${FILESDIR}/${PN}.service" keepdir /etc/${PN}.d insinto /etc/${PN}.d doins "${FILESDIR}/"*.json.example }