diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-05-27 05:19:21 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-05-27 05:19:21 +0000 |
commit | 0faac6effe943eb51aa4a7d5a3d6b234fa66d3fc (patch) | |
tree | a2e97231c7d58f43a739825da3cc5711411155b3 /app-admin | |
parent | Version bump. (diff) | |
download | gentoo-2-0faac6effe943eb51aa4a7d5a3d6b234fa66d3fc.tar.gz gentoo-2-0faac6effe943eb51aa4a7d5a3d6b234fa66d3fc.tar.bz2 gentoo-2-0faac6effe943eb51aa4a7d5a3d6b234fa66d3fc.zip |
Add test? ( dev-go/go-tools ) dep for 'go vet' and enable tests.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/fleet/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/fleet/fleet-0.10.1-r1.ebuild | 54 | ||||
-rw-r--r-- | app-admin/fleet/fleet-9999.ebuild | 8 |
3 files changed, 65 insertions, 5 deletions
diff --git a/app-admin/fleet/ChangeLog b/app-admin/fleet/ChangeLog index 0caf14dce9ca..8e7d5b692f45 100644 --- a/app-admin/fleet/ChangeLog +++ b/app-admin/fleet/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/fleet # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/ChangeLog,v 1.18 2015/05/02 15:56:46 alunduil Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/ChangeLog,v 1.19 2015/05/27 05:19:21 zmedico Exp $ + +*fleet-0.10.1-r1 (27 May 2015) + + 27 May 2015; Zac Medico <zmedico@gentoo.org> +fleet-0.10.1-r1.ebuild, + fleet-9999.ebuild: + Add test? ( dev-go/go-tools ) dep for 'go vet' and enable tests. 02 May 2015; Alex Brandt <alunduil@gentoo.org> fleet-9999.ebuild: land changes from 0.10.1 onto 9999 diff --git a/app-admin/fleet/fleet-0.10.1-r1.ebuild b/app-admin/fleet/fleet-0.10.1-r1.ebuild new file mode 100644 index 000000000000..d2fb0f12a8c9 --- /dev/null +++ b/app-admin/fleet/fleet-0.10.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-0.10.1-r1.ebuild,v 1.1 2015/05/27 05:19:21 zmedico Exp $ + +EAPI=5 + +inherit systemd vcs-snapshot + +DESCRIPTION="A Distributed init System" +HOMEPAGE="https://github.com/coreos/fleet" +SRC_URI="https://github.com/coreos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples test" + +DEPEND=">=dev-lang/go-1.3 + test? ( dev-go/go-tools )" +RDEPEND="" + +src_compile() { + ./build || die 'Build failed' +} + +src_test() { + ./test || die 'Tests failed' +} + +src_install() { + dobin "${S}"/bin/fleetd + dobin "${S}"/bin/fleetctl + + systemd_dounit "${FILESDIR}"/fleet.service + systemd_dounit "${FILESDIR}"/fleet.socket + + dodoc README.md + use doc && dodoc -r Documentation + use examples && dodoc -r examples + + keepdir /etc/${PN} + insinto /etc/${PN} + newins "${PN}".conf.sample "${PN}".conf +} + +pkg_postinst() { + ewarn "Please read this if you are upgrading from a version <0.10.0-r1." + ewarn "" + ewarn "Starting with fleet 0.10 the fleetctl utility has" + ewarn "'--endpoint=unix:///var/run/fleet.sock' as default argument, which is" + ewarn "why we have introduced the fleet.socket unit and renamed the service" + ewarn "from fleetd.service to fleet.service. If you run fleet on system" + ewarn "startup, please re-enable it via 'systemctl enable fleet'." +} diff --git a/app-admin/fleet/fleet-9999.ebuild b/app-admin/fleet/fleet-9999.ebuild index 8b4d028df78e..e2a0f626a824 100644 --- a/app-admin/fleet/fleet-9999.ebuild +++ b/app-admin/fleet/fleet-9999.ebuild @@ -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/fleet/fleet-9999.ebuild,v 1.6 2015/05/02 15:56:46 alunduil Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/fleet/fleet-9999.ebuild,v 1.7 2015/05/27 05:19:21 zmedico Exp $ EAPI=5 @@ -15,16 +15,16 @@ SRC_URI="" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="doc examples" +IUSE="doc examples test" -DEPEND=">=dev-lang/go-1.3" +DEPEND=">=dev-lang/go-1.3 + test? ( dev-go/go-tools )" RDEPEND="" src_compile() { ./build || die 'Build failed' } -RESTRICT="test" # Tests fail due to Gentoo bug #500452 src_test() { ./test || die 'Tests failed' } |