diff options
-rw-r--r-- | sys-apps/habitat/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/habitat/habitat-0.26.1.ebuild | 33 | ||||
-rw-r--r-- | sys-apps/habitat/metadata.xml | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/sys-apps/habitat/Manifest b/sys-apps/habitat/Manifest new file mode 100644 index 00000000000..a96bb2d7d5b --- /dev/null +++ b/sys-apps/habitat/Manifest @@ -0,0 +1,2 @@ +DIST habitat-0.26.1.tar.gz 25110054 SHA256 cc6ec658462486c27422630b0147f86d8684ed43157854fd54d820bf981899d8 SHA512 56d8f634ea7465f7e4b19ab34b8f5b5d25ed0252b61a438d9d74a5fc130ca216c65d5e69fb56f28eb8cf034512128340fcc3d35d86b9549c31001289f9b6eba1 WHIRLPOOL 66b2ec6a90f603615297d738449823e0289bd55672610a85b3d7141c1db06bc9912d64a12da7d1a7f793c06ac94f5c4fb19f854c2c22741471691259bae69cab +DIST habitat-cargo-0.26.1.tar.xz 85492808 SHA256 2f532f8a829767318f93f02ec66f4998655b6ce6dd20a7e705c27029216c04dd SHA512 08e92f6995f220a7f48f86e2425e3bbcf9b988f34fcff42211427d0b66071e006748ac67a762d15d3e99e30438e528bfd66951b4d88d7a9ea84713718eed2293 WHIRLPOOL f82f7e57973d14f9f9a9b131a0947965e6fa72ec7931df93c19a356293d16ec4f49fbcc300f5fbc6c7183b7f21f4b15e73ebe64a3f67a32a03caf902c4ed7ec0 diff --git a/sys-apps/habitat/habitat-0.26.1.ebuild b/sys-apps/habitat/habitat-0.26.1.ebuild new file mode 100644 index 00000000000..e03935ad288 --- /dev/null +++ b/sys-apps/habitat/habitat-0.26.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Application automation framework" +HOMEPAGE="https://github.com/habitat-sh/habitat https://habitat.sh" +SRC_URI="https://github.com/habitat-sh/habitat/archive/${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~mrueg/files/${PN}-cargo-${PV}.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-util/cargo + >=dev-lang/rust-1.11" + +RESTRICT="test" + +src_prepare() { + default + # move cache dir where cargo expects it + mv ../.cargo "${HOME}" || die +} + +src_install() { + dodoc README.md CHANGELOG.md + dobin target/debug/hab{,-butterfly,-sup} +} + +src_test() { + emake unit-all +} diff --git a/sys-apps/habitat/metadata.xml b/sys-apps/habitat/metadata.xml new file mode 100644 index 00000000000..67159d96588 --- /dev/null +++ b/sys-apps/habitat/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel RĂ¼ger</name> + </maintainer> + <upstream> + <remote-id type="github">habitat-sh/habitat</remote-id> + </upstream> +</pkgmetadata> |