dev-util/crosutils: Drop the package

It contained some chromium version of flatcar scripts, from which we
were using the common.sh script in the cros-workon script (from the
now-removed coreos-base/cros-devutils package). It's not used any more
- we updated flatcar scripts to call into its internal copy of
cros-workon.
This commit is contained in:
Krzesimir Nowak 2021-08-20 19:21:34 +02:00
parent 96f039baf1
commit ee81b6b5eb
5 changed files with 0 additions and 81 deletions

View File

@ -18,7 +18,6 @@ RDEPEND="${RDEPEND}
app-admin/sudo
sys-apps/less
dev-embedded/u-boot-tools
dev-util/crosutils
!arm64? ( sys-boot/syslinux )
sys-devel/crossdev
sys-devel/sysroot-wrappers

View File

@ -22,5 +22,3 @@ fi
# outside the chroot.
export PS1="(cros-chroot) ${PS1}"
[[ -f /usr/share/crosutils/bash_completion ]] &&
. /usr/share/crosutils/bash_completion

View File

@ -1,38 +0,0 @@
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_COMMIT="c1fd42203b778dc7a4950a4422a01f839b84bc04"
CROS_WORKON_TREE="fac7e77188abf62a8c29d1aab875e6bc72d892b2"
CROS_WORKON_PROJECT="chromiumos/platform/crosutils"
CROS_WORKON_LOCALNAME="../scripts/"
inherit python-utils-r1 cros-workon
DESCRIPTION="Chromium OS build utilities"
HOMEPAGE="http://www.chromium.org/chromium-os"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm64"
IUSE=""
src_configure() {
find . -type l -exec rm {} \; &&
rm -fr WATCHLISTS inherit-review-settings-ok lib/shflags ||
die "Couldn't clean directory."
}
src_install() {
# Install package files
exeinto /usr/lib/crosutils
doexe * || die "Could not install shared files."
insinto "$(python_get_sitedir python2_7 PYTHON)"
doins lib/*.py || die "Could not install python files."
rm -f lib/*.py
# Install libraries
insinto /usr/lib/crosutils/lib
doins lib/* || die "Could not install library files"
}

View File

@ -1,36 +0,0 @@
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_PROJECT="chromiumos/platform/crosutils"
CROS_WORKON_LOCALNAME="../scripts/"
inherit python-utils-r1 cros-workon
DESCRIPTION="Chromium OS build utilities"
HOMEPAGE="http://www.chromium.org/chromium-os"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
src_configure() {
find . -type l -exec rm {} \; &&
rm -fr WATCHLISTS inherit-review-settings-ok lib/shflags ||
die "Couldn't clean directory."
}
src_install() {
# Install package files
exeinto /usr/lib/crosutils
doexe * || die "Could not install shared files."
insinto "$(python_get_sitedir python2_7 PYTHON)"
doins lib/*.py || die "Could not install python files."
rm -f lib/*.py
# Install libraries
insinto /usr/lib/crosutils/lib
doins lib/* || die "Could not install library files"
}

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>