Skip to content

Commit

Permalink
sys-apps/habitat: Initial version
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
mrueg committed Jul 20, 2017
1 parent e36a076 commit 7a64b17
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys-apps/habitat/Manifest
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions sys-apps/habitat/habitat-0.26.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
11 changes: 11 additions & 0 deletions sys-apps/habitat/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Manuel Rüger</name>
</maintainer>
<upstream>
<remote-id type="github">habitat-sh/habitat</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 7a64b17

Please sign in to comment.