feat(app-emulation/docker): cros-workon'ify

Use the symlink and -9999 pattern. This pull from crosbymichael's WIP
0.11.0 release branch but will make it easy to bump once the final
release is in.
This commit is contained in:
Brandon Philips 2014-05-07 09:48:44 -07:00
parent 0758a718b0
commit e094f65e4d
2 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1 @@
docker-9999.ebuild

View File

@ -7,7 +7,11 @@ EAPI=5
DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level." DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level."
HOMEPAGE="https://www.docker.io/" HOMEPAGE="https://www.docker.io/"
GITHUB_URI="github.com/dotcloud/docker" CROS_WORKON_PROJECT="crosbymichael/docker"
CROS_WORKON_LOCALNAME="docker"
CROS_WORKON_REPO="git://github.com"
GITHUB_URI="github.com/crosbymichael/docker"
if [[ ${PV} == *9999 ]]; then if [[ ${PV} == *9999 ]]; then
SRC_URI="" SRC_URI=""
@ -15,13 +19,13 @@ if [[ ${PV} == *9999 ]]; then
inherit git-2 inherit git-2
KEYWORDS="" KEYWORDS=""
else else
SRC_URI="https://${GITHUB_URI}/archive/v${PV}.zip -> ${P}.zip" CROS_WORKON_COMMIT="78e702ab56a54750882cef1838ed74b1a84583a2"
DOCKER_GITCOMMIT="dc9c28f" DOCKER_GITCOMMIT="78e702a"
KEYWORDS="amd64" KEYWORDS="amd64"
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!" [ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
fi fi
inherit bash-completion-r1 linux-info systemd udev user inherit bash-completion-r1 linux-info systemd udev user cros-workon
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"