blob: 896fe5f3582482a4e7ab2de5efcc591960eb0ce3 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
EAPI=4
CROS_WORKON_COMMIT="a347ff3009f6c094a083aed818321d11b656999d"
CROS_WORKON_TREE="b0b5196da7c5573503da45efa609f8e85d9a1ee9"
PYTHON_DEPEND="2"
CROS_WORKON_PROJECT="chromiumos/third_party/u-boot"
CROS_WORKON_LOCALNAME="u-boot"
CROS_WORKON_SUBDIR="files/tools/patman"
inherit cros-workon distutils
DESCRIPTION="Patman tool (from U-Boot) for sending patches upstream"
HOMEPAGE="http://www.denx.de/wiki/U-Boot"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-python/setuptools"
RDEPEND=""
src_prepare() {
rm patman
cp "${FILESDIR}/setup.py" .
touch __init__.py
distutils_src_prepare
}
src_install() {
dobin "${FILESDIR}/patman"
distutils_src_install
}