From e094f65e4daf67e0df7086a8b7fd67f48c28e47b Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Wed, 7 May 2014 09:48:44 -0700 Subject: [PATCH] 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. --- .../app-emulation/docker/docker-0.11.0.ebuild | 1 + .../{docker-0.10.0.ebuild => docker-9999.ebuild} | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 120000 sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.0.ebuild rename sdk_container/src/third_party/coreos-overlay/app-emulation/docker/{docker-0.10.0.ebuild => docker-9999.ebuild} (93%) diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.0.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.0.ebuild new file mode 120000 index 0000000000..5316ba320c --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.11.0.ebuild @@ -0,0 +1 @@ +docker-9999.ebuild \ No newline at end of file diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.10.0.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-9999.ebuild similarity index 93% rename from sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.10.0.ebuild rename to sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-9999.ebuild index 8273ffdf5a..3728b47193 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-0.10.0.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/docker/docker-9999.ebuild @@ -7,7 +7,11 @@ EAPI=5 DESCRIPTION="Docker complements kernel namespacing with a high-level API which operates at the process level." 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 SRC_URI="" @@ -15,13 +19,13 @@ if [[ ${PV} == *9999 ]]; then inherit git-2 KEYWORDS="" else - SRC_URI="https://${GITHUB_URI}/archive/v${PV}.zip -> ${P}.zip" - DOCKER_GITCOMMIT="dc9c28f" + CROS_WORKON_COMMIT="78e702ab56a54750882cef1838ed74b1a84583a2" + DOCKER_GITCOMMIT="78e702a" KEYWORDS="amd64" [ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!" 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" SLOT="0"